You are not logged in.

#1 2016-06-12 21:38:12

Eye
Member
Registered: 2010-11-13
Posts: 22

[SOLVED] Codecs for playing video

I use intel default and i got bumblebee under my nvidia 840M. Hybrid graphics works fine on my laptop, fine enough for steam games fun.

The only main problem I have with my arch linux is that I can't get VDPAU or VA-API to work.
I have to dual-boot with other distro when I want to watch the new GoT episode 1080p because arch linux codecs don't work.
This is how I stumbled uppon the existance of "Hardware video acceleration" after reading Codecs wiki and tried to install va-api, uninstall, install it again, install vdpau instead, reinstall graphics drivers, unsintall everything and try again but no success...
What's frustrating is that I can livecd a manjaro and this works out of the box, I don't even have to care about the existance of va-api or vdpau and I wonder what libs of codecs are installed there to make it work that I lack on my archlinux or that are broken

I have VLC and mplayer installed
both are not functional (either slow, jumping frames or showing green or gray glitches) at playing 1080p MPEG-1/2 videos
It's been more than a month of trying new things and googling for solutions
I have came to places that say that 840M (my GPU) has buggy driver and VDPAU doesn't work
but then how does manjaro and other distros do it out of the box? Do I really need to have VDPAU or VA-API to play 1080p unkown codec videos? if not, please guide me, I don't know what to follow in order to learn this.

I might be old here but I'm still a newbie.

Here are some outputs:

[quant@arch ~]$ vdpauinfo
display: :0.0   screen: 0
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
API version: 1
Information string: OpenGL/VAAPI/libswscale backend for VDPAU

Video surface:

name   width height types
-------------------------------------------
420     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
422     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
444     1920  1080  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  --- not supported ---
H264_MAIN                      --- not supported ---
H264_HIGH                      --- not supported ---
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    -  
R8G8B8A8          8192  8192    -  
R10G10B10A2       8192  8192    -  
B10G10R10A2       8192  8192    -  
A8                8192  8192    -  

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  -
SHARPNESS                        -
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              -  
VIDEO_SURFACE_HEIGHT             -  
CHROMA_TYPE                      -  
LAYERS                           -  

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 -  
CSC_MATRIX                       -  
NOISE_REDUCTION_LEVEL            -  
SHARPNESS_LEVEL                  -  
LUMA_KEY_MIN_LUMA                -  
LUMA_KEY_MAX_LUMA                -  

vlc when playing something:

[quant@arch ~]$ vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[000000000088dbb8] pulse audio output error: PulseAudio server connection failure: Connection refused
[0000000000775148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2dec059398] vdpau_avcodec generic error: decoder profile not supported: 8
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2de0001268] vdpau_display vout display error: source video chroma type not supported
[00007f2e040013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f2e040013a8] http access error: cannot connect to services.tvrage.com:80
[00007f2e14d92588] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f2e14d92588] http access error: cannot connect to services.tvrage.com:80
[00007f2e040013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f2e040013a8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f2e04000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f2e14d92588] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f2e14d92588] access_mms access error: cannot connect to services.tvrage.com:80
[00007f2e14c173f8] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2dec6e3518] vdpau_avcodec generic error: decoder profile not supported: 8
[h264 @ 0x7f2e08d42dc0] mmco: unref short failure
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 321 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2dec0734a8] vdpau_avcodec generic error: decoder profile not supported: 8
[h264 @ 0x7f2e08c5b420] Missing reference picture, default is 0
[h264 @ 0x7f2e08c5b420] decode_slice_header error
[h264 @ 0x7f2e08cb3de0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08cfb5c0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08d42dc0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08c5b420] Missing reference picture, default is 65590
[h264 @ 0x7f2e08cb3de0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08cfb5c0] reference picture missing during reorder
[h264 @ 0x7f2e08cfb5c0] reference picture missing during reorder
[h264 @ 0x7f2e08cfb5c0] reference picture missing during reorder
[h264 @ 0x7f2e08cfb5c0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08cfb5c0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08cfb5c0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08d42dc0] Missing reference picture, default is 65590
[h264 @ 0x7f2e08c5b420] mmco: unref short failure
[h264 @ 0x7f2e08c5b420] reference picture missing during reorder
[h264 @ 0x7f2e08c5b420] Missing reference picture, default is 65602
[h264 @ 0x7f2e08cfb5c0] mmco: unref short failure
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 335 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2dec073628] vdpau_avcodec generic error: decoder profile not supported: 8
[h264 @ 0x7f2e08d42dc0] mmco: unref short failure
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 679 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2decb0b0c8] vdpau_avcodec generic error: decoder profile not supported: 8
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 696 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2decf40bf8] vdpau_avcodec generic error: decoder profile not supported: 8
[00007f2e0c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 750 ms)
[00007f2e0c0009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f2dec1e4b78] vdpau_avcodec generic error: decoder profile not supported: 8

