[mythtv-users] Resolution command line

Khanh Tran khanh at khanh.net
Sat Dec 1 16:34:31 UTC 2007


On Nov 30, 2007 11:40 PM, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 11/30/2007 02:34 PM, Boleslaw Ciesielski wrote:
> > On Fri, Nov 30, 2007 at 10:49:04AM -0800, Barry Quiel wrote:
> >
> >> Is there a command line tool to get the resolution and bit rate of
> >> recording, and maybe if its interlaced or progress scan?
> > Try this
> >
> > mencoder -endpos 0 -nosound -ovc copy -o /dev/null foo.mpg | grep VIDEO:
> >
> > (progressive/interlaced follows from fps)
>
> Note, also, that resolution, frames/sec, and progressive/interlaced
> settings can change on a frame-by-frame basis.
>
> Mike
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

you can also run something like:

mplayer -vo null -ao null -frames 0 -identify


More information about the mythtv-users mailing list