[vlc] h264.c code in modules/packetizer/

Hussain conundrums at gmail.com
Thu Jan 20 20:00:08 CET 2005


Hello. 

I have a few questions about the h264.c code in the
modules/packetizer/ directory.

1. Is this code creating an Annex B byte stream, before passing it on
to the ffpmeg decoder when one plays a h264 encoded video, contained
in an .mp4 container for example.  If not could you please tell me
what it does.

2. If I needed to pass a streamed obtained via rtp/rtsp to this code,
what would be the best way to do so. I am assuming that
i)  the h264.c code does create the Annex B stream before passing it
to ffmpeg, as
ii)  ffmpeg can only decode Annex B h264 streams. 

So I'd like to reuse this code if possible :). In other words what
changes would I need to make in livedotcom.cpp code so that the stream
I receive is first parsed by the h264.c code and then to the ffmpeg
decoder.

And oh by Annex B, I am referring byte stream format defined in Annex
B of the specification.

Thanks for the help.

Hussain

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list