DXVA2 - no smooth playback with some streams
#1
Hey guys,

I tried to play several live streams with XBMC, mainly H.264 with either 720p50 or 1080i25. While most of them play fine (e.g. Sky, ORF), some cause constant judder during playback (e.g. from ZDF or RTL group) for both, live stream playback with PVR (DVBViewer Recording Service backend) and also recorded TS file playback from disk. Here are 2 short sample clips:

Phoenix HD (720p50): download
RTL HD Austria (1080i25): download

With software playback, everything is buttery smooth. As soon as hardware acceleration (DXVA2) is enabled, playback becomes jerky.

Both play perfectly fine when using LAV Video Decoder with DXVA2 (inside the DVBViewer), which is also based on the ffmpeg foundations. So I don't suspect a general ffmpeg issue.

CPU is an Intel Core i3-3225 with HD 4000 graphics. I used the latest XBMC nightly build.

Comments and suggestions are highly appreciated Blush .
Reply
#2
Sers,

ich betreibe nahezu gleiches Setup.

Core I3 - Hd4000 - xbmc 13.1 - dvbviewer Recorder (DD Cine S2) und hatte auch Probleme mit DXVA2 . Nach jedem Senderwechsel war das Bild 1 - 2 Sekunden grün und leichte ruckler waren zu sehen. Seither ist DXVA2 abgeschaltet und alles läuft einwandfrei.

Auch Laufschrift (z.b. bei N24) funktioniert komplett flüssig und ruckelfrei. Habe seither nie mehr dran gedacht DXVA2 zu aktivieren.
Die Ursache kenne ich aber leider nicht.

Ich freu mich außerdem dich im Forum begrüßen zu dürfen.


___for the community:

I'm running almost same setup here. Core I3 - Hd4000 - xbmc 13.1 - dvbviewer Recorder (DD Cine S2) and had problems with DXVA2 too. After channel switch the picture was green for some seconds. After disabling dxva2 everything runs very smooth. Even scrolling text (whiche some news broadcasters are using) works fine.

After changing this setting I never thought about turning DXVA2 on again. So I don't know whats the source of the problem - only that it exists Smile
Reply
#3
Hi,

thanks for your welcome Smile .

Sad thing is that the ffmpeg DXVA2 integration is actually quite good. LAV Video Decoder plays all my DVB streams perfectly fine, from SD to HD, MPEG-2 to H.264. The ffmpeg DXVA2 integration into XBMC does not seem to work that good. I dont know how it is different. Maybe XBMC uses copy-back or something? Is there no maintainer for the ffmpeg DXVA2 integration into XBMC around?
Reply
#4
I just installed an official Gotham 13.2 Beta and suddenly everything is perfectly fine with DXVA2 decoding (DXVA-HD rendering).

Are the nightlies somehow built differently? From totally different branch? Different ffmpeg SHA maybe?
Reply

Logout Mark Read Team Forum Stats Members Help
DXVA2 - no smooth playback with some streams0