DRI_PRIME is set to 1
VDPAU_DRIVER is set to nvidia

Thank you for you time and pacience.

SOLUTION: Was installing a different video player, in my case, mvp.

Last edited by Eye (2016-06-13 15:13:47)

Offline

#2 2016-06-12 21:47:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] Codecs for playing video

Are you using the intel or nvidia driver to play them? You should use VA-API for Intel and VDPAU for Nvidia, so it makes a difference.

Offline

#3 2016-06-12 22:37:26

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

Scimmia wrote:

Are you using the intel or nvidia driver to play them? You should use VA-API for Intel and VDPAU for Nvidia, so it makes a difference.

So I have installed VA-API and here is the results:

vainfo:

[quant@arch dri]$ vainfo
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD

vlc of about 1min of playing a video (video now is jumping some frames ahead, from time to time, it hapens at the same time it shows the error "ES_OUT_SET..." in console as you can see in this output:

[quant@arch ~]$ vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[00000000019b5bb8] pulse audio output error: PulseAudio server connection failure: Connection refused
[000000000189d148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
[ass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.2.7 (COMPLEX)
[ass] Using font provider fontconfig
[mpeg2video @ 0x7f6440c583e0] ignoring pic cod ext after 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007f6444c690f8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f6444c690f8] http access error: cannot connect to services.tvrage.com:80
[00007f6444c690f8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f6444c690f8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f6444003868] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 374 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 379 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 393 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 478 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 495 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 527 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f643c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 569 ms)
[00007f643c0009b8] core input error: ES_OUT_RESET_PCR called

Last edited by Eye (2016-06-12 22:39:42)

Offline

#4 2016-06-12 22:42:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] Codecs for playing video

So you're using Intel. Did you set vlc to use VA-API under Input/Codecs and set the Output to OpenGL under Video, both in the Preferences?

Offline

#5 2016-06-12 23:05:25

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

Scimmia wrote:

So you're using Intel. Did you set vlc to use VA-API under Input/Codecs and set the Output to OpenGL under Video, both in the Preferences?

I did it, here are some screenshoots:

VA-API
Captura_de_ecr_2016_06_12_22_59_44.jpg
out in opengl
Captura_de_ecr_2016_06_12_23_00_24.jpg


end result:
Captura_de_ecr_2016_06_12_23_01_55.jpg


output playing a video (now as you can see video is green)

[quant@arch ~]$ vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000000b29c38] pulse audio output error: PulseAudio server connection failure: Connection refused
[0000000000a11148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[00007f65540013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f65540013a8] http access error: cannot connect to services.tvrage.com:80
[00007f6558d924f8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f6558d924f8] http access error: cannot connect to services.tvrage.com:80
[00007f65540013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f65540013a8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f6554000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f6558d924f8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f6558d924f8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f6558c0b0a8] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655cd42da0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 309 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccfb5a0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 361 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccb3dc0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 376 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccfb5a0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 376 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 503 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655cc5b400] Missing reference picture, default is 0
[h264 @ 0x7f655cc5b400] decode_slice_header error
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 65590
[h264 @ 0x7f655ccfb5a0] Missing reference picture, default is 65590
[h264 @ 0x7f655cd42da0] reference picture missing during reorder
[h264 @ 0x7f655cd42da0] reference picture missing during reorder
[h264 @ 0x7f655cd42da0] reference picture missing during reorder
[h264 @ 0x7f655cd42da0] Missing reference picture, default is 65590
[h264 @ 0x7f655cd42da0] Missing reference picture, default is 65590
[h264 @ 0x7f655cd42da0] Missing reference picture, default is 65590
[h264 @ 0x7f655cc5b400] Missing reference picture, default is 65590
[h264 @ 0x7f655ccfb5a0] reference picture missing during reorder
[h264 @ 0x7f655ccfb5a0] Missing reference picture, default is 65598
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 505 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 579 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655cc5b400] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 617 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 648 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 2
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 2
[h264 @ 0x7f655cd42da0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 653 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655cc5b400] Missing reference picture, default is 0
[h264 @ 0x7f655cc5b400] decode_slice_header error
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 0
[h264 @ 0x7f655ccb3dc0] decode_slice_header error
[h264 @ 0x7f655ccfb5a0] Missing reference picture, default is 65516
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 674 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccfb5a0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 731 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccfb5a0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 853 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccfb5a0] mmco: unref short failure
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 949 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655cc5b400] Missing reference picture, default is 0
[h264 @ 0x7f655cc5b400] decode_slice_header error
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 0
[h264 @ 0x7f655ccb3dc0] decode_slice_header error
[h264 @ 0x7f655ccfb5a0] Missing reference picture, default is 65536
[h264 @ 0x7f655ccfb5a0] Missing reference picture, default is 65536
[h264 @ 0x7f655cd42da0] mmco: unref short failure
[h264 @ 0x7f655cd42da0] mmco: unref short failure
[h264 @ 0x7f655ccb3dc0] reference picture missing during reorder
[h264 @ 0x7f655ccb3dc0] Missing reference picture, default is 65532
[00007f65600009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 1022 ms)
[00007f65600009b8] core input error: ES_OUT_RESET_PCR called
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f655cc0d8a8] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 1.7.0 for hardware decoding.
[h264 @ 0x7f655ccb3dc0] mmco: unref short failure

