Log in

View Full Version : Resolution change in .ts file


Nakaleen
16th October 2007, 18:56
I was recording a HD show using Media Portal (tv server 3) in .ts format.

The problem is that the tv station is fairly lame as they show non-HD shows on the HD channel in SD format (720x576i).

So when I record I get the last 5 min of a SD show follwed by the HD show (1440x1080i). The problem is that when I try to play back or convert the .ts file (with project x) it only decodes the .ts untill the Resolution change then stops, the same with playback as it stops when I hit the Resolution change.

Is there a way of decoding the .ts so I only get the HD content?

harissa
16th October 2007, 19:31
try mpeg2cut

Nakaleen
17th October 2007, 02:41
Update:

Looking at the file in ProjectX's GUI I see that the Video PID changes when it goes to HD. Which sucked big time as ProjectX and all other programs seem to only use the Video PID at the start of the file?!?!!?

PID's at start of file

Video: PID: 0xB04
Audio: PID: 0xB05(eng)

Then when HD kicks in

Video: PID: 0x11F8
Audio: PID: 0xB05(eng)

And nope mpeg2cut didn't work (see above) Thanks anyway

Guest
17th October 2007, 02:50
Try DGIndex. You can set the PID in the stream menu.

Nakaleen
17th October 2007, 19:03
You are a life saver.

I entered 11f8 as the video PID and it jumped right to where the HD starts. Had to use Mediainfo to find that the audio changed too.

But it works a treat. Thanks