What's the current state of Mplayer with vaapi accleration? Does it work for anybody?
Been trying to get mplayer to use vaapi for video output. Installed libva and everything else I could find from rpmfusion.
Notice lines below:
Error opening/initializing the selected video_out (-vo) device. and
Video: no video.
Code:
$ mplayer -vo vaapi GimmeShelterOriginal.mp4
mplayer: Symbol `ff_codec_wav_tags' has different size in shared object, consider re-linking
MPlayer SVN-r33996-4.6.1 (C) 2000-2011 MPlayer Team
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 GimmeShelterOriginal.mp4.
libavformat file format detected.
[flv @ 0x7fef3abd0c40]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO: [H264] 854x480 0bpp 30.000 fps 1230.4 kbps (150.2 kbyte/s)
Clip info:
duration: 210
starttime: 0
totalduration: 210
width: 854
height: 480
videodatarate: 1202
audiodatarate: 127
totaldatarate: 1335
framerate: 30
bytelength: 35124468
canseekontime: true
sourcedata: B4A7DAAE2MH1311424215036134
purl:
pmsg:
Load subtitles in ./
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 130.5 kbit/9.25% (ratio: 16309->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
---------- Post added at 11:51 AM ---------- Previous post was at 11:20 AM ----------
Just tried this in Arch Linux and the same video plays fine using mplayer-vaapi. I do not see mplayer-vaapi available for Fedora.
From Arch Linux...
Quote:
$ mplayer -vo vaapi GimmeShelterOriginal.mp4
MPlayer SVN-r34357-4.6.2 (C) 2000-2011 MPlayer Team
176 audio & 379 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 GimmeShelterOriginal.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO: [H264] 854x480 0bpp 30.000 fps 1230.4 kbps (150.2 kbyte/s)
Clip info:
starttime: 0
totalduration: 210
totaldatarate: 1335
bytelength: 35124468
canseekontime: true
sourcedata: B4A7DAAE2MH1311424215036134
purl:
pmsg:
Load subtitles in ./
libva: VA-API version 0.32.0
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
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 130.5 kbit/9.25% (ratio: 16309->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 81
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=0.
Unsupported PixelFormat 61
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 854x480 => 854x480 H.264 VA-API Acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A: 210.0 V: 210.0 A-V: 0.035 ct: 0.033 0/ 0 2% 4% 0.4% 0 0
Exiting... (End of file)
|