[streaming] How to play rtp h264 stream with vlc.
Rémi Denis-Courmont
rdenis at simphalempin.com
Thu Dec 4 10:10:05 CET 2008
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
More information about the streaming
mailing list