Burning MPEG2-TS to DVD – E01 – cutpoints and demux with ProjectX
This is the first episode of the "Burning MPEG2-TS to DVD" serie of articles. In this one, we'll see how to cut MPEG2 and extract the streams from our MPEG2-TS file.
Say you got a file name "stream.ts" from your decoder.
Start ProjectX. The UI is not very intuitive, but i'll try to walk you through it so you know your way around
open stream.ts, the preview window in the middle should display the list of streams in the container that ProjectX detected.
Take note of the PID of every streams you are interested in (here it's 0xA2 -> video, 0x59 -> original soudtrack, and 0x26 for the subtitles). The stream list usually doesn't stay long before returning back to the preview mode. If it disappears, just click on the file name in the list at the bottom of the window.
In the right part of the window, you can specify the list of the PIDs that you want to extract ("PES(&Sub)-ID/PID list").
Add each interesting streams to this list, including the subtitle one (0x26 here)
Now you are ready to extract the streams from the TS. Click the "prepare >>" button on the left of the main window.
Before starting the process you'll need to adjust some options, mainly related to subtitles. Open the "pre-settings" windows in "PreSettings -> Presettings".
go to the subtitle tab on the left, and enter the teletext page number for the subtitles. On my satellite feed, it is page 889, but this number depends on the broadcaster, you have to fiddle around a bit to find it.
Choosing "basic latin" as language will encode the resulting file in ISO-8859-1.
use "subtitle export formats": SRT (subrip)
You are ready :
press on the "play" button, and projectX will start working
After the end of the process, voilà !
The following files are produced:
- stream.m2v - the video track
- stream.mp2 - the audio track
- stream[889].srt - subtitles
The next article will discuss re-multiplexing the video and audio tracks into a DVD-compliant MPEG2-PS file
Back to the summary article
Episode 2: Multiplex the resulting streams into a DVD-compatible PS using mplex
Episode 3: adding the subtitles
Episode 4: authoring the DVD







May 7, 2010 - 19:02
well I thought it was possible with toast, but it’s a long time I have not used this (buggy) tool, in fact I have not burned a dvd since … well … a few months
May 7, 2010 - 18:42
As i said, every single GUI tools combination I could test falls short in at least one area. Some won’t allow you to include the subtitles track, some won’t let you burn multiple audio tracks, etc …
May 7, 2010 - 18:37
Ahahah ! what a PITA.
)
Did you try this solution :
Mac+EyeTV with a TNT tuner+Toast+a few mouse clics (and a lot of money