[Ma-linux] [Dclug] How to put a video into a web page -- Summary

Nikolas Coukouma atrus at atrus.org
Wed Jul 15 08:52:59 EDT 2009


On Tue, Jul 14, 2009 at 6:02 PM, Theodore Ruegsegger<gruntly at gmail.com> wrote:
...
> In my case, I note that invoking flowplayer requires specifying the
> video's width and height. A reasonable requirement for an object on a
> web page, but I can't seem to find any straightforward way to get
> those numbers from the video file, either the original or the flv
> equivalent. By "straightforward" I mean some command that my web
> server can invoke automatically to determine the geometry.
>
> Can someone point me to a simple command, possibly requiring
> installing a tool, to do this?

I recommend:
mplayer -vo null -ao null -identify -frames 0 some_file

Cheers,
-Nikolas



More information about the Ma-linux mailing list