[FFmpeg-devel] [PATCH] add a bitstream filter to prepend extradata to output file

Rich Felker dalias
Tue Feb 19 18:21:32 CET 2008


On Tue, Feb 19, 2008 at 01:38:47PM +0100, Luca Abeni wrote:
> Hi Benoit,
> 
> Benoit Fouet wrote:
> > attached is a patch to $subj
> > 
> > the reason:
> > ffmpeg -i somefile.3gp -an -vcodec copy out.m4v
> > out.m4v is not readable because it lacks extradata
> 
> I am not going to comment on the patch, but I think you can
> fix this problem by using "-vglobal 2" (which seems to be a
> reasonable thing to do), without the need for any new
> bitstream filter.

Is there a way to ensure this occurs automatically? One should not
need to know magic commandline options to prevent writing invalid
files!

Rich




More information about the ffmpeg-devel mailing list