[MEncoder-users] How to determine size of audio in an avi

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Sep 16 02:47:09 CEST 2005


On Friday, 16 September 2005 at 02:14, EC wrote:
> On Thu, 15 Sep 2005 12:44:32 -1000
> Jason Addison <jraddison at gmail.com> wrote:
> 
> > Is there a way to determine the size of the audio without dumping it to a 
> > file?
> 
> When you play the file, it should tell you both the video and audio
> bitrates in KBps.  Just multiply by the length of the movie.

But this will work only in those rare cases where audio is CBR (which is
uncommon these days) and average video bitrate stored in header is
accurate, which usually isn't true for MPEG containers.

So streamcopying to /dev/null is IMHO the fastest and the most accurate
way.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MEncoder-users mailing list