You are not logged in.

#1 2009-08-29 19:28:58

akurashy
Member
Registered: 2006-05-29
Posts: 75

[solved] MKV won't play in mplayer

Well, like the title says I'm having problems running MKV files in mplayer according to mplayer:

==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...


MPlayer interrupted by signal 11 in module: decode_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

any suggestions?

Last edited by akurashy (2009-09-02 02:29:44)

Offline

#2 2009-08-29 19:38:02

madc0de
Member
Registered: 2009-08-29
Posts: 11

Re: [solved] MKV won't play in mplayer

Would you like to try SMPlayer?

Offline

#3 2009-08-29 20:09:18

agapito
Member
From: Who cares.
Registered: 2008-11-13
Posts: 647

Re: [solved] MKV won't play in mplayer

Smplayer is only a frontend...

Try to install mplayer-svn from yaourt.


Excuse my poor English.

Offline

#4 2009-08-29 21:21:00

akurashy
Member
Registered: 2006-05-29
Posts: 75

Re: [solved] MKV won't play in mplayer

agapito wrote:

Smplayer is only a frontend...

Try to install mplayer-svn from yaourt.

No luck =/ runs xvid fine and other videos but MKV specifically doesn't want to run

Offline

#5 2009-08-29 21:29:38

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] MKV won't play in mplayer

Try with vlc, it needs lots of dependencies but if it doesn't work with mplayer and vlc then the most probably you have a bad file.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2009-08-29 21:34:37

akurashy
Member
Registered: 2006-05-29
Posts: 75

Re: [solved] MKV won't play in mplayer

R00KIE wrote:

Try with vlc, it needs lots of dependencies but if it doesn't work with mplayer and vlc then the most probably you have a bad file.

Well, to add a little my first ran was with VLC but there was subtitles delay and the video a bit choppy and well since I mostly used mplayer (i don't get choppy business or delays with it) I went to konsole and launched mplayer with the file and sub to find out it didn't work. Which is why the situation has left me like a very sadddd panda sad

Offline

#7 2009-08-29 22:51:39

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [solved] MKV won't play in mplayer

It rather seems like an audio decoding problem rather than just the mkv container:

MPlayer interrupted by signal 11 in module: decode_audio

Make sure you have faad installed. How about an mkv with a different audio codec? Does that work?

Offline

#8 2009-08-30 01:29:14

akurashy
Member
Registered: 2006-05-29
Posts: 75

Re: [solved] MKV won't play in mplayer

Nepherte wrote:

It rather seems like an audio decoding problem rather than just the mkv container:

MPlayer interrupted by signal 11 in module: decode_audio

Make sure you have faad installed. How about an mkv with a different audio codec? Does that work?

nope, I guess I'll just stick with vlc for now btw which codecs does vlc use?

Offline

#9 2009-08-30 06:33:14

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [solved] MKV won't play in mplayer

akurashy wrote:
Nepherte wrote:

It rather seems like an audio decoding problem rather than just the mkv container:

MPlayer interrupted by signal 11 in module: decode_audio

Make sure you have faad installed. How about an mkv with a different audio codec? Does that work?

nope, I guess I'll just stick with vlc for now btw which codecs does vlc use?

The very same as mplayer


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#10 2009-08-30 06:50:49

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: [solved] MKV won't play in mplayer

Have you installed libmatroska?

Offline

#11 2009-08-30 08:22:19

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [solved] MKV won't play in mplayer

I suspect you compiled mplayer by hand?

I had the same problem with mkv files because the patch needs a little modification. IIRC, it's gcc 4.4.0 --> gcc 4.4.1


This silver ladybug at line 28...

Offline

#12 2009-08-30 12:30:25

shiguguri
Member
Registered: 2009-08-29
Posts: 5

Re: [solved] MKV won't play in mplayer

lolilolicon wrote:

I suspect you compiled mplayer by hand?

I had the same problem with mkv files because the patch needs a little modification. IIRC, it's gcc 4.4.0 --> gcc 4.4.1

I'm having same problem with mplayer i compiled by hand. What patch?

faad2 installed. libmatroska installed.

also i get this with -nosound option:

VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Audio: no sound
Starting playback...


MPlayer interrupted by signal 11 in module: video_read_frame
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Last edited by shiguguri (2009-08-30 12:34:40)

Offline

#13 2009-08-30 12:36:16

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [solved] MKV won't play in mplayer

@shiguguri
The gcc patch
http://repos.archlinux.org/viewvc.cgi/m … xtra-i686/

--- mplayer/configure.old    2009-04-16 12:02:10.000000000 +0200
+++ mplayer/configure    2009-05-22 15:23:38.000000000 +0200
@@ -6410,6 +6410,7 @@
 def_liba52='#undef CONFIG_LIBA52'
 def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
 if test "$_liba52_internal" = yes ; then
+    test "$cc_vendor" = gnu && test "$cc_version" = 4.4.0 && CFLAGS=$(echo $CFLAGS|sed "s/ *-O4 */ -O2 /")
   _liba52=yes
   def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
   _res_comment="internal"

"$cc_version = " should be 4.4.1 or whatever your installed gcc version is. It's that simple.


This silver ladybug at line 28...

Offline

#14 2009-08-30 12:43:03

shiguguri
Member
Registered: 2009-08-29
Posts: 5

Re: [solved] MKV won't play in mplayer

lolilolicon wrote:

@shiguguri
The gcc patch
http://repos.archlinux.org/viewvc.cgi/m … xtra-i686/

--- mplayer/configure.old    2009-04-16 12:02:10.000000000 +0200
+++ mplayer/configure    2009-05-22 15:23:38.000000000 +0200
@@ -6410,6 +6410,7 @@
 def_liba52='#undef CONFIG_LIBA52'
 def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
 if test "$_liba52_internal" = yes ; then
+    test "$cc_vendor" = gnu && test "$cc_version" = 4.4.0 && CFLAGS=$(echo $CFLAGS|sed "s/ *-O4 */ -O2 /")
   _liba52=yes
   def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
   _res_comment="internal"

"$cc_version = " should be 4.4.1 or whatever your installed gcc version is. It's that simple.

Thank you.

Offline

#15 2009-08-30 13:11:02

akurashy
Member
Registered: 2006-05-29
Posts: 75

Re: [solved] MKV won't play in mplayer

lolilolicon wrote:

I suspect you compiled mplayer by hand?

I had the same problem with mkv files because the patch needs a little modification. IIRC, it's gcc 4.4.0 --> gcc 4.4.1

At first it was a package from AUR (mplayer-pulse) since I wanted pulseaudio support, then later I just went checked out mplayer SVN on their mainsite. I'm going to try patching/re-compiling and cross my fingers if it works I'll just throw a comment in mplayer-pulse's

Edit:
No luck sad

Last edited by akurashy (2009-08-30 13:49:15)

Offline

#16 2009-08-30 14:51:05

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [solved] MKV won't play in mplayer

I don't know, maybe it's because the svn version needs some more patch, or it's just broken for today...

Why don't you just build with the PKGBUILD and patch for the [extra]/mplayer? You can just add --enable-pulse in the configure options. I believe it will build just fine. Just remember to modify the gcc patch so that it does do the patch.

Good luck.

Bye


This silver ladybug at line 28...

Offline

#17 2009-08-30 15:37:46

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] MKV won't play in mplayer

