VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Mar 2008
    Location: United States
    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
    Quote Quote  

  2. Member
    Join Date: Aug 2006
    Location: Switzerland
    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
    Another software I found useful: http://mediainfo.sourceforge.net/fr

    Hope this helps
    Quote Quote  

  3. Member
    Join Date: Mar 2008
    Location: Belgium
    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?
    Quote Quote  




Similar Threads

  1. Replies: 13
    Last Post: 12th Apr 2012, 12:02
  2. Security api failed 60008
    By paddychops in forum Mac
    Replies: 1
    Last Post: 6th Dec 2011, 21:39
  3. Auto adjusting screen resolution to video resolution
    By Computer Nerd Kev in forum Software Playing
    Replies: 11
    Last Post: 11th Jul 2011, 06:36
  4. A C++ Program to read in YUV frame at QCIF (176x144) resolution
    By yoursclark in forum Newbie / General discussions
    Replies: 0
    Last Post: 29th Jul 2010, 03:55
  5. Replies: 1
    Last Post: 6th Jan 2009, 01:57
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools