Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Jan 2008
Posts: 19
|
Linux + SUP Subtitles
I thought I would pass on some experience gained this weekend. Searches indicate this is not covered elsewhere, specifically, for Linux.
I was working on recoding the blu-ray U.S. version of A Bridge Too Far. This movie has multiple languages and the non-english portions are covered by forced subtitles. To my knowledge, there are no re-coding utilities, or players, for Linux that directly support blu-ray SUP. However, you can convert them to vobsub format. The procedure is simple. First, demux the graphics stream desired from the m2ts. I use TSMuxer, which is available for linux. Next, use BDSup2Sub to convert the SUP subs to vobsub format. This utility is written in Java, so it works just fine under Linux, as long as you have Java installed. Once downloaded and unzipped, you can run it from shell with the following: Code:
java -server -jar BDSub2Sub.jar Hope this helps! -Jason Last edited by jason50146; 19th April 2009 at 20:46. |
![]() |
![]() |
![]() |
#4 | Link |
Registered User
Join Date: Sep 2006
Posts: 249
|
I have the "El Norte" Blu-Ray and I'd like to see English subtitles. How can I get the sup subtitles so I can use BDSup2Sub?
I usually decrypt and rip with dumphd, demux with eac3to, and then remux with tsmuxer. I've never bothered with subtitles before since sup doesn't work in linux yet. EDIT: I think I see how to do it. I'll report back. Last edited by ggking7; 22nd April 2009 at 23:19. |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Sep 2006
Posts: 249
|
I've got an .idx and .sub file now. Does anyone know how to write a tsmuxer meta file to include subtitles? I tried adding this:
S_TEXT/UTF8, subtitles.sub, video-width=1920, video-height=1080, fps=24 but I got: Can't convert source text to UTF-32. Invalid chars sequence. If I switch to "S_HDMV / PGS", I get: Unsupported codec S_HDMV / PGS |
![]() |
![]() |
![]() |
#6 | Link | |
Registered User
Join Date: Jan 2008
Posts: 19
|
Quote:
Edit: There is a thread for TSMuxer in the authoring section. You may find something there. http://forum.doom9.org/showthread.ph...muxer+subtitle |
|
![]() |
![]() |
![]() |
#7 | Link | ||
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
However, since your subtitle source is BD-SUP, you could simply feed that to TSMuxeR. Whatever the source format is, TsMuxeR can only give you a M2TS/TS stream with BD-SUPs, so it won't help you with getting the subtitles to display in Linux players. Quote:
|
||
![]() |
![]() |
![]() |
#9 | Link | |
Registered User
Join Date: Jun 2013
Posts: 2
|
Quote:
Through the years of occasional DVD ripping I've grown used to the following procedure: extract the program stream with tcextract (transcode suite), convert it to PGM images w/ timecodes with subtitle2pgm (subtitleripper), then OCR it. So the only logical choice for me was to make a functional replacement for subtitle2pgm that can handle BD-SUP, and here it is: sup2pgm It's pretty much in beta right now, so any feedback is appreciated. Last edited by ksa242; 19th June 2013 at 19:13. |
|
![]() |
![]() |
![]() |
#10 | Link |
Guest
Posts: n/a
|
That's untrue. ffmpeg had Bluray PGS support added 4 years ago. VLC has had the same for around 3 years or so. Handbrake added Bluray subtitle support about a year and a half ago. If the player or utility you use in 2013 still doesn't support Bluray PGS than it's likely junk.
Last edited by paradoxical; 19th June 2013 at 19:38. |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,564
|
@paradoxical: at least the latest ffmpeg compiled with libbluray can't extract pgs subtitles here,... (there's also an entry about it in the bug tracker: https://ffmpeg.org/trac/ffmpeg/ticket/2208)
-> How do you extract pgs subtitles with ffmpeg? (most of the time I can use tsMuxeR as alternative, but whenever the current mpls consists of too many m2ts files, tsMuxeR always creates to large output file names ![]() |
![]() |
![]() |
![]() |
#12 | Link | |
Registered User
Join Date: Jun 2013
Posts: 2
|
Quote:
Handbrake is masked in Gentoo and depends on masked bleeding edge libs, which I'm not yet ready to accept. Can it convert PGS subtitles to anything else, preferably OCRable? Last edited by ksa242; 20th June 2013 at 13:25. |
|
![]() |
![]() |
![]() |
Tags |
.sup, bdsup2sub, java, linux, subtitle |
Thread Tools | Search this Thread |
Display Modes | |
|
|