Mplayer doesn't use libmatroska; It uses FFmpeg's version instead. And, if a user didn't have FAAD installed, Mplayer would fall back on FFmpeg's AAC decoder.

There were some problems with Mplayer, gcc, and matroska files in their subversion tree a few months back, but they've been long since fixed. What revision is everyone that's having this problem using? Check by typing mplayer at the command line with no options. It'll be on the first line.

Offline

#18 2009-08-30 16:06:39

aelfie
Member
Registered: 2009-02-12
Posts: 5

Re: [solved] MKV won't play in mplayer

I had a problem playing mkv when I reinstalled linux/mplayer, but I have no idea if it was the same as yours.

I use mplayer-minimal-svn along with x264-git, but I had forgotten to use ffmpeg-svn instead of just regular ffmpeg.  I also added

--enable-ass \
--enable-freetype --enable-debug

to mplayers configure line.

Mkv work fine for me now, so I hope this helps.

Last edited by aelfie (2009-08-30 16:07:07)

Offline

#19 2009-09-02 02:29:15

akurashy
Member
Registered: 2006-05-29
Posts: 75

Re: [solved] MKV won't play in mplayer

aelfie wrote:

I had a problem playing mkv when I reinstalled linux/mplayer, but I have no idea if it was the same as yours.

I use mplayer-minimal-svn along with x264-git, but I had forgotten to use ffmpeg-svn instead of just regular ffmpeg.  I also added

--enable-ass \
--enable-freetype --enable-debug

to mplayers configure line.

Mkv work fine for me now, so I hope this helps.

It just worked... did a "make distclean" and ran configure again and added these and it worked.. god knows why but I'll worry about understanding one of these days.. thanks!

Offline

#20 2009-09-05 07:08:56

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: [solved] MKV won't play in mplayer

Just want to add that I've also run into this same problem when trying to compile Mplayer using the latest SVN revision and have found that only:

--extra-cflags=-fno-strict-aliasing

is needed in order for Mplayer to play Matroska file again. Note that this configuration option is preferable to --enable-debug because the debug option produce larger executable.

Sources:
mplayer-svn (see the comment section)
Mplayer bug report on the problem

Last edited by zodmaner (2009-09-05 08:00:56)

Offline

Board footer

Powered by FluxBB