LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   finding out the current codec in Mplayer? (https://www.linuxquestions.org/questions/linux-software-2/finding-out-the-current-codec-in-mplayer-177791/)

Kilahchris 05-04-2004 12:33 PM

finding out the current codec in Mplayer?
 
is there a way to find out what codec mplayer or xine is using to play a specific file while it is playing. Like in Windows Media Player , you can simply right click on the file in the playlist and click properties to see what codec Media Player is using to play the codec.???

drowstar 05-04-2004 01:12 PM

Hi Kilahchris,
run mplayer on the command line and it will tell you, what codec it is using.
Code:

Playing <too bad, I had to censor that :)>.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29,970 fps  1150,0 kbps (143,8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================

It is not as comfortable as right clicking, but the information is there. There might be another way (using the gui, maybe).

Is that good enough? Have fun,
- drowstar

Kilahchris 05-04-2004 01:53 PM

is there any benefit to running Mplayer in the command line than point and clicking??? or is pointing and clicking better.??

are there more processes running when i run mplayer in terminal?


All times are GMT -5. The time now is 09:21 PM.