openSUSE Forums > Applications > Multimedia » Determing contents of media containers like avi, mpeg?

Go Back   openSUSE Forums > Applications > Multimedia
Forums FAQ Members List Search Today's Posts Mark Forums Read


Multimedia Questions about media applications, codecs (DVD, music, video, pdf) configuration (usage, bugs)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Oct-2009, 09:42
STurtle's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Scotland
Posts: 115
STurtle hasn't been rated much yet
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?)
Reply With Quote
  #2 (permalink)  
Old 22-Oct-2009, 09:49
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,193
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
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
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #3 (permalink)  
Old 23-Oct-2009, 05:15
STurtle's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Scotland
Posts: 115
STurtle hasn't been rated much yet
Thumbs up Re: Determing contents of media containers like avi, mpeg?

Splendid! Exactly what I had been looking for, works nicely! Thanks!
Reply With Quote
  #4 (permalink)  
Old 23-Oct-2009, 05:42
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,193
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
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
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #5 (permalink)  
Old 24-Oct-2009, 10:37
STurtle's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Scotland
Posts: 115
STurtle hasn't been rated much yet
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.
Reply With Quote
  #6 (permalink)  
Old 24-Oct-2009, 10:39
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,193
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
Default Re: Determing contents of media containers like avi, mpeg?

I always click on "Text" view. Gives me everything about it
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #7 (permalink)  
Old 24-Oct-2009, 13:03
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,699
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
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.
Reply With Quote
  #8 (permalink)  
Old 11-Nov-2009, 20:30
microchip8's Avatar
Shaman Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 2,193
microchip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the roughmicrochip8 is a reputation jewel in the rough
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
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2