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 > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th August 2007, 22:21   #101  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
You have to give the video stream number because xport makes the PTS offset from the first video PTS.

Code:
xport Transport Stream Demuxer 0.96+

Usage:
        xport <-pavtdszgh2uj> <infile> <program number> <video stream number> <audio stream number> <subtitle stream number>

Options:
        p = parse only, do not demux to video and audio files
        a = dump audio PTS
        v = dump video PTS
        u = dump subtitle (PGS) PTS
        t = GOP timecode mode, count repeated fields/frames
        d = dump all PID's (useful for debugging muxers, but tons of output)
        s = suppress TS rate dumping (useful when piping output to a file)
        z = demux to PES streams (instead of elementary streams)
        g = dump ATSC PSIP information
        h = input file is in HDMV (AVCHD and Blu-ray) format (192 byte packets)
        2 = only extract 2 channels of HDMV LPCM audio from multi-channel tracks

        j = just demux subtitle stream
Pelican9 is offline   Reply With Quote
Old 12th August 2007, 22:29   #102  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
where is 0.96+

i only have 0.96 from his site, i just downloaded a 0.97 version now from his site but that still doesnt have the j option

Code:
H:\>xport -hj Z:\GHOST_RIDER_BR\BDMV\STREAM\00066.m2ts 1 1 0 1
xport Transport Stream Demuxer 0.97

Usage:
        xport <-pavtdszgh2> <infile> <program number> <video stream number> <aud
io stream number>

Options:
        p = parse only, do not demux to video and audio files
        a = dump audio PTS
        v = dump video PTS
        t = GOP timecode mode, count repeated fields/frames
        d = dump all PID's (useful for debugging muxers, but tons of output)
        s = suppress TS rate dumping (useful when piping output to a file)
        z = demux to PES streams (instead of elementary streams)
        g = dump ATSC PSIP information
        h = input file is in HDMV (AVCHD and Blu-ray) format (192 byte packets)
        2 = only extract 2 channels of HDMV LPCM audio from multi-channel tracks

Last edited by woah!; 12th August 2007 at 22:37.
woah! is offline   Reply With Quote
Old 12th August 2007, 22:41   #103  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
You can download from my page:
http://pel.hu/down/xportsup096+.zip
Pelican9 is offline   Reply With Quote
Old 12th August 2007, 23:00   #104  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
yep there is a problem with tsremux demux by the look of it. heres the 1st sub info using xport:

00000002: PTS=004B7DF2 (00:00:54,972)
0000000A: PCS (13) state: 2
0000002A: WDS1 (0A) id: 0 [674,876] - [1254,1025]
00000041: PDS (142) 64 palettes
00000190: ODS (6931) 580 x 149
00006ACE: END
00006AD3: PTS=005012FE (00:00:58,308)
00006ADB: PCS (0B) state: 0
00006AF3: WDS1 (0A) id: 0 [674,876] - [1254,1025]
00006B0A: END

54secs start

will see if i can author it and will let you know. thx
woah! is offline   Reply With Quote
Old 12th August 2007, 23:05   #105  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Bingo!
That's why I didn't want to make that feature to SUPread...

Last edited by Pelican9; 12th August 2007 at 23:09.
Pelican9 is offline   Reply With Quote
Old 12th August 2007, 23:09   #106  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
i thought tsremux was the only way to extract the subs, didnt know xport had a version for it
woah! is offline   Reply With Quote
Old 12th August 2007, 23:23   #107  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
I've just written a pm to drmpeg to ask to put back this feature to the newest version of xport.
Pelican9 is offline   Reply With Quote
Old 12th August 2007, 23:24   #108  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by woah! View Post
i thought tsremux was the only way to extract the subs, didnt know xport had a version for it
Tsremux was not the only one but until this time it worked without any problem...
Pelican9 is offline   Reply With Quote
Old 12th August 2007, 23:26   #109  |  Link
Rectal Prolapse
Registered User
 
Join Date: Mar 2005
Posts: 433
Pelican9, seems there is still a bug in processing the Face/Off subtitles.

Line 19 of the bitmap shows corruption in the image - seems two lines on that screen are running into each other and also combing!

anyways, thanks for this new version...
Rectal Prolapse is offline   Reply With Quote
Old 12th August 2007, 23:32   #110  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
well i think tsremux needs to use the video stream aswell when extracting the sub, i tried in xport with no video/audio picked and it output the same timings as tsremux did before. with the video/audio streams 1 1 1 1 in xport it then gave me the correct timings.
woah! is offline   Reply With Quote
Old 12th August 2007, 23:40   #111  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Rectal Prolapse View Post
Pelican9, seems there is still a bug in processing the Face/Off subtitles.

Line 19 of the bitmap shows corruption in the image - seems two lines on that screen are running into each other and also combing!
Did you send that subtitle to me?
What was the file name (if yes)?

Edit:
I've just found it.
Strange. Didn't I fix this bug at around version 0.4?
I'll try to fix it again tomorrow.

Last edited by Pelican9; 13th August 2007 at 00:08.
Pelican9 is offline   Reply With Quote
Old 13th August 2007, 08:22   #112  |  Link
ahmguy
Embedded Coder
 
