Extracting subtitles
Extracting subtitles
Can I get some guidance on the extracting subtitles feature in 1.14. I saw the option for the ccextractor location in advanced preferences and pointed it to mmccextr64.exe, but not sure what else I'm supposed to do or, frankly, exactly what this feature is supposed to do. I was hoping I'd be able to extract the subs and take a look at them before creating the mkv to check whether the subs were "foreign language only" subs. Thanks.
Re: Extracting subtitles
The feature makes closed captions available; up until now they have been invisible to MakeMKV.
If you want to extract the tracks for inspection you would use ccextractor directly. It will produce a text file of the track in SRT format.
Closed Captions are an earlier form of subtitles embedded in the video stream. I have seen Blu-rays that use them, but they are of most use in DVDs that do not have proper subtitles.
I've tested the new feature and it works! For some reason I had to try twice. This morning the program complained that it could not find the ccextractor program I specified, but this afternoon after a restart and setting the path again it worked.
I have used ccextractor as a standalone, and Handbrake has been able to use Closed Captions, but the addition to MakeMKV is very useful to me.
If you want to extract the tracks for inspection you would use ccextractor directly. It will produce a text file of the track in SRT format.
Closed Captions are an earlier form of subtitles embedded in the video stream. I have seen Blu-rays that use them, but they are of most use in DVDs that do not have proper subtitles.
I've tested the new feature and it works! For some reason I had to try twice. This morning the program complained that it could not find the ccextractor program I specified, but this afternoon after a restart and setting the path again it worked.
I have used ccextractor as a standalone, and Handbrake has been able to use Closed Captions, but the addition to MakeMKV is very useful to me.
Capsule film reviews: Strange Picture Scroll
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Extracting subtitles
By the way, you only have to install ccextractor and set its path in preferences on Linux. Windows and OSX versions already come with ccextractor bundled, and MakeMKV should just work.
Also, I would very much like to see a BD sample with CC. If you have one, please write to support@makemkv.com .
Also, I would very much like to see a BD sample with CC. If you have one, please write to support@makemkv.com .
Re: Extracting subtitles
Done! (Firefly tv series, Mr & Mrs Smith (2005))mike admin wrote: ↑Thu Nov 08, 2018 11:29 amAlso, I would very much like to see a BD sample with CC. If you have one, please write to support@makemkv.com .
Another nice thing about CC on DVD is that players have more flexibility in rendering them. Graphic overlay formats like VOBSUB for DVD and PGS/SUP for Blu-ray are usually displayed "as-is", which for DVD means "large and chunky". DVD graphics have to fit into the 720x480 pixel dimensions and it is hard to make smaller legible text.
With text subtitles the player can render them in high-res and make them smaller and still legible. With my OPPO player I display them in white with a transparent background so they "float" on the background image.
The downside: CC is sometimes of poor quality, often all caps or with glitches.
-Bill
Capsule film reviews: Strange Picture Scroll
Re: Extracting subtitles
I appreciate all the information. I guess the difference between closed caption type subs and the subs on a blu-ray hadn't occurred to me when I asked my question. Regardless, it's a nice feature. Thank you for your responses.
Re: Extracting subtitles
Thank you Mike for adding this feature! I really waited for it.
A suggestion: Handbrake method (don't sure what they are using) produce ASS subtitles and not SRT, which keeps the display positions on screen and therefore better. Also, this means it's a lossless conversion instead of the lossy one (that you took care of pointing out to the user).
Can you give a shot for upgrading MakeMKV with that ?
Thank you for all your work!
Re: Extracting subtitles
Handbrake converts all text subtitles to the same format, so that they only have to use one renderer. They choose that format based on there being an actual standard for Substation Alpha/Advanced SS format... As one of their people told me, SRT is a "do what doesn't break" more than "here is what you can and cannot do".
Of course, I've seen ASS break a few players - my Uebo and KDlinks players simply treated them as text, and displayed EVERYTHING in the ASS track, including comments made between people working on the file. Some frames would be filled with multiple copies of a subtitle.
Of course, I've seen ASS break a few players - my Uebo and KDlinks players simply treated them as text, and displayed EVERYTHING in the ASS track, including comments made between people working on the file. Some frames would be filled with multiple copies of a subtitle.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
Re: Extracting subtitles
But ASS can be easily converted to SRT and lose all additional data (like screen positioning and font). It's best to have lossless rip first - as all other tracks mux by MakeMKV.Woodstock wrote: ↑Sun Nov 11, 2018 8:37 pmHandbrake converts all text subtitles to the same format, so that they only have to use one renderer. They choose that format based on there being an actual standard for Substation Alpha/Advanced SS format... As one of their people told me, SRT is a "do what doesn't break" more than "here is what you can and cannot do".
Of course, I've seen ASS break a few players - my Uebo and KDlinks players simply treated them as text, and displayed EVERYTHING in the ASS track, including comments made between people working on the file. Some frames would be filled with multiple copies of a subtitle.
It's easy enough to convert the ASS to PGS if your players prefer that.
Last edited by KingLir on Mon Nov 12, 2018 12:36 pm, edited 1 time in total.
Re: Extracting subtitles
Is there a preference in settings.conf to disable the use of ccextractor? If not what is the settings key for settings.conf to set the path for ccextractor?
Re: Extracting subtitles
ccextractor will not be used unless you select a CC track. They are marked clearly.
Capsule film reviews: Strange Picture Scroll
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Extracting subtitles
It can be done in theory. Convertsion to SRT is not hardcoded, it is profile-configurable. Right now, only conversion to SRT works, but if ASS format support would be added to MakeMKV, then it would be just a matter of changing args to ccextractor in profile. I honestly had no idea that people use anything other than SRT in real life...KingLir wrote: ↑Sun Nov 11, 2018 8:51 pmBut ASS can be easily converted to SRT and lose all additional data (like screen positioning and font). It's best to have lossless rip first - as all other tracks mux by MakeMKV.Woodstock wrote: ↑Sun Nov 11, 2018 8:37 pmHandbrake converts all text subtitles to the same format, so that they only have to use one renderer. They choose that format based on there being an actual standard for Substation Alpha/Advanced SS format... As one of their people told me, SRT is a "do what doesn't break" more than "here is what you can and cannot do".
Of course, I've seen ASS break a few players - my Uebo and KDlinks players simply treated them as text, and displayed EVERYTHING in the ASS track, including comments made between people working on the file. Some frames would be filled with multiple copies of a subtitle.
It's easy enough to convert the ASS to PGS if your players prefer that.
Re: Extracting subtitles
I believe this won't give the outcome needed (preserve screen positioning of the subtitles), since CCExtractor just don't support it. Need to look what Handbrake is using to extract CC subtitles. You probably will figure it out faster than me by looking at their code / documents.mike admin wrote: ↑Tue Nov 13, 2018 1:15 pmIt can be done in theory. Convertsion to SRT is not hardcoded, it is profile-configurable. Right now, only conversion to SRT works, but if ASS format support would be added to MakeMKV, then it would be just a matter of changing args to ccextractor in profile. I honestly had no idea that people use anything other than SRT in real life...
Re: Extracting subtitles
SRT is a staple of the fan subtitle groups for one big reason - a lot of player will use them if you put both the video file and the SRT file in the same directory, as long as the file name is the same (except the extension). There are several websites that will provide .SRT files for popular movies.mike admin wrote: ↑Tue Nov 13, 2018 1:15 pmI honestly had no idea that people use anything other than SRT in real life...
But serious fan subbers use Substation Alpha, because it allows for more than just plain text. It allows setting the font, color, position, etc., of the subtitle. A popular effect is to do "karaoke" subtitles for music.
It comes at a price, though; most players won't even look for a .ass or .ssa file, so the "normal" way of dealing with them is to embed the .ass and its associated font files into an MKV file.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
-
- Posts: 4075
- Joined: Wed Nov 26, 2008 2:26 am
- Contact:
Re: Extracting subtitles
It absolutely does. It can even output "raw" format - a fixed matrix with characters and attributes (color/bold/italic etc) for each position.
Re: Extracting subtitles
Awesome. I thought Handbrake uses another tool for some reason. I hope you will have the time to add this improvement to MakeMKV....mike admin wrote: ↑Tue Nov 13, 2018 8:47 pmIt absolutely does. It can even output "raw" format - a fixed matrix with characters and attributes (color/bold/italic etc) for each position.
Thanks again!