Page 1 of 1

MKV subtitles

Posted: 23 Sep 2008 17:23
by Palewolf
Since there are no 9.2 rpms for Mandriva, i've compiled my own vlc. So far so good, i'm really liking the new Qt gui ;)

But i have a problem with Matroska subtitles. When opening a mkv video and selecting a subtitle from the list, VLC displays an error complaining about "undef" type of file.

Mkv video/audio works fine, as well as loading subtitles from .txt, .srt or other subtitle files, so text support is there. Kaffeine opens mkv embedded subtitles, so it's not a video file's problem.

I tried to recompile and enable csri/asa/ass, but those libraries are not available for my distro and libasa website seems to be down.

Here is VLC output:

Code: Select all

VLC media player 0.9.2 Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.2 Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--enable-faad' '--enable-real' '--enable-theora' '--enable-pulsea' '--enable-arts' '--enable-mozilla' '--enable-csri' '--enable-libass' '--enable-asademux' '--with-contrib' 'PKG_CONFIG_PATH=/usr/lib/qt4/lib64/pkgconfig:/usr/lib/qt4/lib64/pkgconfig' [00000001] main libvlc debug: translation test: code is "es" [matroska @ 0x2aaabb1672a0]Ignoring seekhead entry for ID=0x1549a966 [matroska @ 0x2aaabb1672a0]Ignoring seekhead entry for ID=0x1654ae6b [matroska @ 0x2aaabb1672a0]Ignoring seekhead entry for ID=0x114d9b74 [matroska @ 0x2aaabb1672a0]Ignoring seekhead entry for ID=0x1941a469 [matroska @ 0x2aaabb1672a0]Unknown entry 0x73a4 in info header [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55aa - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x23314f - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55ee - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0xaa - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55aa - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x23314f - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55ee - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0xaa - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55aa - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x23314f - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0x55ee - ignoring [matroska @ 0x2aaabb1672a0]Unknown track header entry 0xaa - ignoring [matroska @ 0x2aaabb1672a0]Unknown matroska file header ID 0x1941a469 mdb:511, lastbuf:0 skipping granule 0 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 [00000508] main decoder error: no suitable decoder module for fourcc `undf'. VLC probably does not support this sound or video format.

Re: MKV subtitles

Posted: 23 Sep 2008 17:28
by dionoea
You can get a copy of the asa git on http://download.videolan.org/pub/testin ... git.tar.gz

Re: MKV subtitles

Posted: 23 Sep 2008 19:11
by Jean-Baptiste Kempf
NIOOOOOO

Don't compile asa, but libass.

Re: MKV subtitles

Posted: 23 Sep 2008 19:33
by Palewolf
Wow, that was fast.

ok... tried asa/csri but failed again.
I think it may be csri's fault, because libasa.so is generated, but libcsri.so no (just libcsri.a and .la).

Tried configure --with-libass to no avail:

Code: Select all

checking for LIBASS... no configure: WARNING: libass not found via pkg-config checking for ass_library_init in -lass... no checking ass/ass.h usability... no checking ass/ass.h presence... no checking for ass/ass.h... no configure: error: libass requested but not found
Do i need another package to get libass?

Re: MKV subtitles

Posted: 23 Sep 2008 20:38
by The DJ
The solution is simpler. You didn't compile vlc with libmatroska/libebml. As such VLC falls back on the avformat demux to parse the files, which is not feature complete and as such does not work.

Re: MKV subtitles

Posted: 23 Sep 2008 21:35
by Palewolf
DJ, you are my man!

My system was lacking matroska devel package. I didn't notice it because... oh, well, mkv file were playing anyway, hehe.

Thank you :D