Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9076 closed defect (Fixed)

Out of sync playback since encoder change at KSTP Minneapolis St. Paul

Reported by: Greg Maus <g.maus@…> Owned by: danielk
Priority: minor Milestone: 0.24
Component: MythTV - ATSC Version: 0.23-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

My local ABC affiliate (KSTP - Minneapolis-St. Paul, MN) recently changed out their ATSC encoder with a Harmonic 8130. Since the change, audio and video are severely out of sync in Mythtv. Playback of recorded files directly in Mplayer, xine, and VLC playback fine.

My mythtv version is 23.1-2.fc12 (r25902)

Full details are here: http://www.gossamer-threads.com/lists/mythtv/users/455048

Taylor Ralph has analysed a sample file, and he states that the file doesn't provide any valid video timestamps (DTS or PTS).

[mpegts @ 0x93da2c0]invalid dts/pts combination

A sample file is located at http://filebin.ca/mhvyt/KSTP_5.1sample.mpg

Ticket issue2286 has been opened at roundup.ffmpeg.org

Change History (3)

comment:1 Changed 9 years ago by tralph

(In [26722]) FFmpeg: workaround for invalid dts/pts combination. The orginal code sets both dts and pts to AV_NOPTS_VALUE making proper playback impossible. The better approach is just to set the pts to AV_NOPTS_VALUE and hope the dts values are correct.

Refs #9076.

comment:2 Changed 9 years ago by tralph

Resolution: Fixed
Status: newclosed

(In [26723]) Backport [26722].

FFmpeg: workaround for invalid dts/pts combination. The orginal code sets both dts and pts to AV_NOPTS_VALUE making proper playback impossible. The better approach is just to set the pts to AV_NOPTS_VALUE and hope the dts values are correct.

Fixes #9076.

comment:3 Changed 9 years ago by tralph

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.