Dear all,
I am using intel's iegd driver. while running mplayer (Compiled with vaapi support) i am getting following error.
[vo_vaapi] vaQuerySubpictureFormats(): unknown libva error
Error opening/initializing the selected video_out (-vo) device.
Any sugestion to resolve this issue..
Thanks in advance.
Regards,
Raj.
Hi gbeauche,
Thank you for your reply.
I've tested with beta version only.With latest version mplayer displaying a green screen.(i've already tested).
but "./mplayer-vaapi -vo x11 <filename>" it is playing fine.
Regards,
Raj
Confirm green screen with latest mplayer.
In terminal I see:
...
Intel(r) Embedded Graphics Driver 10.2 Build 1450
...
VO: [vaapi] 480x272 => 480x272 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
But actual HW acceleration not involved, cpu usage is very high.
vainfo
works correctly? Also you have to use
mplayer -va vaapi -vo vaapi <URI>
vainfo if fine:
denis@ubuntu-fitpc2:~/Videos/4$ vainfo
libva: libva version 0.31.0-sds4
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/iegd_drv_video.so
Intel(r) Embedded Graphics Driver 10.2 Build 1450
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Intel(r) Embedded Graphics Driver 10.2 Build 1450
vainfo: Supported profile and entrypoints
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointMoComp
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointMoComp
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointMoComp
mplayer -va vaapi -vo vaapi <URI> like with previous versions of mplayer, with same video file gives green screen
Post the whole log, starting with the command line. You get a green screen because you are either using a non-accelerated codec or you are not invoking mplayer correctly. The former happens because "iegd" does not implement vaPutImage() yet to handle display of non-accelerated videos. The latter happens because you are not passing -va vaapi.
Dear All,
Here I am poviding the entire log.
#1
[root@localhost mplayer-vaapi]# uname -a
Linux localhost 2.6.31.rc6-67.1.moblin2-ivi #1 SMP PREEMPT Tue Aug 18 20:52:51 UTC 2009 i686 i686 i386 GNU/Linux
================================================== ==============
#2
[root@localhost mplayer-vaapi]# vainfo
libva: VA_DRIGetClientDriverName: 10.3.1495 iegd (screen 0)
driver_name: iegd
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
Intel(r) Embedded Graphics Driver 10.3 Build 1495
libva: va_openDriver() returns 0
vainfo: VA API version: 0.29
vainfo: Driver version: Intel(r) Embedded Graphics Driver 10.3 Build 1495
================================================== ============
#3
[root@localhost mplayer-vaapi]# ./mplayer -va vaapi -vo vaapi /home/Videos/FlightSimX_720p60_51_15Mbps.wmv
MPlayer SVN-r29968-4.3 (C) 2000-2009 MPlayer Team
Playing /home/Videos/FlightSimX_720p60_51_15Mbps.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WVC1] 1280x720 24bpp 1000.000 fps 15000.0 kbps (1831.1 kbyte/s)
libva: VA_DRIGetClientDriverName: 10.3.1495 iegd (screen 0)
driver_name: iegd
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/xorg/modules/drivers/iegd_drv_video.so
Intel(r) Embedded Graphics Driver 10.3 Build 1495
libva: va_openDriver() returns 0
major : 0, minor : 29
va_subpic_formats : 0
status value is : ffffffff
[vo_vaapi] vaQuerySubpictureFormats(): unknown libva error
Error opening/initializing the selected video_out (-vo) device.
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 384.0 kbit/4.17% (ratio: 48000->1152000)
Selected audio codec: [ffwmapro] afm: ffmpeg (WMA Pro audio (FFmpeg))
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
DVB card number must be between 1 and 4
AO: [null] 48000Hz 6ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: 10.4 (10.4) of 96.9 (01:36.9) 7.1%
================================================== ========
Install libva package from http://www.splitted-desktop.com/~gbe...bva/pkgs/i386/
I have encountered libva errors to with 0.29 version that exists in IEGD driver.