epinhao
11th March 2006, 01:48
I’ve been trying to extract the closed captions from a MPEG2 .ts transport stream for quite some time, finally today I succeeded in the task. I’m not sure if they are in sync but at least you get all the captions. By the way you can also watch .ts files in your favorite player with the close captions on). Here are the tools and instructions:
Tools:
1. Graphedit
2. DVBPortal HDTV Pump (or any other filter to use as source) http://www.dvbportal.de/
3. MPEG-2 Demultiplexer (usually found by default in Windows)
3. Core CC Parser http://www.nop.sk/hits.php?id=upload&id2=U&file=2866
4. Dump.ax (usually included with Graphedit)
5. SCC TOOLS (downloaded from McPoodle’s website) http://www.geocities.com/mcpoodle43/
a. raw2scc
b. ccasdi
c. (optional) rawproc
Instructions:
1. Open Graphedit
2. Insert DVBPortal HDTV Pump and choose the file you want
3. Insert MPEG-2 Demultiplexer and link it with the output pin of HDTV Pump
4. Insert Core CC Parser and connect it to the demultiplexer’s Video output pin
5. Insert the dump filter and choose a filename for the output such as “out.bin” connect it to Core CC Parser’s Line 21 output pin
6. Click play
7. Put the output file in the directory where you have the SCC TOOLS executables
8. Open the command prompt and type: raw2scc out.bin out.cc (if raw2scc complains fix the header with rawproc typing rawproc out.bin anothername.bin and process the output file through raw2scc)
9. Process the output file by typing ccasdi –s out.cc out.srt (ccasdi can output several file formats)
10. READY (Now you can do whatever you want with the file like authoring it to a DVD, there are several guides where you can learn how to do it)
To play the .ts file with close captions follow instructions 1-4, and then:
1. Connect Core CC Parser’s Pass Through to your favorite MPEG2 decoder
2. Insert Line 21 Decoder
3. Connect Core CC Parser’s Line 21 pin to the Line 21 Decoder
4. Insert the Overlay Mixer and the Video Renderer filters
5. Connect your MPEG2 decoder’s and Line 21 Decoder’s output pins to the Overlay Mixer and then to the Video Renderer (there are several options to output the file)
Tools:
1. Graphedit
2. DVBPortal HDTV Pump (or any other filter to use as source) http://www.dvbportal.de/
3. MPEG-2 Demultiplexer (usually found by default in Windows)
3. Core CC Parser http://www.nop.sk/hits.php?id=upload&id2=U&file=2866
4. Dump.ax (usually included with Graphedit)
5. SCC TOOLS (downloaded from McPoodle’s website) http://www.geocities.com/mcpoodle43/
a. raw2scc
b. ccasdi
c. (optional) rawproc
Instructions:
1. Open Graphedit
2. Insert DVBPortal HDTV Pump and choose the file you want
3. Insert MPEG-2 Demultiplexer and link it with the output pin of HDTV Pump
4. Insert Core CC Parser and connect it to the demultiplexer’s Video output pin
5. Insert the dump filter and choose a filename for the output such as “out.bin” connect it to Core CC Parser’s Line 21 output pin
6. Click play
7. Put the output file in the directory where you have the SCC TOOLS executables
8. Open the command prompt and type: raw2scc out.bin out.cc (if raw2scc complains fix the header with rawproc typing rawproc out.bin anothername.bin and process the output file through raw2scc)
9. Process the output file by typing ccasdi –s out.cc out.srt (ccasdi can output several file formats)
10. READY (Now you can do whatever you want with the file like authoring it to a DVD, there are several guides where you can learn how to do it)
To play the .ts file with close captions follow instructions 1-4, and then:
1. Connect Core CC Parser’s Pass Through to your favorite MPEG2 decoder
2. Insert Line 21 Decoder
3. Connect Core CC Parser’s Line 21 pin to the Line 21 Decoder
4. Insert the Overlay Mixer and the Video Renderer filters
5. Connect your MPEG2 decoder’s and Line 21 Decoder’s output pins to the Overlay Mixer and then to the Video Renderer (there are several options to output the file)