ALUOp
17th January 2008, 04:38
I have a .ts (H.264) recorded from OTA HD program.
When I play back the recorded files, I can turn on and off the subtitle using the recording software.
I want to re-encode the file using a lower bitrate and put the subtitle back to the final MKV.
The only working program that I can find is ProjectX, but even though I selected .srt as the output format it can only output .sup & .ifo.
I also tried ccextractor, but it seems like it doesn't work on H.264 TS? It said "incomplete PES in buffer" and zero frames (see output below).
Does anyone know of any tools that can output .srt from a .ts?
The characters/fonts (Chinese not English) from the .sup (I later converted it to .sub) look different than the ones I see in the recording software, so I think the subtitle is text-based and thus should be able to be extracted.
Any ideas?
TIA :thanks:
http://i180.photobucket.com/albums/x117/ALUOp/projectx.jpg
C:\Data\Video\ccextractor.0.34\ccextractor\windows>ccextractorwin.exe c:\Video\2.ts -srt -o c:\video\2.srt
CCExtractor v0.34, cfsmp3 at gmail
----------------------------------
Input: c:\Video\2.ts
[Raw Mode: Broadcast] [Extract: 1] [TS mode: Auto] [Use MythTV code: Auto]
[Debug: No] [Buffer output: No] [Buffer input: Yes]
[Autopad: Yes] [GOP pad: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: [Latin-1] [Delay: 0] [Input type: MPEG]
[Add font color data: Yes] [Convert case: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
Creating c:\video\2.srt
-----------------------------------------------------------------
Opening file: c:\Video\2.ts
File seems to be a transport stream, enabling TS mode
99% | 00:00Warning: We don't have the complete PES in buffer.
Things may start to go wrong from this point.
Min PTS: 4294967295
Max PTS: 0
Total frames: 0
Length according to PTS (MM:SS:100s): 4294919575 (4294966501:4294967275:4294966501)
Total 2-byte blocks for field 1: 0
Total 2-byte blocks for field 2: 0
Total length according to CC blocks (MM:SS): 00:00
Number of likely false picture headers (discarded): 1
Done, processing time = 1 seconds
This is alpha software. Report issues to cfsmp3 at gmail...
When I play back the recorded files, I can turn on and off the subtitle using the recording software.
I want to re-encode the file using a lower bitrate and put the subtitle back to the final MKV.
The only working program that I can find is ProjectX, but even though I selected .srt as the output format it can only output .sup & .ifo.
I also tried ccextractor, but it seems like it doesn't work on H.264 TS? It said "incomplete PES in buffer" and zero frames (see output below).
Does anyone know of any tools that can output .srt from a .ts?
The characters/fonts (Chinese not English) from the .sup (I later converted it to .sub) look different than the ones I see in the recording software, so I think the subtitle is text-based and thus should be able to be extracted.
Any ideas?
TIA :thanks:
http://i180.photobucket.com/albums/x117/ALUOp/projectx.jpg
C:\Data\Video\ccextractor.0.34\ccextractor\windows>ccextractorwin.exe c:\Video\2.ts -srt -o c:\video\2.srt
CCExtractor v0.34, cfsmp3 at gmail
----------------------------------
Input: c:\Video\2.ts
[Raw Mode: Broadcast] [Extract: 1] [TS mode: Auto] [Use MythTV code: Auto]
[Debug: No] [Buffer output: No] [Buffer input: Yes]
[Autopad: Yes] [GOP pad: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: [Latin-1] [Delay: 0] [Input type: MPEG]
[Add font color data: Yes] [Convert case: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
Creating c:\video\2.srt
-----------------------------------------------------------------
Opening file: c:\Video\2.ts
File seems to be a transport stream, enabling TS mode
99% | 00:00Warning: We don't have the complete PES in buffer.
Things may start to go wrong from this point.
Min PTS: 4294967295
Max PTS: 0
Total frames: 0
Length according to PTS (MM:SS:100s): 4294919575 (4294966501:4294967275:4294966501)
Total 2-byte blocks for field 1: 0
Total 2-byte blocks for field 2: 0
Total length according to CC blocks (MM:SS): 00:00
Number of likely false picture headers (discarded): 1
Done, processing time = 1 seconds
This is alpha software. Report issues to cfsmp3 at gmail...