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 > Capturing and Editing Video > HDTV / DVB / TiVo

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2010, 07:20   #1  |  Link
richardcunninghan
Registered User
 
Join Date: Mar 2010
Posts: 3
Extract SSA Subtitles from Teletext

Dear Forum.
I want to Demux a TS file with ProjectX.
And I want to extract the m2v, mp2 and SSA (subtitle format).
I extract the subtitles from Teletext to SSA because after that I convert the file with VirtualDub and this is the only subtitle format that works with VirtualDub.

I want to demux the subtitles from the 888 page from Teletext. And I am sure they are there. Because if I convert the files with the TS-Doctor I can see them with the VLC (Videolan)
Of course I select page 888 and subtitle export format SSL in ProjectX.

The problem is that I cannot get the SSA file.
And I get this message from ProjectX:
PTS without a frame

Below you have the log file
Thank you.

Code:
ProjectX 0.90.4.00 (30.03.2006)

-> working with collection 0
 
-> save normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE 
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: ignore scrambled packets
-> TS: enhanced search for open packets
-> TS: join file segments (of Dreambox®)
-> TS: generate PMT stream dependent
-> get only enclosed PES/TS packets
-> concatenate different recordings
-> ensure 1st PES-packet start with video
-> generate PCR/SCR from PTS
 
-> write output files to: 'C:\Temp\FILMS\TheItalianJob'