Join Date: Aug 2007
Posts: 7
Quote:
Originally Posted by Pelican9 View Post
You think wrong.
Why do you ask if you know everything better?
Pelican9:
Thanks for help.

I think "bits0001.sup" is subtitle file and does not contain any Presentation Graphics Stream PGS.

I wish to have PGS sample stream. It will be nice if some one can provide it.

Thanks,

Ahmguy.

Addition :

May be I was wrong.

[/off] I am vary much new to subtitle and PGS. I was trying to compare stream with doc and it did not work.[/off]

Thanks,

Viral

Last edited by ahmguy; 13th August 2007 at 08:45.
ahmguy is offline   Reply With Quote
Old 13th August 2007, 17:56   #113  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by ahmguy View Post
Pelican9:
Thanks for help.

I think "bits0001.sup" is subtitle file and does not contain any Presentation Graphics Stream PGS.

I wish to have PGS sample stream. It will be nice if some one can provide it.

Thanks,

Ahmguy.

Addition :

May be I was wrong.

[/off] I am vary much new to subtitle and PGS. I was trying to compare stream with doc and it did not work.[/off]

Thanks,

Viral
You can think anything, believe or not, but that is definitely a PGS.
Read this and the HD subtitle ripping thread and you can find the structure of the sup file.
And please do not ask PGS again and again and again.
Pelican9 is offline   Reply With Quote
Old 14th August 2007, 11:43   #114  |  Link
ahmguy
Embedded Coder
 
Join Date: Aug 2007
Posts: 7
Quote:
Originally Posted by Pelican9 View Post
You can think anything, believe or not, but that is definitely a PGS.
Read this and the HD subtitle ripping thread and you can find the structure of the sup file.
And please do not ask PGS again and again and again.
Thanks... This really cleared my view.

Sorry if u felt, I ask u too many times.
ahmguy is offline   Reply With Quote
Old 15th August 2007, 21:41   #115  |  Link
big-guy
Registered User
 
Join Date: Feb 2007
Posts: 9
Hello,
I'm trying to rip a BD movie. And I've finally gotten the right subtitle stream. Through xsport. The only problem remaining is, that the imagesubs aren't OCR'd that great. This is a result I get:
Code:
·· ··: :· ··· ·:·· :·-·:···,
?····· ··· :····.
While the text is pretty clearly on the picture.
Is there any way to fix that? The OCR method of Subrip is easier, you put in the letters one by one, for the ones he doesn't know. And eventually it will OCR without me typing.

Another 'error' I have, is that the timing is doubled, it is correct. But this is the beginning of my srt file:
Code:
1
00:00:56,431 --> 00:00:57,431
Was any of this for good or bad?
I really couldn't say.

2
00:00:57,432 --> 00:00:58,432
Was any of this for good or bad?
I really couldn't say.

3
00:00:58,433 --> 00:00:59,433
Was any of this for good or bad?
I really couldn't say.

4
00:00:59,434 --> 00:01:00,434
Was any of this for good or bad?
I really couldn't say.

5
00:01:00,435 --> 00:01:01,435
Was any of this for good or bad?
I really couldn't say.

6
00:01:01,436 --> 00:01:01,687
Was any of this for good or bad?
I really couldn't say.

7
00:01:02,771 --> 00:01:03,771
But like most people, I guess...
The subs are repeated, depending on how long the subtitles are meant to be displayed.
Is there any way to fix that? Except for manual editing that is...

Thanks in advance.
big-guy is offline   Reply With Quote
Old 15th August 2007, 22:00   #116  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by big-guy View Post
Is there any way to fix that?
There is no way without your help.
Share the .sup file.
Pelican9 is offline   Reply With Quote
Old 16th August 2007, 20:45   #117  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Quote:
Originally Posted by Pelican9 View Post
You can download from my page:
http://pel.hu/down/xportsup096+.zip
Could you please make a mirror for the 'normal' latest version of xport too?

I can't connect to his website!

Thanks alot in advance!
Jan Marijniszoon is offline   Reply With Quote
Old 16th August 2007, 23:07   #118  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
You can download now from my page.
Pelican9 is offline   Reply With Quote
Old 16th August 2007, 23:54   #119  |  Link
Jan Marijniszoon
Registered User
 
Jan Marijniszoon's Avatar
 
Join Date: Mar 2003
Posts: 119
Quote:
Originally Posted by Pelican9 View Post
You can download now from my page.
Thanks a bunch!
Let me take this opportunity to thank you also for your devotion in making such applications as EVOdemux!

If it weren't for guys like you and drmpeg, guys like me would be helpless in setting the first steps in exploring high definition content.

So again: thank you very much for all of your work!
Jan Marijniszoon is offline   Reply With Quote
Old 17th August 2007, 00:17   #120  |  Link
big-guy
Registered User
 
Join Date: Feb 2007
Posts: 9
Quote:
Originally Posted by Pelican9 View Post
There is no way without your help.
Share the .sup file.
OK, you can get it here:
http://files-upload.com/files/439799/bits0001.rar

Please let me know what you can do with it.

big-guy 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 19:16.


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