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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th May 2009, 23:16   #21  |  Link
rotty
Registered User
 
Join Date: Dec 2004
Posts: 518
1.10.5

Same result with tsmuxer 1.10.5, It says it does not recognise some files and will ignore them, (these being the extra sub files).
rotty is offline   Reply With Quote
Old 7th June 2009, 15:50   #22  |  Link
rotty
Registered User
 
Join Date: Dec 2004
Posts: 518
no result

Quote:
Originally Posted by micha019 View Post
Did no one find a solution?
I have the same Problem like rotty with mummy as blu-ray.
Did you find a soloution to this problem. I sent quite a few private messages to Roman (tsmuxer) but didnt get a reply
rotty is offline   Reply With Quote
Old 25th September 2009, 11:35   #23  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Sorry to bring this old post up, but has anybody found a solution to extract text subtitles?... Are they in the .m2ts file or are they in any other file?

Greetings
chompy is offline   Reply With Quote
Old 25th September 2009, 15:56   #24  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
You can probably use tsRemux and demux the subtitle stream. If you succeed drop me a PM.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 25th September 2009, 19:15   #25  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Quote:
Originally Posted by deank View Post
You can probably use tsRemux and demux the subtitle stream. If you succeed drop me a PM.
The "problem" is that subtitles from #33 to #68 are in separate streams: the first 32 subtitles are in main movie stream (00000.mt2s), but subtitle #33 is in 00001.m2ts, subtitle #34 is in 00002.mt2s...

tsRemux opens these m2ts streams that only contain the PGS subtitle perfect, but the only optin available are to remux them to .ts, .m2ts and bluray so the problem is the same as I cannot demux the stream to get the .sup

If I try to open these streams with tsMuxer, I get the message of "Unsupported format" and it cannot find any track.

Finally I've tried eac3to which also finds the PGS subpicture, but if I use the -demux parameter I get this error: "The source file doesn't contain any video/audio tracks. <ERROR>"

Do you know any software that doesn't need video/audio tracks in a m2ts in order to demux it?

Greetings
chompy is offline   Reply With Quote
Old 25th September 2009, 19:18   #26  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
If tsRemux detects these text subtitles just right-click the subtitle stream and select to demux/save in elementary stream (ES) or program stream (PES).

Text subtitles ARE NOT SUP subtitles - don't confuse both formats. SUP are pictures, Text subtiels are TEXT
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 25th September 2009, 21:01   #27  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Quote:
Originally Posted by deank View Post
If tsRemux detects these text subtitles just right-click the subtitle stream and select to demux/save in elementary stream (ES) or program stream (PES).

Text subtitles ARE NOT SUP subtitles - don't confuse both formats. SUP are pictures, Text subtiels are TEXT
Ok, lots of thanks for the tip. Extracting as ES results in a 1KB file with no data, extracting as PES I get the subtitles but I don't know wich format they have (I've uploaded the original mt2s and the resulting PES here so if you want, you can give me a hand with it).

Now I only need to know how can I remux these subtitles with the movie, as for example tsMuxer doesn't support neither tsRemux does (only SUPread streams seems to be supported).

Greetings
chompy is offline   Reply With Quote
Old 25th September 2009, 21:20   #28  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
Right

But the files you sent can be converted to SRT and then be accepted by tsMuxeR or multiAVCHD.

edit: It is the first time I see a text subtitle stream, but it is obvious that it can be converted to SRT, since you have all the text in the .m2ts file... the problem is 'timings'...
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 25th September 2009 at 21:30.
deank is offline   Reply With Quote
Old 25th September 2009, 21:36   #29  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
So you mean that this text subtitle stream has an unknown format and I have to manually convert to SRT and set its timings?... Because do you know any way to link via BDedit the m2ts with the movie remuxed and the original m2ts containing the text subtitles?
chompy is offline   Reply With Quote
Old 25th September 2009, 21:40   #30  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
I said it is not a big deal to convert the extracted stream (or directly from m2ts) to SRT subtitles.

If you need to change it and re-mux it -then it may be a problem. Of course it is possible just to edit the m2ts file if you want to translate the subtitles or anything...

edit: since I think it will brake the rules of the forum, please PM me with the playlist (mpls) files that refer this text-subtitle m2ts so I can take a look at the timings and check if I can make it generate a simple SRT file with timings (i.e. extract text subtitles from the m2ts to srt)
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 25th September 2009 at 21:43.
deank is offline   Reply With Quote
Old 25th September 2009, 22:48   #31  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
I'm sorry but no mpls refer to these text subtitles streams, so I think timing is defined in the subtitle itself.

