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

yubing trueice
Thu May 29 12:32:27 CEST 2008


$ 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

On Thu, May 29, 2008 at 8:36 AM, Baptiste Coudurier <
baptiste.coudurier at smartjog.com> wrote:

> Michael Niedermayer wrote:
> > On Wed, May 28, 2008 at 04:54:29PM -0700, Baptiste Coudurier wrote:
> >> Hi,
> >>
> >> Patch add check for mp4 extradata format and if so, don't parse it, like
> >> mov muxer do.
> >
> > ok
> >
>
> Applied.
>
> --
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
> Smartjog USA Inc.                                http://www.smartjog.com
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



-- 
truly yours
ice




More information about the ffmpeg-devel mailing list