Opened 9 years ago

Closed 9 years ago

#8269 closed defect (fixed)

Aspect ratio changes not detected while watching H.264 SDTV

Reported by: Joe Owned by: Janne Grunau
Priority: critical Milestone: 0.23
Component: MythTV - Video Playback Version: 0.23rc1
Severity: high Keywords: aspect
Cc: Ticket locked: no

Description

H.264-encoded SDTV transmitted via IPTV changes its aspect ratio during playback like SDTV MPEG2 Streams transmitted via DVB.

MythTV 0.23-rc1 does not detect these changes. If you start watching a channel with a 4:3 program, and the channel changes to a 16:9 broadcast, MythTV continues playing with wrong 4:3 aspect - and vice versa of course.

It also affects playback of early started recordings. If a program or an ad block with different aspect precedes the recording target, it keeps the same wrong aspect ratio from the start of the recording during the complete playback.

This is due to a bug in FFmpeg described here and can be resolved by a minor patch:

http://article.gmane.org/gmane.comp.video.ffmpeg.devel/106066

Attachments (1)

h264-aspectratio.diff (607 bytes) - added by Joe 9 years ago.
H.264 aspect ratio patch for MythTV libavcodec

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Joe

Attachment: h264-aspectratio.diff added

H.264 aspect ratio patch for MythTV libavcodec

comment:1 Changed 9 years ago by tralph

(In [23911]) libavcodec: backport FFmpeg 22597 - "Reinitialize the h264 decoder context on every valid aspect ratio change, not only size changes."

Reported by Joe.

Refs #7233, #8269.

comment:2 Changed 9 years ago by tralph

Resolution: fixed
Status: newclosed

(In [23912]) Backport [23911] to 0.23-fixes.

libavcodec: backport FFmpeg 22597 - "Reinitialize the h264 decoder context on every valid aspect ratio change, not only size changes."

Reported by Joe.

Refs #7233, Fixes #8269.

Note: See TracTickets for help on using tickets.