I have an MKV file that has a S_HDMV/PGS stream I want to extract so I can SupRip it... I can nto do it no matter which tool I use
tsMuxeR does not like it in all versions prior to 1.9.1. Latest version CRASHES on input.
mkvextract does not like it either
tried eac3to also and it does not work either.
How can I possibly do this? The MKV was created by MakeMKV from the original Top Gun Blu-Ray disc. I can of course extract back from original m2ts from BD but it is killing me that PGS support for extraction / demux is so poor in tsMuxeR and mkvextract.
Thanks for the help.
manny
+ Reply to Thread
Results 1 to 28 of 28
-
-
Are you using mkvextract cli mode? or mkvextractgui? If you haven't tried the cli version then try it read the help how to use it,
Code:Let’s assume you’ve made a Matroska file with one video track, two audio tracks and two subtitle tracks, and you need the second audio track and the first subtitle track. So first fire up mkvmerge with the --identify option: $ mkvmerge -i movie.mkv File ’movie.mkv’: container: Matroska Track ID 1: video (V_MS/VFW/FOURCC, DIV3) Track ID 2: audio (A_MPEG/L3) Track ID 3: audio (A_VORBIS) Track ID 4: subtitles (S_TEXT/UTF8) Track ID 5: subtitles (S_TEXT/UTF8) Now you can call mkvextract like this: $ mkvextract tracks movie.mkv 3:audio.ogg 4:subtitles.srt
-
Baldrick, you're always first to help... you are the biggest resource this site has. For that I thank you.
I always thought that mkvextractGUI used mkvextract in the end... so no, I have never tried the CLI by itself. I will give it a shot...
I have searched EVERYWHERE for an answer. I usually only post when I am at the end of my rope.
Thanks for the tip -
No good with CLI either
Code:C:\Program Files (x86)\MKVtoolnix>mkvextract.exe tracks "f:\users\gonzalu\Deskto p\Top Gun [1986] BLU-RAY.mkv" 4:tg_spa.sup Error: Extraction of track number 4 with the CodecID 'S_HDMV/PGS' is not support ed. C:\Program Files (x86)\MKVtoolnix>
-
And I guess you have checked the makemkv forum?http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Try making an avchd with multiavchd,if will extract the subtitle if the mkv is in good order,if it crashes then you need to extract the sub from the disc again.
I think,therefore i am a hamster. -
That looks like an interesting tool. Thanks for the heads-up.
http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Hmmmmmmm I'm using AnyDVDHD beta and then following Baldrick's guide for converting to srt. I'm having no luck. Once I get the .sup to disk if I use DVDSubEdit on the .sup file, it outputs about one page of .srt at the very end of the movie. If I try to use suprip, it tells me "unknown block" and won't touch it when I try to load the .sup file. I have a feeling I'm going to be watching this thing with the English dub!!
http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
I cheated and downloaded the subs.
Only thing AnyDvdHD does is save me from using MakeMKV then tsMuxer to end up with the same m2ts file I start with. But to save $135 I think I'll be using MakeMKV and tsMuxer in the future.
Seems like subs is always the fly in the ointment. Glad there are sub databases out there.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
The only thing i dont like about subs you get from the net is most are srt and the text is always in the same position,i like sups(dvd/blu-ray) cause they are graphics and can be on any position of the screen such as when you have credits and the subs display on the top while the credits roll on the bottom.
I think,therefore i am a hamster. -
Originally Posted by johns0
http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
I got the new mkvtoolnix 3.10 but I'm lost. MKVextractGui still says no support for this type of file. Has anyone used 3.10 to extract the PGS subs?
http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Did you try multiavchd to see if it will extract the subs?Mkvtoolnix 3.10 doesnt support sups(pgs subs).Also try Clown_BD to extract the subs.
I think,therefore i am a hamster. -
From mkvtoolnix 3.10 change log:
- mkvextract: new feature: Added support for extracting Blu-Ray subtitles (CodecID "S_HDMV/PGS").http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Ok, I have it so far as command line. For example if the subtitle track you want is track 5 this should work:
mkvextract tracks movie.mkv 5ubs.sup
That at least gets the .sup file.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
I made a small .cmd batch to do the job for one subtitle.
It's named MkvSub.cmd
Usage is MkvSub MkvBaseName TrackNumber.
(e.g. MkvSub Movie 5)
It should output MkvBaseName.sup file.
MkvBaseName should not contain spaces.
This assumes both MkvSub.cmd and mkvextract.exe are in your Path.
You need the mkvextract.exe from mkvtoolnix 3.10
Code:@echo off If (%1)==() goto usage If (%2)==() goto usage mkvextract tracks %1.mkv %2:%1.sup goto end :usage echo Usage: MkvSub MkvBaseName TrackNumber echo ------------------------------------- echo ( MkvBaseName should not contain spaces ) echo ------------------------------------- echo Output is MkvBaseName.sup :end
command line syntax to extract one sup file.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
After playing around with this a bit more I've come to the conclusion that at least for the purposes of converting to standard DVD9, using BDSup2Sub is the way to go. Extract the .sup from the .mkv using the MkvSub batch file above, load into BDSup2Sub, reduce resolution to 720x480 and export as idx/sub.
During the conversion to DVD the subs are burned in. It may not be the perfect way to do it, but I've done a couple like this and there's no OCR to mess with. And, as you mentioned, the subs are on the screen at the intended positions. Not selectable but for foreign language flicks I'm not going to turn the subs off anyway. The result has looked very good so far.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
btw looks like I was doing it wrong trying to convert to .srt. If I use BDSup2Sub, reduce the resolution to 720x480 and output an ifo/sup pair... then load the sup in DVDSubEdit, the OCR and export as .srt worked flawlessly(at least for one subtitle I just did.. no lines with stuff like "_----_||/.\__--" instead of text.) I think I still want to go to .sup if I can to have selectable subs. I just need to figure out how to add .sup subtitles with FAVC. From there I need to handle forced subs etc.. Making progress though.
btw looks like MakeMKV is selling for $50 now. I'm on the 30 day trial.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
btw no need to resort to the command line to get the PGS subtitle track now.
https://www.videohelp.com/tools/MKVExtractGUI-2
Just drop it in the same folder as the latest mkvextract.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
I know this thread is quite old but I have a problem I need solved.
I am using the latest versions of Mkvtoolnix and mkvextractgui-2. When I use the latter the pgs streams are recognised as s_text/utf8 format files. But when I elect to extract one or more files all I get is an xml file and that is it.
What I am trying to do is downsize an 8 gb+ 1080p DTS mkv file to a more manageable 2.5 GB 720p AC3 file. Any/all suggestions would be very much appreciated. -
I would try older mkvtoolnix or try tsMuxer command line. I know tsMuxerGui won't extract PGS but the command line tsMuxer is supposed to have PGS extraction support.
There's been "off by one" index issues with Guis that use mkvtoolnix.http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Mkvcleaver will extract pgs files.
I think,therefore i am a hamster. -
Thanks for the suggestins.
I did manage to extract the concerned files as also all the other tracks too using tSmuxerGUI. What I got were .sub files. I know that .sub files are certainly NOT text files but binary files. Next step will be to convert these .sub files to .srt files using the best freeware conversion tool SubEdit. I will also test the file with mkvcleaver and see how it goes.
What I fail to understand is how come I could not get any track whatsoever to be extracted by mkvextract gui-2 but got all the tracks including an additional bonus of having my x264 track being properly timestamped !Last edited by pmshah; 7th Mar 2012 at 20:09. Reason: Grammar
-
If you are talking English subs you may get lucky with automatic OCR. Works for me about 90% of the time. See this thread:
https://forum.videohelp.com/threads/323154-Problem-with-PGS-to-SRT?p=2002210&viewfull=1#post2002210http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
Yes English subs are all that I am interested in. I haven't used my mother tongue in any work related environment since I left high school some 50 years ago. Even the language of my thought process has switched to English.
BTW for mental math I still use my mother tongue exclusively ! -
In that case the DVDSubEdit trick is probably worth a try. If it doesn't work you've only spent about 10 minutes on it. I hate keying in OCR. Before doing that I'll try to find the subs on a board somewhere. But if you gotta' you gotta'.
http://milesaheadsoftware.org/
Fully enabled freeware for Windows PCs. -
I have successfully recover subtitle thanks to this forum.
Acc. to this forum I have used many tools but those were not help me every time. So I am here to simplify this procedure,
I used MKVtoolnix and BDsup2sub 3.9.9
BDsup2sub is java application, you need to install java runtime environment before proceeding ,if already installed go ahead.
First thing it did same to extract" .sup file " except small changes like
$ mkvmerge -i movie.mkv
File ’movie.mkv’: container: Matroska
Track ID 1: video (V_MS/VFW/FOURCC, DIV3)
Track ID 2: audio (A_MPEG/L3)
Track ID 3: audio (A_VORBIS)
Track ID 4: subtitles (S_TEXT/UTF8)
Track ID 5: subtitles (S_TEXT/UTF8)
$ mkvextract tracks movie.mkv 4ubtitles.sup
In my case it is a 21 mb file. Then I used this file in BDsup2sub.
In BDsup2sub , output format : sub/idx
After converting to sub format, it generate 2 file which have extension .idx and .sub copy
And copy both file to the movie folder and rename same as main video file.
Yahh, you have done it.
play your video to any player with subtitle in any language.
I use sub format because srt not support hindi language.
This help me a lot, if this is helpful to you say thanks.
Similar Threads
-
Remuxed M2TS to MKV gives PGS subtitles without language flag (with Blurip)
By Quasit in forum Video ConversionReplies: 1Last Post: 30th Nov 2010, 12:31 -
Extract from avi file and add to existing mkv file
By pathumx in forum MacReplies: 6Last Post: 8th Apr 2010, 18:57 -
Extract Subtitle Stream from MPG (Used VOB2MPG to create file)
By secretsubscriber in forum SubtitleReplies: 2Last Post: 4th Jun 2009, 14:02 -
How to extract subtitle stream in .divx file and save as idx/sub
By newnews in forum SubtitleReplies: 1Last Post: 29th Jul 2008, 13:36 -
[c++] vfw.h how to extract video stream into separate file?
By dreel in forum ProgrammingReplies: 0Last Post: 3rd Dec 2007, 16:57