View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Feb 15, 2007 4:11 am 
Offline
Joined: Wed Oct 04, 2006 8:44 am
Posts: 17
Location: Swansea, UK
I captured a transport stream (TS) from BBC2 and used "mythtranscode --mpeg2" to convert to programme stream (PS). Then I tried to build a DVD from it using 'dvdstyler' (a really great program BTW).

Failure. The video stream within the multiplex wasn't recognised.

Hmm - I already knew that the PS itself played just fine on 'mplayer'. So I tried 'xine' and it played just fine there too.

I used the '-dumpvideo' option of 'mplayer' to extract the video elemental stream from the PS for a closer look. Playing it on 'mplayer' still worked, but 'file' didn't recognise it as an MPEG video stream. So I took a really close look with 'od -tx1' and found that it *was* a valid video stream, but just with a single stray null byte on the front. Removed that (with 'dd' - took ages, there must have been a better way) and now 'file' recognised it for what it was.

I re-multiplexed this repaired video stream together with its audio into a fresh PS file and tried *that* with 'dvdstyler' and it worked fine this time.

SO - what the ***** happened there? I was inclined to blame 'mythtranscode' initially, until I realise that mythtranscode had correctly extracted the PS from the TS and could hardly be expected to have looked inside the PS to spot a broken elemental stream (or should it have done that?). After all, the PS itself was correct and demultiplexed correctly.

So where did the stray single null come from? Unfortunate transmission error? I've converted a lot of programmes off TV into DVDs and I've never seen this before.

I suppose what I need to know here is: does an MPEG TS encapsulate an MPEG PS or are they unrelated container formats for elemental streams? If they are unrelated, then this could be down to 'mythtranscode' after all, but if not then I'm at a loss to explain it.

Steve

_________________
ChainTech 6ATA2 MoBo (533MHz PentiumIII Katmai, Via VT82C693A/686A chipset)
20Gb UDMA33 disk.
R5E50 plus keyboard fixes for UK.
1x Hauppauge Nova-T DVB-T card.
1x Bt848 Analog capture card.
SIS 6326 AGP2x Video card (too slow for watching TV).


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu