[MPlayer-users] Determine run-length by filesize?

Arpi arpi at thot.banki.hu
Mon May 13 21:22:01 CEST 2002


Hi,

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
> Is it possible to determine the run-length of a movie withouth playing
> it? For example, if I have a file 'test.avi' sized 735295488 bytes and
> mplayer states that the video uses 1101.3 kbps, and audio is 48000Hz,
> 128kbit mp3, is there a way to calculate the run-length?

yes
735295488*8/1024/(1101+128)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list