Моё оборудование таково: Intel® Core™ i3-2310M CPU @ 2.10GHz , 8GB RAM 1333Mhz, Nvidia GT540M (Ноутбук с технологией Optimus)
Так вот в продолжение для воспроизведения видео советую поставить пакет
Код: Выделить всё
mplayer-vaapi
Код: Выделить всё
libva-intel-vaapi-driver
В плеере mplayer при воспроизведении любого файла:
Spoiler
libavformat version 55.7.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 720x304 12bpp 23.976 fps 1343.8 kbps (164.0 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
Load subtitles in /home/volnes/Загрузки/
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.9.100 (internal)
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is undefined - no prescaling applied.
VO: [vaapi] 720x304 => 720x304 MPEG-4 VA-API Acceleration
FATAL: Cannot initialize video driver.
[VD_FFMPEG] Trying pixfmt=1.
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=2.
Movie-Aspect is undefined - no prescaling applied.
VO: [vaapi] 720x304 => 720x304 Planar YV12
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [vaapi] 720x304 => 720x304 Planar YV12
A: 0.7 V: 1.0 A-V: -0.274 ct: -0.063 24/ 24 0% 3% 0.5% 0 0
[VD_FFMPEG] DRI failure.
A: 3.3 V: 3.4 A-V: -0.033 ct: -0.303 82/ 82 2% 2% 0.7% 0 0
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
A: 22.0 V: 22.2 A-V: -0.219 ct: -0.127 533/533 1% 1% 0.8% 0 0
Capturing not enabled (forgot -capture parameter?)
A: 22.7 V: 22.9 A-V: -0.148 ct: -0.198 550/550 2% 1% 0.8% 0 0
в VLC вроде все нормально, но фризы при динамичных сценах есть, в логах вот такая бяка:
Spoiler
[0x7f6470c02dd8] avcodec decoder warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled
[0x7f6470c02dd8] avcodec decoder debug: Available decoder output format 61 (dxva2_vld)
[0x7f6470c02dd8] avcodec decoder debug: Available decoder output format 53 (vaapi_vld)
[0x7f6470c02dd8] avcodec decoder debug: Trying VA API
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
[0x7f6470c02dd8] avcodec decoder warning: Failed to open VA API
[0x7f6470c02dd8] avcodec decoder debug: Available decoder output format 81 (vda_vld)
[0x7f6470c02dd8] avcodec decoder debug: Available decoder output format 0 (yuv420p)
[0x7f6470c02dd8] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
Куда копать, я просто теряюсь...