.tsp to MPEG?

project/page date: September 2005
author: lyberty

Okay, so you've got the .tsp (transport stream) DVB files off of your Satellite DVR ... (see here for SatelliteDVR to Windows PC Hard Drive. . )

You can either:
1. Watch it directly on your PC using MPlayer or Zoom Player, or
2. Convert it to some other, more user-friendly format; i.e. to MPEG for DVD authoring, or straight to .VOB for DVD burning, or to XviD or DivX.

If you want to convert it,
you have to demultiplex (demux) the MPEG streams first. This means you will need to seperate out the Video stream and an Audio stream,
then use a program to recombine them into your new (desired) output. ( See sample quality comparison )

STEPS:

I. DUMUX , any/all streams (ideally, this includes demuxing the Dolby Digital/AC3 stream, if available)
II. Fix files
III. REMUX:

Notes:
- .mpa can not be opened in Nero Wave Editor
- .m2v can not be opened in Windows Movie Maker (even if you rename to .mp2v)

=============

http://www.doom9.org/index.html?/DigiTV/dvb-basics.htm
http://www.doom9.org/index.html?/DigiTV/dvb2divx.htm

I. Demultiplex Video & Audio from .pts file using 'DGIndex'

Tool: DG-Index

After this process completes
you will have the following files in the folder where your .tsp file is:

1) es----.demuxed.m2v
[Type: MPEG-2 Video (M2V)]

2) es---- PID __23 DELAY -NNNms.mpa
[MPEG-1 Layer 2 Audio (MPA)- 48 khz, stereo, 192kbps, no CRC"]

3) es----.d2v

Note: '*.d2v' is a "pass-through file" -- basically a dummy file telling what other files should be processed and how.
"DGIndex creates an index file called *.d2v. It can be read by DGDecode, which actually decodes the MPEG and delivers the video.
The index file just contains information that tells DGDecode where each frame is located and some information about each frame.
"

This ouputting is left over from DVD2AVI (what DGIndex is based on).

See http://www.afterdawn.com/glossary/file_extensions/d2v.cfm for a slightly longer explanation.

II. Use DVDPatcher to "repair" the .mpv file (optional)

This step patches the file to one of the DVD Standard sizes (704x480) and fixes the bitrate at the same time.
Many authoring programs will not be able to handle your remuxed file if you skip this step.

- Click the 'Browse' button and open the .m2v file.
- Select '704 (DVD, DVB)' for the horizontal size. All the other settings should be ok (3.5 MBit bitrate, 480 vertical resolution, 29.97 fps).
- Click 'Patch now!', and then 'Start'. You can now close DVDPatcher.

Note: MPEG-2 DVD Standards:
720x480 (generally); 29.97 fps ; Audio: AC-3 (dolby/DD) or PCM (wav); additional tracks can be MP2 or DTS

Up to 9.8 Mbps (9800 kbps) MPEG2 video

Up to 1.856 Mbps (1856 kbps) MPEG1 video

720 x 480 pixels MPEG2 (Called Full-D1)

704 x 480 pixels MPEG2
Audio:
48000 Hz
32 - 1536 kbps
Up to 8 audio tracks containing DD (Dolby Digital/AC3), DTS, PCM(uncompressed audio), and/or MPEG-1 Layer2 (MP2). One audio track must have DD or PCM Audio.

After the demux, all I want to do is combine [mux] the .mpa, .m2v, and a .d2v file set into a standard MPEG... (and apply the time offset for the audio file)...

 

III. REMUX:

Options:

- VOB Edit : output as .vob's
- mpeg-vcr : output as MPEG
- TMP.Genc* (TMPGEnc) : output as MPEG

Other options for mux to vob's ? Adobe Encore DVD, TMP.Genc* DVD, dishrip ....
{ http://www.dvbdream.de/site_download_363.html&download=go?PHPKITSID=0cedb4ffc1d7b236bd3d4ef6f60cf0dd }

Desired:
1. Mux to MPEG while applying audio offset.
2. Ability to MUX [encode] Dolby Digital with 5.1 channels (or other multi-channel sources) AND/OR
Dolby Digital/AC-3 [e.g. TMPGEnc Plug-in AC-3 $30 ?]

 

 


Sample: .tsp info as shown in DVDPatcher :

Note that the file comes in "DVB" sizing of 544x480. This expands (stretches) to 640x480 when you watch the file though.

The 15 mbps bit-rate is a theoretical maximum (not the actual bitrate); this is "fake" data from the file header.

 

* I write it this way because "Temp-Gehnk" (TMP.GEnc) is easier to say than "Tee-Ehm-Peg-Ehnk" (T.MPG.Enc) or "Tee-Ehm-Pee-Jee Ehnk"... (T.M.P.G.Enc)
or "Tsunami Ehm-Pehg Encoder"...




talk