[streaming] How to play rtp h264 stream with vlc.
王玮
claritywong at gmail.com
Thu Dec 11 02:23:48 CET 2008
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 <rdenis at simphalempin.com>
> On Thu, 4 Dec 2008 16:50:18 +0800, "王玮" <claritywong at gmail.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20081211/ac9a5daf/attachment.htm
More information about the streaming
mailing list