Re: [streaming] How to play rtp h264 stream with vlc.
"王玮" <[email protected]> Thu, 11 Dec 2008 09:23:48 +0800
| Newsgroups | gmane.comp.video.videolan.vls.general |
|---|---|
| Message-ID | <[email protected]> |
i don't know how to get sdp information, the server don't give a sdp file. in live555.cpp sdp file is a object of MediaSubsession and sub->fmtp_spropparametersets() is the function of get the information, but i've no idea about how to get it without MediaSubsession 2008/12/4 Rémi Denis-Courmont <[email protected]> > On Thu, 4 Dec 2008 16:50:18 +0800, "王玮" <[email protected]> wrote: > > 2. add function h264_init > > static void *h264_init (demux_t *demux) > > { > > es_format_t fmt; > > > > es_format_Init (&fmt, VIDEO_ES, VLC_FOURCC ('h', '2', '6', '4')); > > return codec_init (demux, &fmt); > > } > > i also changed function es_format_Init with fmt->b_packetized = > > false; > > This is unlikely to work for h264. Normally, additional stream-specific > informations are needed, which are usually found in the SDP a=fmtp line. > Did you compare with what modules/demux/live555.c was doing? > > -- > Rémi Denis-Courmont > > _______________________________________________ streaming mailing list To unsubscribe or modify your subscription options: http://mailman.videolan.org/listinfo/streaming