LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No sound while playing mkv file with mplayer (https://www.linuxquestions.org/questions/linux-software-2/no-sound-while-playing-mkv-file-with-mplayer-880441/)

Julie95220 05-12-2011 10:40 PM

No sound while playing mkv file with mplayer
 
Hello,

First, I'm sorry if my english is bad but I'm french so..

I am on the latest version of Ubuntu, and I try to keep my system up to date.
I have a few mkv files that I make from avi and subtitles.
When I play them with mplayer, there is no sound, and I have this error :
Too many video packets in the buffer: (3924 in 33557981 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

But when I play the mkv with the default Ubuntu player, it works perfectly, there is the sound.

I don't really understand what that means, and I like to play my video files with mplayer. So if anyone can help me, it would be great

Thank you very much !

jv2112 05-14-2011 06:31 AM

Based on what you are saying I believe you need to add the medibuntu repository then update the system. This should add the codecs you need.


Here is a link with step by step instructions.

http://www.unixmen.com/linux-tutoria...rminal-and-gui

Julie95220 05-15-2011 02:47 AM

I followed the instructions but there is still no sound

I think that I have the good drivers, because I can play the files with sound in the default Ubuntu Player.

When I start a mkv file, mplayer displays this error :
[mkv] Track 2 has been compressed with an unknown/unsupported compression
Track 2 is the audio track :
[mkv] Track ID 2: audio (A_MPEG/L3) "English", -aid 0, -alang eng

Thank you

jv2112 05-16-2011 04:37 AM

Sounds like a codec issue. I am not familiar with mplayer to say which one. If totem works that is a work around at least. VLC also tends to be all inclusive with their installs so if you don't like totem maybe try that.

Sorry I was not more help.

Julie95220 05-17-2011 04:16 PM

Thank you !
I think I found the problem. I think that it is because the new version of mkvmerge do some "compression stuff" in the audio file, and the demuxer of mplayer doesn't support that. But it seems that it could work by using another demuxer like that :

mplayer -demuxer lavf ..

Thank you :)

jv2112 05-18-2011 04:47 AM

Cool :cool:


All times are GMT -5. The time now is 07:21 AM.