[mythtv-commits] Ticket #10797: Audio/Video sync problems especially after seeking to start of recording

MythTV noreply at mythtv.org
Sun Jun 10 02:35:43 UTC 2012


#10797: Audio/Video sync problems especially after seeking to start of recording
----------------------------------------+----------------------------
 Reporter:  dmoo1790@…                  |          Owner:
     Type:  Bug Report - General        |         Status:  new
 Priority:  minor                       |      Milestone:  unknown
Component:  MythTV - Video Playback     |        Version:  0.25-fixes
 Severity:  medium                      |     Resolution:
 Keywords:  audio video sync 0.25 seek  |  Ticket locked:  0
----------------------------------------+----------------------------

Comment (by tralph):

 So the log below definitely shows a timestamp issue right after the audio
 decoding errors. The audio timestamp jumps way back in time after the
 decoding error. These errors and timestamps are provided by the ffmpeg
 demuxer. So it appears that the regression is probably due to the ffmpeg
 sync done for 0.25. I'm not sure how this should be handled because it's
 really an ffmpeg bug. The first step is to create a small sample that
 triggers the issue and then see if the ffmpeg devs might be interested in
 looking at it.

 {{{
 2012-06-09 13:29:34.008873 D [3337/3401] Decoder avformatdecoder.cpp:3138
 (ProcessVideoPacket) - AFD: video packet timestamps reordered 435110682
 pts 435134082 dts 435116082 (dts forced)
 2012-06-09 13:29:34.008889 I [3337/3401] Decoder avformatdecoder.cpp:3245
 (ProcessVideoFrame) - AFD: video timecode 435116082 4834623 4834623
 4834503
 2012-06-09 13:29:34.009287 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 435115988 435115988 4834622
 4834664
 2012-06-09 13:29:34.009586 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 435119828 435119828 4834664
 4834706
 2012-06-09 13:29:34.009874 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 435123668 435123668 4834707
 4834749
 2012-06-09 13:29:34.015554 D [3337/3401] Decoder avformatdecoder.cpp:3138
 (ProcessVideoPacket) - AFD: video packet timestamps reordered 435117882
 pts 435126882 dts 435119682 (dts forced)
 2012-06-09 13:29:34.015572 I [3337/3401] Decoder avformatdecoder.cpp:3245
 (ProcessVideoFrame) - AFD: video timecode 435119682 4834663 4834663
 4834623
 2012-06-09 13:29:34.016136 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 435127508 435127508 4834750
 4834792
 2012-06-09 13:29:34.021747 D [3337/3401] Decoder avformatdecoder.cpp:3138
 (ProcessVideoPacket) - AFD: video packet timestamps reordered 435121482
 pts 435123282 dts 435123282 (dts forced)
 2012-06-09 13:29:34.021765 I [3337/3401] Decoder avformatdecoder.cpp:3245
 (ProcessVideoFrame) - AFD: video timecode 435123282 4834703 4834703
 4834663
 2012-06-09 13:29:34.021853 E [3337/3401] Decoder avformatdecoder.cpp:4216
 (ProcessAudioPacket) - AFD: Unknown audio decoding error
 2012-06-09 13:29:34.021860 E [3337/3401] Decoder avformatdecoder.cpp:4216
 (ProcessAudioPacket) - AFD: Unknown audio decoding error
 2012-06-09 13:29:34.022245 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 424763348 424763348 4719592
 4719634
 2012-06-09 13:29:34.022602 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 424767188 424767188 4719635
 4719677
 2012-06-09 13:29:34.023178 I [3337/3401] Decoder avformatdecoder.cpp:4248
 (ProcessAudioPacket) - AFD: audio timecode 424774868 424774868 4719720
 4719762
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10797#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list