![]() |
How to check Video file resolution ??
Searched around but could not find an answer on this.
Is there a way to check what the resolution of a video file is from the N900 itself ? Using the Details menu option from File Manager doesn't show it. Maybe another App ? |
Re: How to check Video file resolution ??
Using mplayer and xterminal:
Code:
mplayer -identify file.avi -ao null -vo null -frames 0 2>/dev/null | egrep "(ID_VIDEO_WIDTH|ID_VIDEO_HEIGHT)" |
Re: How to check Video file resolution ??
Quote:
# mplayer -identify tgwtdt.avi -ao null -vo null -frames 0 2>/dev/null MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team ID_SIGNAL=11 With no special options I get this: # mplayer -identify tgwtdt.avi MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team MPlayer interrupted by signal 11 in module: unknown ID_SIGNAL=11 - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. |
Re: How to check Video file resolution ??
Quote:
Code:
$ file video.avi |
Re: How to check Video file resolution ??
here it works!
I have the same version of mplayer. But I found out that grepping "VIDEO:" and "AUDIO:" shows more informations! So I made a little script called identifyVideo.sh with this contents: #!/bin/sh mplayer -identify "$1" -frames 0 -ao null -vo null 2>/dev/null | egrep "VIDEO:|AUDIO:" |
Re: How to check Video file resolution ??
Quote:
That exact command gives me no output at all. But thanks for trying. |
Re: How to check Video file resolution ??
Quote:
I only have filebox and filefrag. |
Re: How to check Video file resolution ??
I think you need to 'sudo apt-get install file' first
|
Re: How to check Video file resolution ??
Quote:
Code:
mplayer /path/to/anyvideofile.avi |
Re: How to check Video file resolution ??
Quote:
Silly me. |
All times are GMT. The time now is 00:56. |
vBulletin® Version 3.8.8