Hi Gwenole,
Here is the log of green screen video without HW acceleration that worked fine with previous version of mplayer-vaapi with same invocation and same IEGD driver:
Another thing I have found - on H264 videos last mplayer-vaapi gives normal picture, no green screen, HW acceleration works, but in log there are some warnings that do not present in old logs:
Here is the log of green screen video without HW acceleration that worked fine with previous version of mplayer-vaapi with same invocation and same IEGD driver:
Code:
denis@ubuntu-fitpc2:~/Downloads/mplayer-vaapi-20100105.i686$ ./mplayer -va vaapi -vo vaapi /home/denis/Videos/2/vid02.wmv MPlayer SVN-r30226-4.2.4 (C) 2000-2009 MPlayer Team Playing /home/denis/Videos/2/vid02.wmv. ASF file format detected. [asfheader] Audio stream found, -aid 1 [asfheader] Video stream found, -vid 2 VIDEO: [WMV3] 1248x700 24bpp 1000.000 fps 2500.0 kbps (305.2 kbyte/s) libva: libva version 0.31.0-sds3 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 ========================================================================== Opening video decoder: [dmo] DMO video codecs DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 Decoder is capable of YUV output (flags 0x1b) Movie-Aspect is undefined - no prescaling applied. VO: [vaapi] 1248x700 => 1248x700 Planar YV12 Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16005->176400) Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... A: 5.9 V: 4.7 A-V: 1.198 ct: 0.038 52/ 52 129% 26% 1.6% 50 0 ************************************************ **** Your system is too SLOW to play this! **** ************************************************ Possible reasons, problems, workarounds: - Most common: broken/buggy _audio_ driver - Try -ao sdl or use the OSS emulation of ALSA. - Experiment with different values for -autosync, 30 is a good start. - Slow video output - Try a different -vo driver (-vo help for a list) or try -framedrop! - Slow CPU - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. - Broken file - Try various combinations of -nobps -ni -forceidx -mc 0. - Slow media (NFS/SMB mounts, DVD, VCD etc) - Try -cache 8192. - Are you using -cache to play a non-interleaved AVI file? - Try -nocache. Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html. A: 9.7 V: 7.0 A-V: 2.696 ct: 0.044 121/121 132% 26% 1.4% 118 0 Exiting... (Quit)
Code:
denis@ubuntu-fitpc2:~/Downloads/mplayer-vaapi-20100105.i686$ ./mplayer -va vaapi -vo vaapi /home/denis/Videos/NIN.flv MPlayer SVN-r30226-4.2.4 (C) 2000-2009 MPlayer Team Playing /home/denis/Videos/NIN.flv. libavformat file format detected. [B][h264 @ 0x94b8430]get_buffer() failed (-1 0 0 (nil)) [h264 @ 0x94b8430]decode_slice_header error [h264 @ 0x94b8430]no frame![/B] [flv @ 0x94b71f0]Estimating duration from bitrate, this may be inaccurate [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [H264] 640x480 0bpp 29.970 fps 187.6 kbps (22.9 kbyte/s) Clip info: duration: 427 starttime: 0 totalduration: 427 width: 640 height: 480 videodatarate: 183 audiodatarate: 64 totaldatarate: 254 framerate: 30 bytelength: 13559926 canseekontime: true sourcedata: BD4B34AA4MM purl: pmsg: libva: libva version 0.31.0-sds3 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 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] VA API accelerated codec. Unsupported PixelFormat -1 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... [VD_FFMPEG] Trying pixfmt=0. Unsupported PixelFormat -1 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vaapi] 640x480 => 640x480 H.264 VA API Acceleration [VD_FFMPEG] XVMC-accelerated MPEG-2. A: 18.3 V: 18.3 A-V: 0.049 ct: 0.059 0/ 0 13% 12% 6.6% 21 0 Exiting... (Quit)
Comment