[FFmpeg-devel] [PATCH] allow h264 streamcopy h264 -> flv

Baptiste Coudurier baptiste.coudurier
Thu May 29 18:57:21 CEST 2008


yubing wrote:
> $ ffmpeg -i test_in.flv -vcodec libx264 -b 512000  test_out.flv
> ... ...
> ffmpeg: libavformat/flvenc.c:359: flv_write_packet: Assertion `pkt->size'
> failed.
> Aborted
> That's because ff_avc_parse_nal_units() fails to find the startcode.
> I've modified the encode_nals in libx264 to work without
> ff_avc_parse_nal_units(). However, it's not a clean solution:P

Did you make clean; make ?

I cannot reproduce it here. If it still happens, please open a bugreport
following http://ffmpeg.mplayerhq.hu/bugreports.html.


Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA

More information about the ffmpeg-devel mailing list