[Gllug] Command line tool to find video dimensions?

Peter Childs peterachilds at gmail.com
Thu May 31 13:52:49 UTC 2007


On 31/05/07, diego gentoo <diego.gentoo at gmail.com> wrote:
>
> That's cool! How can i get ONLY the dimensions (I mean something like
> 320x320 for example). Thanks. Diego.
>
> 31 May 2007 12:03:32 -0000, sas.18752793 at bloglines.com <
> sas.18752793 at bloglines.com>:
> >
> > --- Greater London Linux User Group <gllug at gllug.org.uk wrote:
> > > Exists an
> > open source command-line tool that I can call to figure out the
> > > dimensions
> > of a video?
> >
> > If you've got mplayer (http://www.mplayerhq.hu/) installed,
> > you can use something like
> >
> > mplayer video.avi -identify -frames 0 | grep
> > ID_
> >
> > to get details about the video.
> >
> > --
> > Gllug mailing list  -  Gllug at gllug.org.uk
> > http://lists.gllug.org.uk/mailman/listinfo/gllug
> >
>
>
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
>
grep is your friend although you may also need to use cut and awk....

Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20070531/ec7a7826/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list