You are not logged in.

#1 2011-03-29 09:02:24

figo1802
Member
Registered: 2009-08-03
Posts: 37

why my mplayer-vaapi canot work

./mplayer -vo vaapi:gl -va vaapi Nothing.But.the.Truth.2008.BluRay.1080p.DTS.x264.mkv 
MPlayer SVN-r33025-4.5.2 (C) 2000-2011 MPlayer Team
162 audio & 347 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Nothing.But.the.Truth.2008.BluRay.1080p.DTS.x264.mkv.
libavformat file format detected.
[matroska,webm @ 0x9b36f30] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0, Nothing.But.the.Truth.2008
[lavf] stream 1: audio (dca), -aid 0, -alang eng, DTS-HD MA CORE 1536K
VIDEO:  [H264]  1920x800  0bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[vo_vaapi] Using OpenGL rendering
libva: libva version 0.31.1
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x800 => 1920x800 H.264 VA-API Acceleration 
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
mplayer: i965_avc_ildb.c:621: i965_avc_ildb_decode_init: Assertion `avc_ildb_context->urb.cs_start + avc_ildb_context->urb.num_cs_entries * avc_ildb_context->urb.size_cs_entry <= (((&i965->intel)->device_id == 0x0102 || (&i965->intel)->device_id == 0x0112 || (&i965->intel)->device_id == 0x0122 || (&i965->intel)->device_id == 0x0106 || (&i965->intel)->device_id == 0x0116 || (&i965->intel)->device_id == 0x0126 || (&i965->intel)->device_id == 0x010A) ? 1024 : (((&i965->intel)->device_id == 0x0042) || ((&i965->intel)->device_id == 0x0046)) ? 1024 : (((&i965->intel)->device_id == 0x2E02 || (&i965->intel)->device_id == 0x2E12 || (&i965->intel)->device_id == 0x2E22 || (&i965->intel)->device_id == 0x2E32) || ((&i965->intel)->device_id == 0x2A42)) ? 384 : 256)' failed.


MPlayer interrupted by signal 6 in module: decode video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
[figo@figo ~]$ vainfo 
libva: libva version 0.31.1
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileH264Baseline           :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
[figo@figo ~]$ 

why i canot work?

Offline

#2 2011-03-29 11:26:23

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: why my mplayer-vaapi canot work

As far as I know Intel still didn't manage to release working vaapi support for h.264 with g45 chips (X4500 HD).


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#3 2011-03-30 10:51:48

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: why my mplayer-vaapi canot work

As Cdh mentioned h264 only works for i3/5/7 CPUs with Integrated Intel HD Graphics (Arrandale/Clarkdale/Sandy Bridge). The current version of libva wrongly reports support for all codecs, although your Chip might not support all of them. My Core i3-380UM for example reports VC1 support but the driver doesn't really support it.


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

Board footer

Powered by FluxBB