[Libav-user] h264_mp4toannexb_filter

Alex Cohn alexcohn at netvision.net.il
Wed Apr 11 21:19:40 CEST 2012


On Apr 11, 2012 9:37 PM, "Wagner Patriota" <wagner.patriota at gmail.com>
wrote:
>
> ExtraData:
00000001674D400D96528322FF2FFE080007F0A100000303E90000BB80604000825C000412FFF18E302000412E0002097FF8C70ED09128B00000000168E9093520
> So what is wrong?
>
> 1. If I don't use the filter, I get this message:
> "H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb
bitstream filter (-bsf h264_mp4toannexb)""
> Because "AV_RB32(pkt->data) != 0x0000001" (in fact, AV_RB32(pkt->data) =
0x1B13)

Could it be that while your extradata is in annex b format, the frames
still need conversion?  0x1B13 looks like a start of a regular packet.

BR,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120411/d21386bd/attachment.html>


More information about the Libav-user mailing list