Web Design

Categorized | Database, Multimedia, cli

Find more about your multimedia files

This is a nice trick to easily access information about your multimedia files. Install the mplayer package then add the following to your ~/.bashrc file:

idmedia(){
mplayer -identify -frames 0 -ao null -vo null -vc dummy “$@” 2>/dev/null | grep ID_
}

Now run it like

idmedia file.mp3

(this tip was sent in by lockw3)

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comment

  1. John

    I tried this and it didn’t work. The command was not recognized. I copied and pasted the line to ensure it was correct. I use Zenwalk, a slackware based distro.

    john

    1

1 Trackback(s)

  1. 18 01 2009 : How to read video summary information (like avi,mkv,etc.) | keyongtech

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>