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

MythTV noreply at mythtv.org
Thu Oct 31 22:54:04 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 finlay@…):

 The difference between the 0.25 mythtranscode and the 0.26 and 0.27
 mythtranscode that causes the changes to the packet pts is in
 MPEG2fixup::BuildFrame in change
 http://code.mythtv.org/trac/changeset/6c3653cd378aacef10b7706d8b7f71beae41274c/mythtv
 where a call to avcodec_encode_video is replaced by a call to
 avcodec_encode_video2. I guess that avcodec_encode_video2 zeros out the
 pts. I created a patch that restores the original pts value and that
 creates a cut file that is identical to the cut file created by 0.25
 mythtranscode.

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


More information about the mythtv-commits mailing list