Offline

#6 2016-06-13 04:14:01

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

Re: [SOLVED] Codecs for playing video

ZjTUY4Y.png?1

Shouldn't it look like this ? I'm using vaapi with xv accelerated processing.

Offline

#7 2016-06-13 10:51:52

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

jocheem67 wrote:

http://i.imgur.com/ZjTUY4Y.png?1

Shouldn't it look like this ? I'm using vaapi with xv accelerated processing.

what's wierd is that in other distros (and same computer) vlc doesn't even need libva to play same video codecs. The output is this:

quant@TIME:~$ vlc
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000c63148] core libvlc: Executando o VLC com a interface padrão. Use 'cvlc' para usar o VLC sem interface.
[mpeg2video @ 0x7f4d4cca6180] ignoring pic cod ext after 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007f4d54c0c8b8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f4d54c0c8b8] http access error: cannot connect to services.tvrage.com:80
[00007f4d54c0c8b8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f4d54c0c8b8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f4d54001388] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
QObject::~QObject: Timers cannot be stopped from another thread

I've tried pacman -R libva but it doesn't let me, it says it would break xyz packages.

Also on my other laptop in which I never cared about installing vdpau ou va-api it plays fine with this output:

[qwe@arch ~]$ vlc
VLC media player 2.2.3 Weatherwax (revision 2.2.3-0-g7370183)
[00000000022e53c8] pulse audio output error: PulseAudio server connection failure: Connection refused
[00000000021e0148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
[00007fc69cc04f58] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007fc69cc04f58] http access error: cannot connect to services.tvrage.com:80
Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
[00007fc69cc04f58] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007fc69cc04f58] access_mms access error: cannot connect to services.tvrage.com:80
[00007fc69cc13b88] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
No accelerated IMDCT transform found

Last edited by Eye (2016-06-13 10:57:05)

Offline

#8 2016-06-13 12:05:28

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: [SOLVED] Codecs for playing video

