Re: [streaming] How to play rtp h264 stream with vlc.

Rémi Denis-Courmont <[email protected]> Thu, 04 Dec 2008 10:10:05 +0100
Newsgroups gmane.comp.video.videolan.vls.general
Organization Remlab.net
Message-ID <[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