[vlc-devel] Re: Adding support for playing H.264 streams
Nico Sabbi
nsabbi at tiscali.it
Tue Apr 26 14:42:35 CEST 2005
Erik Hellerud wrote:
> Ross Finlayson wrote:
>
>> At 11:43 AM 4/25/05, you wrote:
>>
>>> How did the implementation of h264 in
>>> live.com end up? I heard that it, unlike other codecs in live.com
>>> didn't
>>> return complete frames
>>
>>
>> Erik, is this still the case? (I haven't looked at your
>> "H264VideoRTPSource" code in detail.)
>
>
> My idea was to let H264VideoRTPSource return complete NAL units, not
> complete frames. This is because each NALU should be independently
> decodeble. Also, ffmpeg only support the optional H.264 Annex B
> bytestream format, and thats why all the startcodes needs to be added.
> In addition to that, the STAP-A payload type is difficult to handle in
> live.com, so this has to be done in VLC. I haven't tried it, i just
> disabled that payload type in mp4creator.
not at all, ffh264 also decodes NAL-stream H264, but you may or may not
need a small patch that I posted in ffmpeg-devel a
couple of weeks ago to discard NALs until the first IDR arrives.
It only needs the codecdata filled with SPS+PPS.
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list