You are not logged in.

#1 2013-12-29 00:01:46

neagix
Member
Registered: 2013-10-19
Posts: 14

Intel hardware decoding issue - poor playback with VLC/mplayer

I have a serious issue with video playback; I tried for sure with MPEG-4 videos, and they all show same behaviour: tearing, non-smooth playback and sometimes there is a "hiccup" followed (on VLC) by a gray frame - like if a gray mud cake was splattered on the video.

Behaviour is equal on mplayer, except that there is no gray frame (just the hiccup). It happens regularly, seems like a serious desynchronization and/or buffer issue at some layer.

I use "intel" driver for Xorg with options XvMC and TearFree, although I think all of them are pointless to change. Acceleration is uxa because of a recent issue with default acceleration, but behaviour was the same also before.

I have the video adapter integrated with an Intel I3 4340 CPU, and it registers a framebuffer:

i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

Has somebody any insight in this problem? On Windows I cannot experience it

Offline

#2 2013-12-29 00:14:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

Just to make sure: you're playing the video in X, not in the framebuffer, right?

Offline

#3 2013-12-29 17:06:28

neagix
Member
Registered: 2013-10-19
Posts: 14

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

karol wrote:

Just to make sure: you're playing the video in X, not in the framebuffer, right?

In X, and I tried a plenty of VLC options to no extent (key frames options etc)

Offline

#4 2014-01-07 19:23:22

neagix
Member
Registered: 2013-10-19
Posts: 14

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

Today the lag is even larger (for unknown reasons, nothing was changed) and I discovered that it locks up on the disk access since the LED is on during the lag.

Could it be related to usage of LUKS?

Offline

#5 2014-01-08 01:57:09

parintachin
Member
Registered: 2009-05-25
Posts: 72

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

for hardware acceleration with intel you have to install intel-dri libva-intel-driver xf86-video-intel and mplayer-vaapi and set va=vaapi and vo=vaapi in ~/mplayer/config or set up vlc to use hardware acceleration

Offline

#6 2014-01-08 04:28:36

jocheem67
Member
Registered: 2009-11-09
Posts: 250

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

mplayer -v

will give you enough info to work on.

Offline

#7 2014-02-16 11:54:03

neagix
Member
Registered: 2013-10-19
Posts: 14

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

parintachin wrote:

for hardware acceleration with intel you have to install intel-dri libva-intel-driver xf86-video-intel and mplayer-vaapi and set va=vaapi and vo=vaapi in ~/mplayer/config or set up vlc to use hardware acceleration

Thanks! mplayer-vaapi has helped much, the lag seems gone and no more gray frames as in the regular mplayer. Although I can still see some tearing.

the console output also shows many:

BUG in FFmpeg, draw_slice called with NULL pointer!

But it could be unrelated

Offline

#8 2014-02-16 11:56:34

neagix
Member
Registered: 2013-10-19
Posts: 14

Re: Intel hardware decoding issue - poor playback with VLC/mplayer

jocheem67 wrote:

mplayer -v

will give you enough info to work on.

MPlayer SVN-r36265-4.8.2 (C) 2000-2013 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i3-4340 CPU @ 3.60GHz (Family: 6, Model: 60, Stepping: 3)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '~/.mplayer/codecs.conf'
Reading optional codecs config file ~/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: 203 audio & 423 video codecs
init_freetype
get_path('font/font.desc') -> '~/.mplayer/font/font.desc'
font: can't open file: ~/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '~/.mplayer/fonts'
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

vo: x11 uninit called but X11 not initialized..

It does not tell much to me...

Next I will try to use this rendering mode (VA) with VLC

Offline

Board footer

Powered by FluxBB