Log in

View Full Version : MKV with muxed vobsubs to MKV with hardcoded subs---is there a way?


OLP
27th May 2010, 09:11
maybe it makes not much sense what i try to do but here is the problem:

mkv with h264-videostream, ac3-audiostream and subtitels as vobsub (*.sub/*.idx)

I want to reencode this to get the subs hardcoded in the videostream without losing the "look & feel" of the subs.
Converting the subs into other formats isnt the goal.

Last try was with "ripbot" by entering the demuxed streams and use the "permanent subtitle"-function, but it didnt work.
Video + Audio were ok, but no subtitles.....

anyone of the "pros" have any ideas or suggestions?


:thanks:
OLP

buzzqw
27th May 2010, 11:13
if you open the mkv with the dss

like this:

directshowsource("c:\myfile.mkv")

does the subs appear ?

if not, open the mkv with mmg.exe (mkvtoolnix) and set the subs as forced
save the new mkv

reopen the avs script with mpc/virtualdub: if subs appear
then ripbot / hdc/megui.. will encode it

BHH

OLP
27th May 2010, 12:20
hmm...not realy understanding what you want me to do :)
I am not realy deep in the material ....

the source mkv is playing well in any player.
can toggle the sub on and off.

if i load this mkv in your HDC and analyze, the subs wont show up (as asked in your HDC-thread) and i cant go any further.

If i demux the mkv with mkvextract and then load the single streams into ripbot and using the "permanent subtitle"-function, ripbot is encoding, but in result there are no subtitels shown while playing this new encoded mkv-file.

buzzqw
27th May 2010, 12:23
open the mkv with mmg.exe (from mkvtoolnix package)
make sure that sub are forced on
save the new mkv

create an avisynth script (myfile.avs)
and write here:
directshowsource("c:\myfile.mkv")

(change name of file...)

open the file avs with media player classic: do you see the sub ?
if YES open the script with your preferred encoding suite , don't worry, about missing subs detection.. it will be encoded anyway

BHH

OLP
27th May 2010, 12:32
open the mkv with mmg.exe (from mkvtoolnix package)
make sure that sub are forced on
save the new mkv
done

create an avisynth script (myfile.avs)
and write here:

(change name of file...)
done

open the file avs with media player classic: do you see the sub ?

no :)

buzzqw
27th May 2010, 12:35
so.. make sure haali splitter autoload the vsfilter

it must works...

BHH

OLP
27th May 2010, 12:52
so.. make sure haali splitter autoload the vsfilter
BHH

haali autoloads the vsfilter, but no subs showing up.... :confused:

OLP
27th May 2010, 14:46
after installing "DirectVobsub" (registering VSFilter.dll) to my system it worked.

thanks so far for the advice, buzzqw

Will now test to encode...

buzzqw
27th May 2010, 14:59
and.. don't forget to check latest post on HDC thread... ;)

BHH

OLP
27th May 2010, 15:22
encoding worked now!
Subs hardcoded with HDC by manually ad the Vobsub-String in the avs-script.

Should work with ripbot also.

Seems that my installation of the software/tools and filters was messed up :)


thanks buzzqw, testing now your HDC-beta and will give feedback in the HDC-thread.

Ghitulescu
1st June 2010, 19:49
Multiple streams is one of the major goals of the MKV format.
I still don't get why people keep converting the videos with "burnt-in" subtitles then make use of a format that allows selectable subtitles.... Wake up, we are 10 years into the new Millenium :p

ukendt
3rd June 2010, 19:21
Many groups release home made mkv with hard coded subs so other groups won't get the subs so easily to make their own releases.
Someone has probs playing mkv files with ordinary subs in stand alone BR players
Those are the most common issues....

OLP
8th June 2010, 07:07
its just simple..

my hardwareplayer doesnt support vobsubs in mkv and i want to keep the look and feel of the subs in this special case.

Ghitulescu
8th June 2010, 07:58
its just simple..

my hardwareplayer doesnt support vobsubs in mkv and i want to keep the look and feel of the subs in this special case.

You can have the SRT file in the same directory/folder and bearing the same name (except for the extension). :rolleyes: This is how most if not all HW players accept the MKV.

ukendt
10th June 2010, 21:24
You can have the SRT file in the same directory/folder and bearing the same name (except for the extension). This is how most if not all HW players accept the MKV
For instance my BD player accept mkv files if burned with the avi extention..don't ask me why...

OLP
15th September 2010, 21:06
its long ago but i want to clear that out..

You can have the SRT file in the same directory/folder and bearing the same name (except for the extension). :rolleyes: This is how most if not all HW players accept the MKV.

so do my HW player also...

mabye its my bad english, but the problem was/is that my hardwareplayer dont support vobsubs that are muxed in the mkv (a problem with drivers; "gstreamer").

The solution with the standalone srt-file is ok and well known,
if i only want the text.
But i also want the look of the letters etc.
the original vobsubs of that movie (avatar) are nice colored using a cool letter-font and look very good so i want to keep the grafic and art.
So the only way for me, in this special case, is to burn the vobsubs in the video.
For all other cases i am of course using the SRT-solution.

Hope its now clear what i try to say :)

setarip_old
15th September 2010, 23:28
@OLP

Hi!

There's nothing special or unique about the font used in "Avatar". The font's name is "Papyrus" - and can be processed just as other text fonts...

OLP
16th September 2010, 09:43
@setarip_old

thanks, i know that, but my knowledge isnt big enough to tell my "dreambox800" to use this font for SRT or other textbased subformats like SSA which can be colored etc.

maybe there is a way but i didnt find any :)

Ghitulescu
16th September 2010, 12:22
To change the font of an IDX/SUB file one needs to OCR it then to "re-bitmap" it using the desired font. I'm not sure whether the DM800 can understand font attributes or not.
Assuming the original file comes from such a DM800, why do you need to change it? Are you sure you want to spend hours (mostly for correcting the OCR output) ?

sneaker_ger
16th September 2010, 14:23
You can use AviSynth with either vsfilter (dvd: idx/sub) or suptitle (blu-ray: sup) and x264 to hardcode the subtitles.

OLP
17th September 2010, 17:09
thanks for all your advices, but its all ok atm and working well.

i just answered this old thread to make clear WHY i had to go the way to hardcode the subs and not using SRT or SSA ( cause the dream dont understand SSA in or out mkv) :)


maybe i should have been quiet with my bad english ;)

sorry for that....