Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12162 closed Bug Report - General (fixed)

Poor quality video decoding with some AVI content

Reported by: JYA Owned by: JYA
Priority: critical Milestone: 0.27.2
Component: MythTV - Video Playback Version: 0.27.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some 24Hz mpeg4 videos in AVI container plays extremely poorly. Lots of dropped frames

Upon inspection, it appears the video is being played at half its nominal framerate: around 12fps.

This only occurs with VDPAU using an nvidia cards.

Change History (3)

comment:1 Changed 6 years ago by JYA

Owner: set to JYA
Status: newaccepted

comment:2 Changed 6 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: acceptedclosed

In 2502f4a3c45b76684d1d37b9b6d39112c3fffd09/mythtv:

Only use VDPAU hwaccel API for mpeg container

The use of VDPAU hwaccel API was an attempt to fix #11377. However, the underlying problem is a FFmpeg libavformat bug (https://trac.ffmpeg.org/ticket/2915).

FFmpeg 1.2's VDPAU hwaccel is clearly unstable. 24fps AVI would play at half that rate, cause crashes with nouveau or visual distortion with AMD

As the aim is only to fix #11377, only enable the hwaccel API for the mpeg container.

Add a "vdpauhwaccel" setting override to completely disable VDPAU hwaccel under all circumstances

Fixes #12162

comment:3 Changed 6 years ago by Jean-Yves Avenard <jyavenard@…>

In 2720f457c590465af558fe0720aa9f019fa4b26f/mythtv:

Do not use VDPAU hwaccel API for mpeg4 videos

FFmpeg 1.2's VDPAU hwaccel is clearly unstable. 24fps mpeg4 in AVI would play at half that rate, cause crashes with nouveau or visual distortion with AMD

Add a "vdpauhwaccel" setting override to completely disable VDPAU hwaccel under all circumstances

Fixes #12162

Note: See TracTickets for help on using tickets.