[mythtv] MPEG2-MPEG2 transcoding: Illegal video stream

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Thu Mar 2 17:00:30 UTC 2006


On 3/2/06, Thomas Börkel wrote:
> Repro:
> mpeg2desc -v0 < test.mpg > test.m2v
> mpeg2desc -a0 < test.mpg > test.mp2
> mplex -f 8 -o test2.mpg test.m2v test.mp2

I have not been able to reproduce your issues:
to start with:
tcprobe -i test.mpg
---
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test.mpg, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
     aspect ratio: 4:3 (*)
       frame rate: -f 25.000 [25.000] frc=3
                   PTS=0.2878, frame_time=40 ms, bitrate=8000 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   PTS=0.3026, bitrate=384 kbps
                   -D 0 --av_fine_ms -14 (frames & ms) [0] [0]
---
Everything looks ok here
I then demux the stream (using dvb-mpegtools):
/extract_pes test.mpg 0x1e0 > test.m2v
tcprobe -i test.m2v
---
[tcprobe] MPEG packetized elementary stream (PES)
[tcprobe] summary for test.m2v, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
     aspect ratio: 4:3 (*)
       frame rate: -f 25.000 [25.000] frc=3
                   PTS=0.2878, frame_time=40 ms, bitrate=8000 kbps
   no audio track: use "null" import module for audio
---

Looks good to me too.

Then to be sure:
tcdemux -i test.mpg > test.m2va
tcprobe -i test.m2va
---
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test.m2va, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
     aspect ratio: 4:3 (*)
       frame rate: -f 25.000 [25.000] frc=3
                   PTS=0.2878, frame_time=40 ms, bitrate=8000 kbps
   no audio track: use "null" import module for audio
---
Looks the same.

I am comparing these to what I get from your original:
tcprobe -i test_original.mpg
---
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test_original.mpg, (*) = not default, 0 = not detected
import frame size: -g 720x576 [720x576]
     aspect ratio: 4:3 (*)
       frame rate: -f 25.000 [25.000] frc=3
                   PTS=0.4004, frame_time=40 ms, bitrate=8000 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   PTS=0.3206, bitrate=384 kbps
                   -D 1 --av_fine_ms 39 (frames & ms) [0] [0]
---
So, could you be more specific as to what is wrong?
I don't have mplex installed at the moment, but I can't find any
issues with your streams, so perhaps mplex is doing something to them
(though this seems unlikely as you reported the same problem with
tcdemux.

Thanks,
.Geoff


More information about the mythtv-dev mailing list