[MPlayer-dev-eng] Re: [PATCH] (hopefully) better dumpvideo

Alban Bedel albeu at free.fr
Mon Jul 14 22:08:25 CEST 2003


Hi Arpi,

on Mon, 14 Jul 2003 22:10:32 +0200 you wrote:

> Hi,
> 
> > this is a patch that removes from the dump the four bytes (currently 
> > added) indicating the packet size when the original file format is
> > AVI.
> > 
> > The benefit is that when dumping video (especially mpg in avi) you
> > have the REAL video stream.
> > 
> > I don't understand why/when adding four extraneous bytes for every 
> > packet read from the stream can be useful, so
> 
> because most codecs (actually imho all except teh mpeg ones which is
> rare) in .avi and other frame-based containers are framed, so you cannot
> playback(or use for any purpose) rte resulting dump unles syou know teh
> size of each video packet. by dumping the raw data only you lose this
> info.
> 
> the proper solution would be a codec-based decision (skip packet size
> for mpeg codecs only) or an commandline option.
> 
> > I would extend the patch to the other file formats still treated 
> > differently: MOV and ASF.
> 
> i vote against it
I vote for a command line option.
	Albeu

-- 

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.




More information about the MPlayer-dev-eng mailing list