Bad Internet connection and VLC dont fix that

[00007f4d54c0c8b8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f4d54c0c8b8] http access error: cannot connect to services.tvrage.com:80

Offline

#9 2016-06-13 12:25:17

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

pekka wrote:

Bad Internet connection and VLC dont fix that

[00007f4d54c0c8b8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f4d54c0c8b8] http access error: cannot connect to services.tvrage.com:80

I don't understand what's your point pekka.
That line is from the output of the arch computer in which VLC is working fine on playing that video; I don't think I need internet connection to watch a video I have saved on the HDD.

Offline

#10 2016-06-13 12:33:26

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

Progress so far:

I have forced pacman to remove libva and tried to open a video that needs libva and VLC doesn't display video anymore but it still plays audio and from the audio I can tell it's still jumping frames when it outputs "ES_OUT_RESET_PCR called..." at the console suggesting it's not libva problem or VA-API it's probably something else.

[quant@arch ~]$ sudo pacman -Rdd libva

Pacotes (1) libva-1.7.0-1

Tamanho Total Removido:  2,08 MiB

:: Deseja remover estes pacotes? [S/n] 
:: A processar modificações do pacote...
(1/1) a remover libva                                                                                        [################################################################] 100%
[quant@arch ~]$ vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[000000000080fc38] pulse audio output error: PulseAudio server connection failure: Connection refused
[00000000006f7148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
[00007f9a3cc0d8a8] core decoder error: corrupt module: /usr/lib/vlc/plugins/codec/libavcodec_plugin.so
[00007f9a54c04f48] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f9a54c04f48] http access error: cannot connect to services.tvrage.com:80
[00007f9a54c04f48] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f9a54c04f48] access_mms access error: cannot connect to services.tvrage.com:80
[00007f9a54c0b088] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f9a3cc0d8a8] gstdecode decoder error: no suitable decoder found
[00007f9a3cc0d8a8] core decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.
[00007f9a4c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 543 ms)
[00007f9a4c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f9a4c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 829 ms)
[00007f9a4c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f9a4c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 848 ms)
[00007f9a4c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f9a4c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 899 ms)
[00007f9a4c0009b8] core input error: ES_OUT_RESET_PCR called
[00007f9a4c0009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 961 ms)
[00007f9a4c0009b8] core input error: ES_OUT_RESET_PCR called
[quant@arch ~]$ 

Offline

#11 2016-06-13 12:58:02

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Codecs for playing video

From my limited experience I find that vlc doesn't play very well with hardware video acceleration, I have always used vlc as a last resort player without video acceleration and used other players for hardware video acceleration (mplayer with vdpau before, and now mpv with vaapi).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#12 2016-06-13 13:13:46

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Codecs for playing video

Eye wrote:
[quant@arch ~]$ vdpauinfo
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1

DRI_PRIME is set to 1
VDPAU_DRIVER is set to nvidia

Thank you for you time and pacience.

This doesn't make any sense. This is not output from "$ vdpauinfo" but from "$ vainfo".
If you are trying to make vdpau work then you need to set the variable you VDAPU_Driver="nvidia" but for libva (the command you typed before) the correct variable would be LIBVA_DRIVER_NAME="vdpau".

https://wiki.archlinux.org/index.php/Ha … ing_VA-API

If you want libva to work with intel not nvidia you need to install extra/libva-intel-driver to provide i965_drv_video.so.

Last edited by TheChickenMan (2016-06-13 13:17:10)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#13 2016-06-13 13:16:30

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

R00KIE wrote:

From my limited experience I find that vlc doesn't play very well with hardware video acceleration, I have always used vlc as a last resort player without video acceleration and used other players for hardware video acceleration (mplayer with vdpau before, and now mpv with vaapi).

I had mplayer-vaapi from aur installed and it didn't work so I have removed to install mpv and wow, everything works on mpv! Thanks a lot!
The only down is the lack of subtitles search integrated extension.

TheChickenMan wrote:
Eye wrote:
[quant@arch ~]$ vdpauinfo
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1

DRI_PRIME is set to 1
VDPAU_DRIVER is set to nvidia