I'm looking to BDedit trying to find how these text subtitles m2ts are linked to the main movie m2ts, but I a neeb and it's quite hard... A debugger similar to DVD-Remake would really help (maybe in a future release ).

If I send you index.bdmv and Movie Object.bdmv could help in any way?
chompy is offline   Reply With Quote
Old 25th September 2009, 23:01   #32  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
No, bdmv files won't help.

m2ts file is referred as normal or 'subpath' in some of the playlist files - it is for sure - how did you find it then if you can't find it in a playlist file?

And the playlist is only needed to define the start-time of the playlist, otherwise the information for subtitle display time is usless (or it will be off with 0-30 seconds, which of course is easy to correct with Subtitle Workshop).
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 25th September 2009, 23:09   #33  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
You're right I missed looking all subpath in main movie playlist (I only looked at first entry)... Oh, and I found it just checking each m2ts

You have a PM
chompy is offline   Reply With Quote
Old 25th September 2009, 23:19   #34  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
Thanks... Let me take a look at it and post back later (since it is 00:20 here)...
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 25th September 2009, 23:24   #35  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Thanks to you, and don't worry I don't need it urgently (here it's just one hour earlier, 23:24h now)
chompy is offline   Reply With Quote
Old 26th September 2009, 14:46   #36  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
textST

I wrote a small tool to process .pes files extracted with tsRemux or directly the original m2ts files with text subtitles...

Here is what came out of yours:

Code:
Detected 41 presentation marks:

001 00:02:29,538 00:02:33,000 -> What are you doing here?
002 00:02:51,227 00:02:53,771 -> Who has touched you?!
003 00:03:00,778 00:03:01,862 -> Imhotep?!
...
039 01:49:21,986 01:49:23,446 -> Give me that book!!
040 01:49:37,668 01:49:39,796 -> Now you die.
041 01:50:30,471 01:50:32,723 -> Now it's your turn.
Code:
1
00:02:29,538 --> 00:02:33,000
What are you doing here?

2
00:02:51,227 --> 00:02:53,771
Who has touched you?!

3
00:03:00,778 --> 00:03:01,862
Imhotep?!

...

39
01:49:21,986 --> 01:49:23,446
Give me that book!!

40
01:49:37,668 --> 01:49:39,796
Now you die.

41
01:50:30,471 --> 01:50:32,723
Now it's your turn.
I haven't used the presentation times from the playlist file, only those in the textST stream, but if you can compare with the movie - let me know if they fit at all.

textST (CLI) (630KB) self extractable 7z archive (contains calclib.dll and textST.exe), or if you're using multiAVCHD then you can download just the executable textST.exe (80kb) and put it in your multiAVCHD folder.

Drag-drop your .m2ts or .pes file to textST.exe - it will create a .srt file, or if using command prompt:

textST in_file [out_file]

* in_file must be in .m2ts or .pes format, containing only textST text subtitle stream (one per file)
* out_file if not set, output will be written to in_file.srt

It does quite basic parsing, ignoring styles, fonts, positions and other information, extracting only the text and timestamps.

Dean
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP

Last edited by deank; 26th September 2009 at 20:30.
deank is offline   Reply With Quote
Old 26th September 2009, 16:36   #37  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Lots of thanks for this great software... Unfortunately, the times don't match with the film. I'm not 100% sure, but looking at the times I think that maybe some 50fps -> 24fps time conversion should help.

Greetings
chompy is offline   Reply With Quote
Old 26th September 2009, 16:38   #38  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
Yep.. you can download the .exe only and try again... it was using 45khz multiplier instead of 90khz.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 26th September 2009, 17:21   #39  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 196
Lots of thanks again!!

I see that you've also fixed the time format in the srt. I'll try it again tonight in a new remux (I have to leave for 3 hours) and give you me feedback.

Greetings
chompy is offline   Reply With Quote
Old 26th September 2009, 17:31   #40  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,248
I compared the output with some .srt subtitles I found on the internet and it seems that it is now okay... It is possible that a start-offset / delay has to be applied, but once you compare it with your movie you will let me know if there is need for adjustment.

Yep, I fixed the dot (.) back to comma (,) as it should be in SRT - just overlooked it the first time.

Dean
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.