LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2011, 10:40 PM   #1
Julie95220
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: 0
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 !
 
Old 05-14-2011, 06:31 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
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
 
Old 05-15-2011, 02:47 AM   #3
Julie95220
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 05-16-2011, 04:37 AM   #4
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
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.
 
Old 05-17-2011, 04:16 PM   #5
Julie95220
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 05-18-2011, 04:47 AM   #6
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Cool
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer says it's playing the sound but nothing from speakers? lugoteehalt Linux - Software 2 01-11-2009 06:51 AM
mplayer .mkv sound problem mcah5 Linux - Newbie 2 09-22-2006 10:42 AM
mplayer plays only part of mkv file Antarctica Linux - Software 0 09-13-2006 01:30 AM
playing mkv files on mplayer joq Linux - Software 3 12-07-2004 07:24 AM
MPlayer playing mov: Audio no sound jpbarto Linux - Software 1 05-07-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration