correct subs with .mkv files

Feature requests for VLC.
shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

correct subs with .mkv files

Postby shadowsteel » 23 Sep 2008 23:09

Sadly VLC cant read the subtitle information stored in a Matroska Video File (mkv) it rips them apart ignores coloring and placement. If you need some sample Pictures of the Problem mail me.

~Shadowsteel

Isaak
Blank Cone
Blank Cone
Posts: 67
Joined: 30 Jun 2008 00:13

Re: correct subs with .mkv files

Postby Isaak » 23 Sep 2008 23:41

I completely agree, VLC is the number 1 media player for me but the ONLY disadvantage it has are the subtitles :(. I'd love to watch my anime subtitles in the styles and positions the fansubbers originally created them in. Currently I am forced to use Zoomplayer for this and there isn't a good alternative on Linux in my opinion so please developers do something _ab0ut da subs_ :-)!

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: correct subs with .mkv files

Postby The DJ » 23 Sep 2008 23:45

Don't use PMs for support questions.

Isaak
Blank Cone
Blank Cone
Posts: 67
Joined: 30 Jun 2008 00:13

Re: correct subs with .mkv files

Postby Isaak » 23 Sep 2008 23:56

Yes, I just noticed when I tried. The subtitle style for MKV files have been improved a lot which is very great :D but it still needs some improvement ;) as not all subtitles for every video are displayed in the correct color/style.

shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

Re: correct subs with .mkv files

Postby shadowsteel » 24 Sep 2008 01:01

Thats just what i meant to say. I tryed it with some but non worked like they do with MediaPlayer Classic.

maybe the VLC Team could ask them for a little help with the problem :)
I NEVER DRANK HER BLOOD! NEVER! BUT I NEEDED IT!!
YOU SEE!! IT CHANGES COLOR WHEN IT DRIES! IT NEVER STAYS!! I HAVE TO KEEP THE WALL WET!!

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: correct subs with .mkv files

Postby The DJ » 24 Sep 2008 02:32

Thats just what i meant to say. I tryed it with some but non worked like they do with MediaPlayer Classic.

maybe the VLC Team could ask them for a little help with the problem :)
You are gonna have to provide us with explicit samples. As far as I know everything but complicated font layouting should work now for A.S.S/SSA.
Don't use PMs for support questions.

Isaak
Blank Cone
Blank Cone
Posts: 67
Joined: 30 Jun 2008 00:13

Re: correct subs with .mkv files

Postby Isaak » 24 Sep 2008 19:01

I've tried taking snapshots but it's not working with VLC subtitles (PrtSc + built-in tool) and the files are too big for me to upload. Opacity doesn't seem to be supported yet, right?
And next to MKV subtitles, I also noticed that OGM subtitles are not being displayed correctly either.

Can you please also change that when you pause a video the subtitle pauses together with it? Because sometimes subtitles swap so fast that I need to pause the video in order to be able to read them but the current VLC doesn't allow that anymore. It does seems to work for some videos though.

PS: I also just noticed that the subtitles don't overlap each other anymore, which is a very nice update too :)!

shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

Re: correct subs with .mkv files

Postby shadowsteel » 25 Sep 2008 00:14

ok here is a sample... While MPC does it nicely VLC doesnt display any subs at all

MPC: http://picasaweb.google.de/lord.shadows ... 0103779618
->floting text works ->color works

VLC: http://picasaweb.google.de/lord.shadows ... 9375426258
-> nothing works sadly :(

but in a simple MKV with plain subs its works good but well i dont have many of them. I hope that is somehow fixable so i could finaly dump MPC :)
(sry, i know it is not the best sample vid but i unable to finde the rest of my movie colletion at the moment ^^')
I NEVER DRANK HER BLOOD! NEVER! BUT I NEEDED IT!!
YOU SEE!! IT CHANGES COLOR WHEN IT DRIES! IT NEVER STAYS!! I HAVE TO KEEP THE WALL WET!!

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: correct subs with .mkv files

Postby The DJ » 25 Sep 2008 14:16

ok here is a sample... While MPC does it nicely VLC doesnt display any subs at all

MPC: http://picasaweb.google.de/lord.shadows ... 0103779618
->floting text works ->color works

VLC: http://picasaweb.google.de/lord.shadows ... 9375426258
-> nothing works sadly :(

but in a simple MKV with plain subs its works good but well i dont have many of them. I hope that is somehow fixable so i could finaly dump MPC :)
(sry, i know it is not the best sample vid but i unable to finde the rest of my movie colletion at the moment ^^')
I do not have this issue with 0.9.2 and 0.9.3. For me it would look like what you have in MPC.

DJ
Don't use PMs for support questions.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: correct subs with .mkv files

Postby Lotesdelere » 25 Sep 2008 15:06

ok here is a sample... While MPC does it nicely VLC doesnt display any subs at all

MPC: http://picasaweb.google.de/lord.shadows ... 0103779618
->floting text works ->color works

VLC: http://picasaweb.google.de/lord.shadows ... 9375426258
-> nothing works sadly :(
I'm getting the same issue as you but only if the video is Xvid / DivX.

For instance, if the video is H264/VC1 then the SSA subs are working fine like in this sample:
http://rapidshare.com/files/113536801/S ... _.mkv.html

However I get no SSA subs with this sample (and many other ones) which is XviD:
http://www.matroska.org/samples/matrix/ ... titled.mkv

The last sample is also containing SUBT (arabic and japanese) subs which are working fine, only the SSA ones are not working.
That's on Windows XP Pro 32 bits.

shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

Re: correct subs with .mkv files

Postby shadowsteel » 25 Sep 2008 18:12

well could this be some sort of config issure then? it is strage that it works for some and for some not. any suggestions or is this too offtopic?
I NEVER DRANK HER BLOOD! NEVER! BUT I NEEDED IT!!
YOU SEE!! IT CHANGES COLOR WHEN IT DRIES! IT NEVER STAYS!! I HAVE TO KEEP THE WALL WET!!

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: correct subs with .mkv files

Postby Lotesdelere » 25 Sep 2008 19:40

Can you confirm this behaviour ? Not working with XviD videos but working fine with other video formats ?

TheDJ said it's working fine on his computer with any video format. So we have to find where is the difference. Maybe, as a developper, he has something installed on his system that we don't have on a default XP (DirectX SDK or another custom runtime ?).
Do the Vista users experience the same behaviour ?

Isaak
Blank Cone
Blank Cone
Posts: 67
Joined: 30 Jun 2008 00:13

Re: correct subs with .mkv files

Postby Isaak » 25 Sep 2008 19:43

For me it would be displayed too since most of my MKV subtitles work. Are you sure you enabled the right subtitles shadowsteel and if there are any other available don't they load either?

shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

Re: correct subs with .mkv files

Postby shadowsteel » 26 Sep 2008 01:43

yes i picked the right subs (only one sub in the file anyway)
and as i said before some mkv load subs ok but most dont. i tried tweaking around but with no results.
maybe i use bad file or something like that.
I NEVER DRANK HER BLOOD! NEVER! BUT I NEEDED IT!!
YOU SEE!! IT CHANGES COLOR WHEN IT DRIES! IT NEVER STAYS!! I HAVE TO KEEP THE WALL WET!!

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: correct subs with .mkv files

Postby Lotesdelere » 26 Sep 2008 14:39

Please, use MediaInfo for checking the content of your video files and post here which ones are working and which ones are not.

Examples:
XVID+MP3+SSA+MKV @ 1280*720p = no
H264+AAC+SSA+MKV @ 1920*1080p = yes

shadowsteel
New Cone
New Cone
Posts: 8
Joined: 23 Sep 2008 23:02

Re: correct subs with .mkv files

Postby shadowsteel » 26 Sep 2008 16:19

strange prog but here is data:

works:
Format : Matroska
File size : 7.93 GiB
Duration : 1h 45mn
Overall bit rate : 10.7 Mbps
Encoded date : UTC 2008-07-29 19:56:43
Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 45mn
Bit rate : 9 637 Kbps
Nominal bit rate : 10.1 Mbps
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.211
Writing library : x264 core 60
Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x1:0x111 / me=umh / subme=6 / psy_rd=1.000000 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=10,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=10092 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.50

Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 45mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Language : English

Text #1
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English

Text #2
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Dutch

Text #3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : German

Text #4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Danish

Text #5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Finnish

Text #6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Norwegian Nynorsk

Text #7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Swedish


_____________________________________________________________________________________________________

does NOT work:
Format : Matroska
File size : 262 MiB
Duration : 23min
Overall bit rate : 1 559 Kbps
Encoded date : UTC 2008-06-20 11:36:06
Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Ja
Format settings, ReFrames : 16 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 23min
Bit rate : 1 040 Kbps
Nominal bit rate : 1 108 Kbps
Width : 848 Pixel
Height : 480 Pixel
Display aspect ratio : 16/9
Frame rate : 23,976 FPS
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.114
Writing library : x264 core 57 svn-709C
Encoding settings : cabac=1 / ref=16 / deblock=0:0:0 / analyse=0x3:0x113 / me=umh / fpel_cmp=sad / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=1108 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language : Englisch

Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 23min
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 Kanäle
Channel positions : L R
Sampling rate : 48,0 KHz
Title : Audio
Language : Japanisch

Text
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
I NEVER DRANK HER BLOOD! NEVER! BUT I NEEDED IT!!
YOU SEE!! IT CHANGES COLOR WHEN IT DRIES! IT NEVER STAYS!! I HAVE TO KEEP THE WALL WET!!

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: correct subs with .mkv files

Postby Lotesdelere » 26 Sep 2008 17:29

Is this MKV file with SSA subtitles working fine for you ?
http://rapidshare.com/files/113536801/S ... _.mkv.html

What is your OS ?

kiri
New Cone
New Cone
Posts: 8
Joined: 21 Sep 2008 09:08
VLC version: 0.9.2
Operating System: Windows Vista U x32

Re: correct subs with .mkv files

Postby kiri » 29 Sep 2008 20:42

ok here is a sample...
However I get no SSA subs with this sample (and many other ones) which is XviD:
http://www.matroska.org/samples/matrix/ ... titled.mkv

The last sample is also containing SUBT (arabic and japanese) subs which are working fine, only the SSA ones are not working.
Tested around with subs (manly with aegisub and only a little bit with SubStation Alpha).
At this Matrix Reloaded Trailer is no font attached. For some reason SSA and aegisub subtitle only works everytime (everytime i'm test it i mean :wink: ) if a font is attached into the mkv container. Don't ask me why. (Windows Vista - VLC 0.9.2). Nothing to do with the Video codec.

btw:
Looks like only one font is used. If a subtitle file 2 font's defines and even 2 fonts attached, only one font is displayed for both or i make something wrong.

And if at aegisub subtitle file a style is defined that is never used e.g:

Code: Select all

... [V4+ Styles] Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00875892,&H00000000,0,0,0,0,100,100,0,0,1,2,0,2,10,10,10,0 Style: MyStyle,XFont,28,&H00FFFFFF,&H000000FF,&H000000FF,&H00000000,0,0,0,0,100,100,0,0,1,2,0,2,10,10,10,0 [Events] Dialogue: 0,0:01:49.35,0:01:51.59,MyStyle,,0000,0000,0000,,I'll have you see a dream. ...
(Default is never used) VLC does not display the subtitle even if "XFont" is attached into the mkv container.
Last edited by kiri on 01 Oct 2008 12:55, edited 1 time in total.

Isaak
Blank Cone
Blank Cone
Posts: 67
Joined: 30 Jun 2008 00:13

Re: correct subs with .mkv files

Postby Isaak » 30 Sep 2008 14:38

I tried the subbed videos that weren't working for you and I'm pretty sure this is part of bad subbing, there were even a lot of bad translations..

While the videos weren't working with VLC they were working with Zoomplayer

kiri
New Cone
New Cone
Posts: 8
Joined: 21 Sep 2008 09:08
VLC version: 0.9.2
Operating System: Windows Vista U x32

Re: correct subs with .mkv files

Postby kiri » 01 Oct 2008 12:53

I tried the subbed videos that weren't working for you and I'm pretty sure this is part of bad subbing, there were even a lot of bad translations..

While the videos weren't working with VLC they were working with Zoomplayer
Bad translations maybe. Bad subbing? Sometimes the subs even don't work if they used official aegisub app.

PS. i've downloaded the VLC source and maybe i take a look - only i have less spare time to do so.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: correct subs with .mkv files

Postby The DJ » 02 Oct 2008 14:25

Tested around with subs (manly with aegisub and only a little bit with SubStation Alpha).
At this Matrix Reloaded Trailer is no font attached. For some reason SSA and aegisub subtitle only works everytime (everytime i'm test it i mean :wink: ) if a font is attached into the mkv container. Don't ask me why. (Windows Vista - VLC 0.9.2). Nothing to do with the Video codec.
This is interesting information. It means that there is something wrong with the configuration of fontconfig in the Windows binary. We already knew SOMETHING was wrong with fontconfig on Windows, we just weren't sure what the exact problem was.
Don't use PMs for support questions.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 10 guests