Results 1 to 8 of 8

Thread: Determing contents of media containers like avi, mpeg?

  1. #1
    Join Date
    Jun 2008
    Location
    Hessia
    Posts
    303

    Question Determing contents of media containers like avi, mpeg?

    Is there an easy way to determine the contents of a media container (i.e. .avi,.mpeg,.mkv,...)?

    I want to know which codecs are used for video and audio, whether the audio is surround or not, etc.

    Of course, an editor or transcoder like avidemux can show me this information, but this is somewhat cumbersome. However, I cannot see a way to determine this information in Konqueror, Kaffeine nor Mplayer either.
    (Ok, I am still on KDE 4.1, so maybe things have changed meanwhile?)

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Determing contents of media containers like avi, mpeg?

    Yes, MediaInfo which is also available for Linux, is in the Packman repo and has context-menu integration for KDE4

  3. #3
    Join Date
    Jun 2008
    Location
    Hessia
    Posts
    303

    Thumbs up Re: Determing contents of media containers like avi, mpeg?

    Splendid! Exactly what I had been looking for, works nicely! Thanks!

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Determing contents of media containers like avi, mpeg?

    Yep, I use it all the time. It's not only for video's but for audio too and images also. All kinds of multimedia actually

  5. #5
    Join Date
    Jun 2008
    Location
    Hessia
    Posts
    303

    Default Re: Determing contents of media containers like avi, mpeg?

    Yeah, I noticed that. Nice.

    The only annoying thing is that the "easy" view does not show the resolution of an image, making it much less useful for pictures.

  6. #6
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Determing contents of media containers like avi, mpeg?

    I always click on "Text" view. Gives me everything about it

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Determing contents of media containers like avi, mpeg?

    Reference mediainfo, I know its not very elegant, but I have a text (bash script) file in my /home/oldcpu/bin directory saved as "media" (and made executeable).

    The file "media" is this:
    Code:
    #!/bin/bash
    mediainfo $1 --Output=HTML > /home/oldcpu/temp/test.html
    firefox /home/oldcpu/temp/test.html
    rm /home/oldcpu/temp/test.html
    Then for "somefile.avi" to find out more information I type:
    media somefile.avi

    Again, I know its not elegant, but I find having the output displayed in firefox is easier on my eyes than in the konsole. ... A sign of old age, I guess.

  8. #8
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Determing contents of media containers like avi, mpeg?

    Quote Originally Posted by oldcpu View Post
    Reference mediainfo, I know its not very elegant, but I have a text (bash script) file in my /home/oldcpu/bin directory saved as "media" (and made executeable).

    The file "media" is this:
    Code:
    #!/bin/bash
    mediainfo $1 --Output=HTML > /home/oldcpu/temp/test.html
    firefox /home/oldcpu/temp/test.html
    rm /home/oldcpu/temp/test.html
    Then for "somefile.avi" to find out more information I type:
    media somefile.avi

    Again, I know its not elegant, but I find having the output displayed in firefox is easier on my eyes than in the konsole. ... A sign of old age, I guess.
    why through console? Mediainfo has KDE4 integration. Just go to your file, right-clock on it, choose open with mediainfo and you get all the info about it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •