Hi all,
In building a wrapper to FFMPEG, we are trying to figure out what libraries will allow us to read the resolution of a video file. Ideally it will work on Windows and Linux. Is there a way to run FFMPEG command-line and get back the resolution of a video? Does anyone know of libraries that would be useful for this purpose?
Note: we've already seen http://directshownet.sourceforge.net
Thanks,
jsdf
+ Reply to Thread
Results 1 to 3 of 3
-
-
On the command-line, you can use mplayer, a software that uses ffmpeg librairies. The output is sometimes very verbose, but the informations were correct the time I was using it (with MPEG2-PS, MPEG2-TS).
Code:$ mplayer -identify <path/to/your/file> -nosound -frames 1
Hope this helps -
mediainfo looks nice!
I have a problem quite similar but bigger: I'm building a database which automatically detects and stores codec information about a sequence.
For that I would need a tool/library which gives me that information (for example in an xml file) but I also must get a complete list of every possible piece of information which the library/tool can extract, in order to populate my database.
Does someone has some pointers to what I can use for this?
Similar Threads
-
Encode video with different luminance resolution and video resolution
By kylix999 in forum Video ConversionReplies: 14Last Post: 6th Jun 2012, 07:57 -
Security api failed 60008
By paddychops in forum MacReplies: 1Last Post: 6th Dec 2011, 21:39 -
Auto adjusting screen resolution to video resolution
By Computer Nerd Kev in forum Software PlayingReplies: 11Last Post: 11th Jul 2011, 06:36 -
A C++ Program to read in YUV frame at QCIF (176x144) resolution
By yoursclark in forum Newbie / General discussionsReplies: 0Last Post: 29th Jul 2010, 03:55 -
viewing a QVGA/VGA resolution video with NTSC DV resolution (with a TV)
By Lightbreaker in forum EditingReplies: 1Last Post: 6th Jan 2009, 01:57