Thank you for you time and pacience.

This doesn't make any sense. This is not output from "$ vdpauinfo" but from "$ vainfo".
If you are trying to make vdpau work then you need to set the variable you VDAPU_Driver="nvidia" but for libva (the command you typed before) the correct variable would be LIBVA_DRIVER_NAME="vdpau".

https://wiki.archlinux.org/index.php/Ha … ing_VA-API

If you want libva to work with intel not nvidia you need to install extra/libva-intel-driver to provide i965_drv_video.so.

I am trying to get anything (either if it's VDPAU or VA-API) to make VLC work on playing these videos.
I have tried VDPAU before and was never succesfull.
I didn't know I had to set LIBVA_DRIVER_NAME="vdpau".
Everything is so confusing in arch's wiki page (https://wiki.archlinux.org/index.php/Ha … celeration). Actually, they mention that i have to set LIBVA_DRIVER_NAME to vdpau but in "configuring VA-API" section and not in "configuring VDPAU" section.

Last edited by Eye (2016-06-13 13:23:36)

Offline

#14 2016-06-13 13:22:38

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Codecs for playing video

R00KIE wrote:

From my limited experience I find that vlc doesn't play very well with hardware video acceleration, I have always used vlc as a last resort player without video acceleration and used other players for hardware video acceleration (mplayer with vdpau before, and now mpv with vaapi).

VLC's VDPAU support should work well. I think, I haven't actually tried. It's the VAAPI support and the opengl output that are kinda meh. For example, the VLC devs have expressed an interest in having mpv's opengl code turned into a library that VLC could reuse. Because mpv simply rocks that much smile

Offline

#15 2016-06-13 13:31:41

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Codecs for playing video

Eye wrote:

I am trying to get anything (either if it's VDPAU or VA-API) to make VLC work on playing these videos.
I have tried VDPAU before and was never succesfull.
I didn't know I had to set LIBVA_DRIVER_NAME="vdpau".
Everything is so confusing in arch's wiki page (https://wiki.archlinux.org/index.php/Ha … celeration). Actually, they mention that i have to set LIBVA_DRIVER_NAME to vdpau but in "configuring VA-API" section and not in "configuring VDPAU" section.

VA-API
$ vainfo
LIBVA_DRIVER_NAME="vdpau"
Packages Needed: libva-vdpau-driver

VDPAU
$ vdpauinfo
VDPAU_DRIVER="nvidia"
Packages Needed: nvidia nvidia-utils

Unfortunately the wiki page is a lot better than it was a couple of months ago about this subject but the process of installing and configuring hardware video acceleration is just itself pretty confusing and a pain.


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#16 2016-06-13 13:50:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Codecs for playing video

TheChickenMan wrote:

Unfortunately the wiki page is a lot better than it was a couple of months ago about this subject but the process of installing and configuring hardware video acceleration is just itself pretty confusing and a pain.

I don't think it's a pain. But I also think that wiki page is *still* way too convoluted and confuses more than it helps. For example, I'd drop any mention of wrappers (libva-vdpau-driver, libva-xvba-driver and libvdpau-va-gl) and just focus on what each GPU/driver supports natively. That would cut down on the clutter and lead to a better experience for the user - wrappers are inefficient, if they work at all. Once you do that, it comes down to this:

Intel: VAAPI - install libva-intel-driver
nvidia proprietary : VDPAU - install nvidia-utils
AMD proprietary: VDPAU - install libvdpau-amdgpu-pro
nouveau and AMD open: VAAPI - install libva-mesa-driver, VDPAU - install mesa-vdpau

The above is not very confusing now, is it? Definitely much simpler than all those tables at the wiki. When you stick to that, there's no need to set any variables or some such.

BTW, your example is correct for nvidia proprietary (though I'd drop the VAAPI part, due to what I said above about wrappers), but Eye has a hybrid graphics setup, and using nvidia for hardware decoding in such a setup is a no-go. Eye will use Intel for decoding, so it's like I wrote above - install libva-intel-driver and no need to set any variables. And consequently forget about VDPAU, there is no VDPAU for Intel.

Last edited by Gusar (2016-06-13 13:56:14)

Offline

#17 2016-06-13 13:53:11

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

TheChickenMan wrote:
Eye wrote:

I am trying to get anything (either if it's VDPAU or VA-API) to make VLC work on playing these videos.
I have tried VDPAU before and was never succesfull.
I didn't know I had to set LIBVA_DRIVER_NAME="vdpau".
Everything is so confusing in arch's wiki page (https://wiki.archlinux.org/index.php/Ha … celeration). Actually, they mention that i have to set LIBVA_DRIVER_NAME to vdpau but in "configuring VA-API" section and not in "configuring VDPAU" section.

VA-API
$ vainfo
LIBVA_DRIVER_NAME="vdpau"
Packages Needed: libva-vdpau-driver

VDPAU
$ vdpauinfo
VDPAU_DRIVER="nvidia"
Packages Needed: nvidia nvidia-utils

Unfortunately the wiki page is a lot better than it was a couple of months ago about this subject but the process of installing and configuring hardware video acceleration is just itself pretty confusing and a pain.

Ok, I've tried configuring VDPAU, here is the output:

[quant@arch ~]$ printenv | grep LIBVA
[quant@arch ~]$ export LIBVA_DRIVER_NAME="vdpau"
[quant@arch ~]$ printenv | grep LIBVA
LIBVA_DRIVER_NAME=vdpau
[quant@arch ~]$ vainfo
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
^C
[quant@arch ~]$ export VDPAU_DRIVER="nvidia"
[quant@arch ~]$ pacman -Q | grep nvidia
lib32-nvidia-utils 364.19-1
nvidia 364.19-5
nvidia-utils 364.19-1
[quant@arch ~]$ vainfo
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
Floating point exception (core dumped)
[quant@arch ~]$ vdpauinfo
display: :0.0   screen: 0
Error creating VDPAU device: 1
[quant@arch ~]$ optirun vdpauinfo
display: :0.0   screen: 0
Error creating VDPAU device: 1
[quant@arch ~]$ vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000001577b78] pulse audio output error: PulseAudio server connection failure: Connection refused
[000000000145f148] core libvlc: A executar o VLC com a interface predefinida. Utilize 'cvlc' para utilizar o VLC sem interface.
[00007f29580013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f29580013a8] http access error: cannot connect to services.tvrage.com:80
[00007f295cc05028] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f295cc05028] http access error: cannot connect to services.tvrage.com:80
[00007f29580013a8] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f29580013a8] access_mms access error: cannot connect to services.tvrage.com:80
[00007f2958000958] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f295cc05028] core access error: cannot resolve services.tvrage.com port 80 : Name or service not known
[00007f295cc05028] access_mms access error: cannot connect to services.tvrage.com:80
[00007f295cc17a08] core art finder error: no suitable access module for `http://services.tvrage.com/feeds/search.php?show=Game of Thrones'
[00007f29540009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
[00007f29540009b8] core input error: ES_OUT_RESET_PCR called
[h264 @ 0x7f294cd42b80] mmco: unref short failure
[00007f29540009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 375 ms)
[00007f29540009b8] core input error: ES_OUT_RESET_PCR called
[h264 @ 0x7f294cc5b1e0] Missing reference picture, default is 0
[h264 @ 0x7f294cc5b1e0] decode_slice_header error
[h264 @ 0x7f294ccb3ba0] Missing reference picture, default is 65590
[h264 @ 0x7f294ccfb380] Missing reference picture, default is 65590
[h264 @ 0x7f294cd42b80] Missing reference picture, default is 65590
[h264 @ 0x7f294cc5b1e0] Missing reference picture, default is 65590
[h264 @ 0x7f294ccb3ba0] Missing reference picture, default is 65590
[h264 @ 0x7f294ccfb380] reference picture missing during reorder
[h264 @ 0x7f294ccfb380] reference picture missing during reorder
[h264 @ 0x7f294ccfb380] reference picture missing during reorder
[h264 @ 0x7f294ccfb380] Missing reference picture, default is 65590
[h264 @ 0x7f294ccfb380] Missing reference picture, default is 65590
[h264 @ 0x7f294ccfb380] Missing reference picture, default is 65590
[h264 @ 0x7f294cd42b80] Missing reference picture, default is 65590
[h264 @ 0x7f294cc5b1e0] mmco: unref short failure
[h264 @ 0x7f294cc5b1e0] reference picture missing during reorder
[h264 @ 0x7f294cc5b1e0] Missing reference picture, default is 65602
[h264 @ 0x7f294ccfb380] mmco: unref short failure
[00007f29540009b8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 399 ms)
[00007f29540009b8] core input error: ES_OUT_RESET_PCR called

VLC is still having difficulties at playing while mpv plays that video with no problem and outputs the following:

[quant@arch ~]$ mpv
mpv 0.17.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
 built on Wed Apr 27 15:26:51 CEST 2016
ffmpeg library versions:
   libavutil       55.17.103
   libavcodec      57.24.102
   libavformat     57.25.100
   libswscale      4.0.100
   libavfilter     6.31.100
   libswresample   2.0.101
ffmpeg version: 3.0.2

Usage:   mpv [options] [url|path/]filename

Basic options:
 --start=<time>    seek to given (percent, seconds, or hh:mm:ss) position
 --no-audio        do not play sound
 --no-video        do not play video
 --fs              fullscreen playback
 --sub-file=<file> specify subtitle file to use
 --playlist=<file> specify playlist file

 --list-options    list all mpv options

[quant@arch ~]$ mpv Game.of.Thrones.S06E04.
Game.of.Thrones.S06E04.1080p.HDTV.x264-BATV.mkv                               Game.of.Thrones.S06E04.Book.of.the.Stranger.1080p.WEB-DL.DD5.1.H.264-NTb.srt
[quant@arch ~]$ mpv Game.of.Thrones.S06E04.1080p.HDTV.x264-BATV.mkv 
Playing: Game.of.Thrones.S06E04.1080p.HDTV.x264-BATV.mkv
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 (*) (ac3)
AO: [alsa] 48000Hz stereo 2ch float
VO: [opengl] 1920x1078 yuv420p
AV: 00:00:25 / 00:58:38 (0%) A-V:  0.000
[input] No key binding found for key '0x1'.
(Paused) AV: 00:00:29 / 00:58:38 (0%) A-V:  0.000

Offline

#18 2016-06-13 13:57:53

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Codecs for playing video

I have the feeling your issues are not with hardware decoding, but with VLC simply being incapable of dealing with that particular file.

Offline

#19 2016-06-13 14:01:44

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Codecs for playing video

Gusar wrote:
TheChickenMan wrote:

Unfortunately the wiki page is a lot better than it was a couple of months ago about this subject but the process of installing and configuring hardware video acceleration is just itself pretty confusing and a pain.

I don't think it's a pain. But I also think that wiki page is *still* way too convoluted and confuses more than it helps. For example, I'd drop any mention of wrappers (libva-vdpau-driver, libva-xvba-driver and libvdpau-va-gl) and just focus on what each GPU/driver supports natively. That would cut down on the clutter and lead to a better experience for the user - wrappers are inefficient, if they work at all. Once you do that, it comes down to this:

Intel: VAAPI - install libva-intel-driver
nvidia proprietary : VDPAU - install nvidia-utils
AMD proprietary: VDPAU - install libvdpau-amdgpu-pro
nouveau and AMD open: VAAPI - install libva-mesa-driver, VDPAU - install mesa-vdpau

The above is not very confusing now, is it? Definitely much simpler than all those tables at the wiki. When you stick to that, there's no need to set any variables or some such.

BTW, your example is correct for nvidia proprietary (though I'd drop the VAAPI part, due to what I said above about wrappers), but Eye has a hybrid graphics setup, and using nvidia for hardware decoding in such a setup is a no-go. Eye will use Intel for decoding, so it's like I wrote above - install libva-intel-driver and no need to set any variables. And consequently forget about VDPAU, there is no VDPAU for Intel.

I must confess to not knowing anything about hybrid graphics setups and their special needs.

I do like your ideas for simplification about that page. I would wrapper configuration should be included *somehow though. Certain programs prefer and expect one or the other and it can be useful to have both configured properly in my opinion.


EDIT:
As a consequence should the OP install libva-intel-driver and remove the variable set to use the nvidia card for VA-API?

Last edited by TheChickenMan (2016-06-13 14:04:37)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#20 2016-06-13 14:10:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Codecs for playing video

TheChickenMan wrote:

EDIT:
As a consequence should the OP install libva-intel-driver and remove the variable set to use the nvidia card for VA-API?

Yes, exactly that. Remove all variables to prevent any conflicts. Applications configured for VAAPI will automatically look for i965_drv_video, which the libva-intel-driver package provides.

Last edited by Gusar (2016-06-13 14:14:58)

Offline

#21 2016-06-13 14:11:09

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

Gusar wrote:

I have the feeling your issues are not with hardware decoding, but with VLC simply being incapable of dealing with that particular file.

You are correct. I have installed smplayer and works just as good as mpv and has subtitle search option. It is a bit ugly but the interior is what matters the most so perfect!

Offline

#22 2016-06-13 14:21:33

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Codecs for playing video

Gusar wrote:

VLC's VDPAU support should work well. I think, I haven't actually tried. It's the VAAPI support and the opengl output that are kinda meh. For example, the VLC devs have expressed an interest in having mpv's opengl code turned into a library that VLC could reuse. Because mpv simply rocks that much smile

Maybe I'm just unlucky. With my previous laptop with an RV610 card using vdpau things didn't work very well either, it was very prone to crashing, but maybe because the gpu hw video decoding support is not very robust, however if using mplayer with vdpau it worked a lot better.

Now I'm using a laptop with an Intel integrated GPU and I've setup both vaapi and the vdpau wrapper and vlc craps out with both.

Eye wrote:

The only down is the lack of subtitles search integrated extension.

I don't use smplayer but You could try to install it and tell it to use mpv, I _think_ smplayer should support subtitle download or search.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#23 2016-06-13 14:26:03

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Codecs for playing video

smplayer and mpv are not a good combination. smplayer tries to use mpv as if it was mplayer, but it's not, which results in doing things that are counter-productive with mpv. baka-mplayer is better in this regard, it uses mpv as it's meant to be used, via libmpv. And contrary to its name, baka-mplayer is exclusively a mpv frontend. No idea if it has built-in subtitle search though.

R00KIE wrote:

Now I'm using a laptop with an Intel integrated GPU and I've setup both vaapi and the vdpau wrapper and vlc craps out with both.

LOL at that. Perhaps VLC is just bad, period

Last edited by Gusar (2016-06-13 14:27:22)

Offline

#24 2016-06-13 14:34:57

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: [SOLVED] Codecs for playing video

Gusar wrote:

smplayer and mpv are not a good combination. smplayer tries to use mpv as if it was mplayer, but it's not, which results in doing things that are counter-productive with mpv. baka-mplayer is better in this regard, it uses mpv as it's meant to be used, via libmpv. And contrary to its name, baka-mplayer is exclusively a mpv frontend. No idea if it has built-in subtitle search though.

R00KIE wrote:

Now I'm using a laptop with an Intel integrated GPU and I've setup both vaapi and the vdpau wrapper and vlc craps out with both.

LOL at that. Perhaps VLC is just bad, period

I've tried Baka and I like it a lot! It doesn't have subtitles search function but I will keep it and use both. Thanks!

Offline

#25 2016-12-15 23:38:27

sleeping
Member
Registered: 2016-01-09
Posts: 53

Re: [SOLVED] Codecs for playing video

http://imgur.com/UPDiAlRl.png

'Solved' by using mplayer instead.

Edit: mplayer plays it at 0.5 of the speed (the video, not the audio)...

Mod note: replaced img tags with urls.

Last edited by WorMzy (2016-12-15 23:42:02)

Offline

Board footer

Powered by FluxBB