[Libav-user] H264 decoding problem

Arash Cordi arash.cordi at gmail.com
Thu Sep 6 09:41:09 CEST 2012


>
> 2012-08-19 10:21:55.008 RTPlayer[333:12f03] Unknown NAL code: 28 (2350
> bits)
>

NAL Unit 28 is a fragment unit (FU-A) you need to defragment NAL units
before sending then to ffmpeg

PPS and SPS frames are sent in a NAL Unit 24 (STAP-A) at the start of
stream.
check this link for a complete description for defragmenting NAL Units :

http://stackoverflow.com/questions/7665217/how-to-process-raw-udp-packets-so-that-they-can-be-decoded-by-a-decoder-filter-i


-- 
ArasH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120906/b644a380/attachment.html>


More information about the Libav-user mailing list