Opened 15 years ago

Closed 14 years ago

#4600 closed bug (fixed)

Problem playing MKV files

Reported by: fano Owned by: dlmcpaul
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I've seen problem reading mkv files... Mediaplayer simply hangs!!!

I think it is on all files with mkv extension... i tried a 720p file and a SD file... same result!

This using Alpha1 release.

Change History (6)

comment:1 by dlmcpaul, 15 years ago

Owner: changed from marcusoverhagen to dlmcpaul

Can you supply a link to one of the problem files?

I have mkv files that play.

comment:2 by fano, 15 years ago

Tonight seems the files that yesterday NOT plays... but they're slow as hell (but I'm in VESA) and no audio is played (no AC3 passtrhougt maybe?)

I'm using the S/PDIF connection of an Creative Audigy so I think the AC3 tracks must be passed "as is" to the receiver....

However if you interrupt the playing Mediaplayer hangs... gbd shows a lot of ??? (bad sign!) and then at the end:

#379 0x00930d3c in acquire_sem () from /boot/system/lib/libroot.so Previous frame inner to this frame (corrupt stack?)

An extract of the file (is only circa 30 sec but is 20 MB) follow soon...

It's a 720p h264 mkv with 3 AC3 audio track and 4 subs.

comment:4 by dlmcpaul, 15 years ago

Haiku does not have S/PDIF implemented so the only output is analog.

I have downloaded the file and will have a look. I have found a few mkv files that are problematic. Unfortunately the libmatroska code we use is a big blob of code and not easily followed.

comment:5 by fano, 15 years ago

Well stereo audio is outputed... I think the bitstream that doesn't work! However is pretty difficult in Windows to do this, too (its default is to transform in stereo "prologic" audio).

comment:6 by stippi, 14 years ago

Resolution: fixed
Status: newclosed

In hrev38541, I've disabled the Matroska reader and enabled Matroska support in the FFmpeg plugin. Playback of MKV files is not perfect, specifically the audio will take a long time to catch up with the video after seeking, but support for MKV has improved significantly. Also I didn't observe anymore crashes with the FFmpeg plugin as with the Matroska reader. Since the linked stream specifically plays perfectly now, I consider this ticket fixed.

Note: See TracTickets for help on using tickets.