[mythtv-commits] Ticket #11213: cutting and lossless mpeg2 transcoding generate strange files

MythTV noreply at mythtv.org
Mon Sep 16 19:45:29 UTC 2013


#11213: cutting and lossless mpeg2 transcoding generate strange files
------------------------------------+----------------------------
 Reporter:  mythtv@…                |          Owner:
     Type:  Bug Report - General    |         Status:  new
 Priority:  minor                   |      Milestone:  unknown
Component:  MythTV - Mythtranscode  |        Version:  0.26-fixes
 Severity:  medium                  |     Resolution:
 Keywords:                          |  Ticket locked:  0
------------------------------------+----------------------------

Comment (by Kaacz <kaa@…>):

 '''Strange. Worked transcode is broked and nobody fix it 11 months ?? No
 fix ?
 Is better downgrade to 0.25 ??'''

 I have same problem after upgrade to ver. 0.26 before few months. MythTV
 is my DVBT recorder.
 Many years I use lossless transcode after cut. Then download PS mpeg to my
 pc, check/fix it in ProjectX and transcode to mkv via Handbrake. It is
 scripted for automation (all on Linux).
 Now it is broken !!! I am not able make sync correction in PX - file is
 bad.

 I have two (big) files. In case of need i make new short record.
 Original uncutted TS without these strange errors in PX.
 Cuted movie is between 0:18:15 and 1:11:20
 {{{
 Video: PID: 0x0201(MPEG-2)
 Audio: PID: 0x0211{cze}(#2)(Mpg1)
 ok> PID 0x0201 has PES-ID 0xE0 (MPEG Video) (22372 #120)
 !> PID 0x0201 -> packet 204 @ pos. 38164 out of sequence (13/0) (shifting
 counter..) (~00:00:00.000)
 !> PID 0x0201 -> packet 229 @ pos. 42864 out of sequence (9/2) (shifting
 counter..) (~00:00:00.000)
 !> PID 0x0201 -> packet 252 @ pos. 47188 out of sequence (6/13) (shifting
 counter..) (~00:00:00.000)
 ok> PID 0x0211 has PES-ID 0xC0 (MPEG Audio) (103776 #553)
 !> PID 0x0211 -> packet 576 @ pos. 108100 out of sequence (1/11) (shifting
 counter..) (~00:00:00.000)
 -> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 15000000 bps - vbv 112
 -> starting export of video data @ GOP# 0
 !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
 !> PID 0x0370 (res.) (443868 #2362) -> ignored
 packs: 21433622 100% 4078591380
 }}}

 Second file is transcoded PS with error on each GOP as is reported in this
 bug.
 {{{
 -> Filetype is MPEG-2 PS/SS (PES Container)
 -> found PES-ID 0xE0 (MPEG Video) @ 14
 -> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 15000000 bps - vbv 112
 -> starting export of video data @ GOP# 0
 -> found PES-ID 0xC1 (MPEG Audio) @ 57358
 !> startPTS of GOP# 1 is earlier than the end of last GOP.. (exp.
 946007288)
 !> dropping GOP# 1 @ orig.PTS 00:00:00.292 (26368), errorcode: 34
 !> Pics exp/cnt 8/7, inGOP PTS diff. 0ms, new Timecode 00:00:00.040
 !> startPTS of GOP# 2 is earlier than the end of last GOP.. (exp.
 946007288)
 !> dropping GOP# 2 @ orig.PTS 00:00:00.612 (55168), errorcode: 10
 !> Pics exp/cnt 15/15, inGOP PTS diff. 0ms, new Timecode 00:00:00.040
 ...
 }}}
 Transcoded file is reported by PX with strange times about video or/and
 audio. I am not able make sync correction in PX - file is bad.

 Recorded TS files are one-big-file .. no segments. I have this problem
 with ~40-50% recordings from ~100 in week. From different DVBT
 multiplexes.

 If i make remux-only in Avidemux as copy/copy to PS mpeg file .. all is
 ok, without errors. But in this case I lost PX sync-fix.

 ''' Please fix this - in ver. 0.26 broked - transcoding.'''

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11213#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list