-> Input File 0:  'C:\Temp\FILMS\TheItalianJob\001.dvr' (969.074.688 bytes)
-> Filetype is TS (generic PES Container)
-> demux
-> Service ID 0x2404
-> PMT 0x10A refers to these usable streams:
Video:
PID: 0x931(#6)
Audio:
PID: 0x932(eng)(#150)
PID: 0x933(NAR)(#151)
Teletext:
PID: 0x934(eng_s888 eng_i100 )(#70)
Subpict.:
PID: 0x935(eng_0x10_p2_a2 )

!> missing sync. byte @ 0
!> found sync. byte @ 65536
ok> PID 0x934 has PES-ID 0xBD (private stream 1) (65536 #1) 
!> PID 0x11 (BAT) (68356 #16) -> ignored
ok> PID 0x931 has PES-ID 0xE0 (MPEG Video) (80388 #80) 
!> PID 0x12 (EIT) (82832 #93) -> ignored
ok> PID 0x932 has PES-ID 0xC0 (MPEG Audio) (99940 #184) 
!> PID 0x10A (PMT) (132840 #359) -> ignored
!> PID 0x0 (PAT) (171192 #563) -> ignored
-> video basics: 704*576 @ 25fps @ 0.7031 (16:9) @ 15000000bps, vbvBuffer 98
-> starting export of video data @ GOP# 0
ok> PID 0x935 has PES-ID 0xBD (private stream 1) (SubID 0x20) (1809424 #9277) 
!> GOP# 4827, PES_header and extension found in ES, filled with zero... (GOP offs. 159951)
packs: 4500297 100% 969074688

-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 58348/ 0/ 0/ 4849/ 0/ 0
-> Video length: 58348 frames @ 00:38:53.920
-> GOP summary: min. 8, max. 36 fields; contains interlaced frames
-> avg. nom. bitrate 2531352bps (min/max: 740000/6538400)
-> set first sequenceheader bitrate to 6538400bps
---> new File: C:\Temp\FILMS\TheItalianJob\001.m2v

--> AC-3/DTS Audio on PID 0x934
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 10:58:54.021, last packet 11:37:14.421
Video PTS: start 1.GOP 10:58:52.521, end last GOP 11:37:46.441
-> adjusting audio at video-timeline
!> missing syncword @  0, @ 00:00:00.000
!> PTS without a frame (138/139)
!> PTS without a frame (276/277)
!> PTS without a frame (414/415)
!> PTS without a frame (552/553)
!> PTS without a frame (690/691)
!> PTS without a frame (828/829)
!> PTS without a frame (966/967)
!> PTS without a frame (1104/1105)
!> PTS without a frame (1242/1243)

.....
.....
five hundred lines as these
....
....

 PTS without a frame (67344/67345)
!> PTS without a frame (67482/67483)
!> PTS without a frame (67620/67621)
!> PTS without a frame (67758/67759)
!> PTS without a frame (67896/67897)
-> more than 500 warnings/errors, stop logging..
audio frames: wri/pre/skip/ins/add 0/0/0/0/0 @ 00:00:00.000 done...

--> MPEG Audio (0xC0) on PID 0x932
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 10:58:52.151, last packet 11:37:46.231
Video PTS: start 1.GOP 10:58:52.521, end last GOP 11:37:46.441
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 192kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 63793/0/0/12/0 @ 00:25:31.032 done...
---> new File: 'C:\Temp\FILMS\TheItalianJob\001.mp2'

--> Subpicture (SubID 0x20)
-> selected DVB subpicture color model: (0) 4 colors ; fixed to page id: 

-> export format: sup
-> temp. file: 001.sp (960665 bytes)
Subpicture PTS: first packet 10:58:57.218, last packet 11:37:11.332
Video PTS: start 1.GOP 10:58:52.521, end last GOP 11:37:46.441
-> adjusting subpicture at video-timeline
-> source is DVB Subtitle...
282 subpictures written...
---> new File: C:\Temp\FILMS\TheItalianJob\001.sup

summary of created media files:
.Video (m2v):	58348 Frames	00:38:53.920		'C:\Temp\FILMS\TheItalianJob\001.m2v'
Audio 0 (mp2):	63793 Frames	00:25:31.032	0/0/12/0	'C:\Temp\FILMS\TheItalianJob\001.mp2'
SubPicture 0:	282 subpictures		'C:\Temp\FILMS\TheItalianJob\001.sup'
=> 775.987.584 bytes written...
-> we have 1295 warnings/errors.
richardcunninghan is offline   Reply With Quote
Old 12th April 2010, 08:00   #2  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,765
extract them as SRT (it works for me) then convert them to SSA using one of the two existing standalone converters.
Ghitulescu is offline   Reply With Quote
Old 13th April 2010, 06:09   #3  |  Link
richardcunninghan
Registered User
 
Join Date: Mar 2010
Posts: 3
Dear Ghitulescu.

Thank you for your answer but unfortunately is the same.

That is very strange because I really know that the Teletext is there, but I cannot extract it.
And many hundred warnings about:

!> PTS without a frame (43332/43333)
!> PTS without a frame (43470/43471)
!> PTS without a frame (43608/43609)
!> PTS without a frame (43746/43747)
!> PTS without a frame (43884/43885)
!> PTS without a frame (44022/44023)
!> PTS without a frame (44160/44161)
!> PTS without a frame (44298/44299)


There is the log file after Demux as SRT.



Code:
ProjectX 0.90.4.00 (30.03.2006)

-> working with collection 0
 
-> save normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE 
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: ignore scrambled packets
-> TS: enhanced search for open packets
-> TS: Finepass® file format adaption
-> TS: generate PMT stream dependent
-> TS: generate info TTX service (test)
-> concatenate different recordings
 
-> write output files to: 'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9'

-> Input File 0:  'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.dvr' (244.988.928 bytes)
-> Filetype is TS (generic PES Container)
-> demux
-> Service ID 0x2078
-> PMT 0x102 refers to these usable streams:
Video:
PID: 0x912(#3)
Audio:
PID: 0x913(eng)(#168)
Teletext:
PID: 0x914(eng_s888 eng_i100 )(#67)
Subpict.:
PID: 0x915(eng_0x10_p2_a2 )

!> missing sync. byte @ 0
!> found sync. byte @ 2690
!> missing sync. byte @ 2878
!> found sync. byte @ 6297
!> missing sync. byte @ 6485
!> found sync. byte @ 7338
!> missing sync. byte @ 7526
!> found sync. byte @ 7794
!> missing sync. byte @ 7982
!> found sync. byte @ 8738
!> missing sync. byte @ 8926
!> found sync. byte @ 9194
!> missing sync. byte @ 9382
!> found sync. byte @ 65536
!> PID 0x11 (SDT) (75876 #62) -> ignored
ok> PID 0x914 has PES-ID 0xBD (private stream 1) (76064 #63) 
ok> PID 0x912 has PES-ID 0xE0 (MPEG Video) (76252 #64) 
!> PID 0x12 (EIT) (83020 #100) -> ignored
!> PID 0x0 (PAT) (105016 #217) -> ignored
ok> PID 0x913 has PES-ID 0xC0 (MPEG Audio) (115920 #275) 
!> PID 0x102 (PMT) (144872 #429) -> ignored
-> video basics: 704*576 @ 25fps @ 0.7031 (16:9) @ 15000000bps, vbvBuffer 98
-> starting export of video data @ GOP# 0
!> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
ok> PID 0x915 has PES-ID 0xBD (private stream 1) (SubID 0x20) (1158756 #5822) 
packs: 1152451 100% 244988928

-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 13906/ 1/ 0/ 1155/ 0/ 0
-> Video length: 13906 frames @ 00:09:16.240
-> GOP summary: min. 12, max. 36 fields; contains interlaced frames
-> avg. nom. bitrate 2734039bps (min/max: 1089200/5190000)
-> set first sequenceheader bitrate to 5190000bps
---> new File: E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.m2v

--> AC-3/DTS Audio on PID 0x914
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 00:43:34.441, last packet 00:52:45.961
Video PTS: start 1.GOP 00:43:30.181, end last GOP 00:52:46.421
-> adjusting audio at video-timeline
!> missing syncword @  0, @ 00:00:00.000
!> PTS without a frame (138/139)
!> PTS without a frame (276/277)
!> PTS without a frame (414/415)
!> PTS without a frame (552/553)
!> PTS without a frame (690/691)
!> PTS without a frame (828/829)
!> PTS without a frame (966/967)
!> PTS without a frame (1104/1105)
!> PTS without a frame (1242/1243)
!> PTS witho...
....
....
many lines as these...
...
...
...
...
...

!> PTS without a frame (65826/65827)
!> PTS without a frame (65964/65965)
!> PTS without a frame (66102/66103)
!> PTS without a frame (66240/66241)
-> more than 500 warnings/errors, stop logging..
audio frames: wri/pre/skip/ins/add 0/0/0/0/0 @ 00:00:00.000 done...

--> MPEG Audio (0xC0) on PID 0x913
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 00:43:29.651, last packet 00:52:46.211
Video PTS: start 1.GOP 00:43:30.181, end last GOP 00:52:46.421
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 192kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 23177/0/0/0/4 @ 00:09:16.248 done...
---> new File: 'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.mp2'

--> Subpicture (SubID 0x20)
-> selected DVB subpicture color model: (0) 4 colors ; fixed to page id: 

-> export format: sup
-> temp. file: 003.sp (608230 bytes)
-> set new picture display mode: all forced
Subpicture PTS: first packet 00:43:33.869, last packet 00:52:46.349
Video PTS: start 1.GOP 00:43:30.181, end last GOP 00:52:46.421
-> adjusting subpicture at video-timeline
-> source is DVB Subtitle...
201 subpictures written...
---> new File: E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.sup

summary of created media files:
.Video (m2v):	13906 Frames	00:09:16.240		'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.m2v'
Audio 0 (mp2):	23177 Frames	00:09:16.248	0/0/0/4	'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.mp2'
SubPicture 0:	201 subpictures		'E:\AliDvr\[TS]2010-04-09.15.35.15-Channel 4 +1- 9\003.sup'
=> 203.945.434 bytes written...
-> we have 721 warnings/errors.
richardcunninghan is offline   Reply With Quote
Old 13th April 2010, 09:59   #4  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,765
You should have the SUP file. Is this there? In case it is (it should be), then you need to change the format of page 888 to SRT (I'm not sure you can have SSA, I don't have the video PC with me to check it).
Ghitulescu 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 08:08.


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