Networked Media Tank
[subtitles] - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: Popcorn Hour 100 Series (Sigma 8635) - A-100/A-110/B-110 (/forumdisplay.php?fid=82)
+--- Forum: 100 Series - Audio/Photo/Subtitles (/forumdisplay.php?fid=29)
+--- Thread: [subtitles] (/showthread.php?tid=19365)



[subtitles] - malum - 03-20-2009 08:40 PM

I have just ripped The Kingdom from Blu Ray to my PCH-110. I find that the subs don't seem to work (this is English subs for the bits where the audio is in Arabic)
I ripped all the PGS files and muxed them with the movie into a ts file. No dice.

I downloaded the srt file but it is obviously from a different frame rate as they drift off quickly. I have Subtitle Workshop so I can change the timings but I have no idea what the framerate of the movie that the subs came from is and I also don't know the frame rate of the Blu Ray rip, I think it's 23.976.

Trial and error seems to be getting me nowhere fast. It doesn't help that I don't know if there should be a delay before the subs start.


Help! please!


RE: [subtitles] - PassThePeas - 03-21-2009 12:28 AM

(03-20-2009 08:40 PM)malum Wrote:  I have just ripped The Kingdom from Blu Ray to my PCH-110. I find that the subs don't seem to work (this is English subs for the bits where the audio is in Arabic)
I ripped all the PGS files and muxed them with the movie into a ts file. No dice.

I downloaded the srt file but it is obviously from a different frame rate as they drift off quickly. I have Subtitle Workshop so I can change the timings but I have no idea what the framerate of the movie that the subs came from is and I also don't know the frame rate of the Blu Ray rip, I think it's 23.976.

Trial and error seems to be getting me nowhere fast. It doesn't help that I don't know if there should be a delay before the subs start.


Help! please!

PCH actually doesn't support PGS inside m2ts (PGS being the Presentation Graphic Stream, placeholder of the bitmap subs of the m2ts).

So, it's quite logical you can't see them.

You have two options to get your subs displayed by the pch, both based on the same principle : placing a srt file next to your .m2ts with the same name. So the real question (as for now) is to know how to get that srt file :
1 - You can rip the subs by yourself (quite painful, see some explanations below)
2 - You can get a srt file from somewhere else, but you may have to resync it

Method 1, aka DIY Method (Do It Yourself Wink)
- Use tsMuxer or eac3to to demux the PG Stream (you'll get a .sup file)
- Read it with SubRip, which contains an OCR that you'll use to OCR the pictures to a text file. [EDIT]The app to OCR is SupRip (and not SubRip as said initially).
- Spend a lot of time to rework the OCR'd file to make it clean, especially if your language contains special characters (I know what I'm talking about, I'm french, and OCR Softs always get confused with éèê, iïî, ....).


Method 2, aka Download and Resynch
- You got the first part, let's skip to the sync issues
- Use tsMuxer or eac3to to demux the PGS (.sup file again)
- SUPread_v052b2 to read the subs (you can actually see them displayed with their timings)
- Load the srt file in SubtitleWorkshop
- What I did most of the time was using a nice functionality of SW : "Adjust Subtitles" : it allows you to define the timestamp of the first and last subtitles, and then does "time stretching" of all the subs between those 2. You can get the correct timings using SUPread and apply them to the downloaded srt file (just check out those are the right ones, getting rid of the non-movie subs in the srt).
- And that's it !!


With method 1, you get the exact subs (if they don't contain special characters you can't get in an srt file) with the exact timings, but it's quite long and painfull, and it also is a real spoiler when you do it with unseen material.
Method 2, is much lighter but rely very much on the quality of the srt (transcription AND timings).

You can find many material on the softs I mentioned (eac3to, tsMuxer, ...) in the doom9 forums (where you'll find links to download them too). All of them are freeware.

Peas.


RE: [subtitles] - malum - 03-21-2009 10:02 AM

Thank you for your comprehensive reply.
Explains why I couldn't see the PGS subs!
I scoured the internet and found a set of subs ripped from an HD-DVD so they look like they have the same timings. (from here http://subscene.com/) so hopefully problem sorted.
The DIY method looks like a pain in the backside :lol

The second method looks like a useful thing to know, so thanks again.


RE: [subtitles] - cheaper_popcorn - 03-21-2009 11:56 AM

Excellent PassThePeas - you seem to know your stuff - any chance of a Wiki article or a tutorial in the How To section?


RE: [subtitles] - chris57 - 03-21-2009 12:27 PM

Yes a guide with screenshots in the Guides section would be great.


RE: [subtitles] - PassThePeas - 03-21-2009 01:55 PM

Glad I could be of help.
@chris57 & @cheaper_popcorn : After some thoughts, I think I'll go for the wiki page, but since I'm quite new to this, I can't really say how long this will take. But this definitely goes into my to-do list.

Peas.


RE: [subtitles] - chris57 - 03-21-2009 03:07 PM

If you need any help with the WIKI article just let me know.


RE: [subtitles] - PassThePeas - 03-21-2009 06:07 PM

(03-21-2009 03:07 PM)chris57 Wrote:  If you need any help with the WIKI article just let me know.

Wiki page done .... comments are allowed Wink !!!

http://www.networkedmediatank.com/wiki/index.php/M2TS_Subtitles_HowTo


RE: [subtitles] - chris57 - 03-22-2009 10:16 AM

Looks great if anyone has any tips etc on any WIKI page you will see the Discussion tab when you login.

Just enter and comments there for the article:-
http://www.networkedmediatank.com/wiki/index.php?title=Talk:M2TS_Subtitles_HowTo&action=edit