Log in

View Full Version : How to mux pgs subs into mkv


_hawk_
26th April 2010, 09:05
Hi,
is there another way then using makemkv to get pgs subtitle into a mkv file?

I would like to get this:


Text
ID : 4
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
Language : German

setarip_old
27th April 2010, 00:26
@_hawk_

Hi!

1) Use the newly available "MKVCleaver" to automatically extract the PGS subtitle stream as a .SUP file.
2) Load the .SUP file into "BD Sup2Sub"
3) Save as "SUB/IDX"
4) Load original MKV into "MKVMerge" GUI ("mmg.exe")
5) "ADD" "SUB" file ("IDX" file will be rejected - not needed anyway)
6) "MOVE" "SUB" file up until it is one position higher than the matching PGS file (So that it precedes the PGS file when reading from the top down)
7) Set an output filename and location and click on the "Start muxing" radiobutton.

Kurtnoise
27th April 2010, 06:42
@_hawk_

Hi!

1) Use the newly available "MKVCleaver" to automatically extract the PGS subtitle stream as a .SUP file.
2) Load the .SUP file into "BD Sup2Sub"
3) Save as "SUB/IDX"
4) Load original MKV into "MKVMerge" GUI ("mmg.exe")
5) "ADD" "SUB" file ("IDX" file will be rejected - not needed anyway)

obviously, this is wrong. idx file is required to retrieve several informations like timestamp...

So, you should read carefully what _Hawk_ asked instead of writing something useless.


@Hawk: there is no way at the moment...except using MakeMKV.

_hawk_
27th April 2010, 06:48
@Hawk: there is no way at the moment...except using MakeMKV.

Ok thank you. I hoped that someone started to create a tool that could do this. I will ask again in some month ;)

setarip_old
27th April 2010, 07:45
@_hawk_

Despite the misstatement by others, if you try what I suggested (which I know at first blush appears to be illogical), you'll be pleasantly surprised - as I was when I first tried this already proven method (It's been discussed at the MakeMKV Forum in detail, as well as here at the Doom9 Forum to a lesser extent).

Try it, you'll like it ;>}

_hawk_
27th April 2010, 09:43
@_hawk_

Despite the misstatement by others, if you try what I suggested (which I know at first blush appears to be illogical), you'll be pleasantly surprised - as I was when I first tried this already proven method (It's been discussed at the MakeMKV Forum in detail, as well as here at the Doom9 Forum to a lesser extent).

Try it, you'll like it ;>}

I'm not sure if I understood your hint and if you understood my question.
I don't have a mkv that already has subs as pgs stream in it. I would like to create one without using makemkv.
Support for pgs playback in mkv is growing so I think it would be a better solution then converting to sub/idx or even do ocr.

setarip_old
27th April 2010, 18:58
@_hawk_

Your exact question was:is there another way then using makemkv to get pgs subtitle into a mkv file? - and that's exactly what my answer pertains to.

You are now saying: I don't have a mkv that already has subs as pgs stream in it. I would like to create one without using makemkv. My initial response to your initial question is not applicable to your revised question...

Doesn't your own program create MKVs? (I assume your intended source for PGS streams will be original BluRay discs)

nurbs
27th April 2010, 20:20
So, you are saying you didn't read the thread title, only read half of a sentence he wrote and then wrote an answer that didn't have anything to do with that half. Because nothing in your post tells him how "to get (a) pgs subtitle into a mkv file". Your post tells him how to extract a pgs from a mkv, convert it to sub/idx and then mux it again into the same mkv with the sub/idx taking precedence over the pgs.

turbojet
30th April 2010, 12:34
There is sort of a way to do it with mkvmerge passthrough but it requires an mkv that already contains the PGS.

1. Open the mkv with PGS in mkvmerge
2. Add/Delete streams, external PGS won't work
3. Mux to get an mkv with PGS kept from the original mkv

You'd think it could mux from external PGS considering it can passthrough. It must have been at least a year ago when I asked about it and Mosu responded that it was planned in the future. Maybe if more birds chirp it would go up the priority list.