[Dclug] [Ma-linux] How to put a video into a web page -- Summary
gruntly at gmail.com
Wed Jul 15 10:25:36 EDT 2009
Nikolas responded to my quest for a tool that can determine a video
file's geometry thus:
> I recommend:
> mplayer -vo null -ao null -identify -frames 0 some_file
That worked, except that it crunched through the entire video, which
took a long time. But it turns out mplayer (I installed mplayer-nogui)
has a -really-quiet option. Together with some filtering I get a
command that works in less than a second:
mplayer -really-quiet -vo null -ao null -identify -frames 0 some-file
| grep 'ID_VIDEO' | grep 'WIDTH\|HEIGHT'
Thanks very much!
More information about the Dclug