[MEncoder-users] file information

Tobias Brockamp tobiasbrockamp at gmx.de
Thu Mar 29 16:07:04 CEST 2007


Am 28.03.2007 um 23:51 schrieb The Wanderer:

> Tobias Brockamp wrote:
>
> > how can i get this info without making an  encode?
>
> Assuming that you're talking about these lines:
>
>> Video stream:   74.545 kbit/s  (9318 B/s)  size: 44727 bytes   
>> 4.800  secs  120 frames
>> Audio stream:  132.870 kbit/s  (16608 B/s)  size: 75492 bytes   
>> 4.545  secs
>
> the only way I know of is to run 'mencoder -oac copy -ovc copy -o
> /dev/null'. This will take a not insignificant amount of time, but  
> much
> less than really doing anything with the file, and should produce
> exactly the same output as if you had transcoded the file in full.
>
> If you're not willing to expend that much time and that much CPU load,
> then you're very likely SOL. Unless I'm very much mistaken, there  
> is no
> general way to obtain the information you're looking for without
> processing the file.

And how does ffmpeg do it? There i can use the command "ffmpeg -i  
filename.avi"
and it shows up file info without processing the file.
The problem for me is that it does not show the info or each stream  
and the values
are not in exact milliseconds.

Tobias




More information about the MEncoder-users mailing list