[mythtv] New MPEG2 commercial-cut code ready for testing

Stuart Auchterlonie stuarta at squashedfrog.net
Sun Nov 13 19:44:28 EST 2005


Comments so far.

Output stream is MPEG PS while input stream is MPEG TS.

Analyzing the output file with ffmpeg gives the following
errors.

---
[mpeg2video @ 0x8332208]ac-tex damaged at 0 0
[mpeg2video @ 0x8332208]ac-tex damaged at 0 1
.....
    all the way down to
.....
[mpeg2video @ 0x8332208]ac-tex damaged at 0 35
[mpeg2video @ 0x8332208]Warning MVs not available
[mpeg2video @ 0x8332208]concealing 1224 DC, 1224 AC, 1224 MV errors
Input #0, mpeg, from '../../utils/mpeg2fix-0.8/scream.mpg':
  Duration: 01:46:15.6, start: 0.298611, bitrate: 2169 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 544x576, 25.00 fps, 10000 kb/s
  Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, mono, 64 kb/s
  Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
---

compared to the original input file.

---
Input #0, mpegts, from '/data/mythtv/1014_20051017222900.mpg':
  Duration: 02:15:26.4, start: 36750.112089, bitrate: 2265 kb/s
  Stream #0.0[0x23a]: Video: mpeg2video, yuv420p, 544x576, 25.00 fps, 10000 kb/s
  Stream #0.1[0x23b](eng): Audio: mp2, 48000 Hz, stereo, 192 kb/s
  Stream #0.2[0x23c](eng): Audio: mp2, 48000 Hz, mono, 64 kb/s
  Stream #0.3[0x23d](eng): Subtitle: dvbsub
---

Also, I've just noticed that the audio streams have been swapped.
The pids are in the same numerical order, but the better audio
stream is now on #0.2, originally it was #0.1


Stuart



More information about the mythtv-dev mailing list