LINUX.ORG.RU

Не работает vaapi на Intel HD 3000 и все тут.

 , , , ,


1

1

пакет установлен mplayer-vaapi, но простыня ужасна

volnes@linux:~$ LIBVA_DRIVER_NAME=i965 mplayer -vo vaapi -va vaapi /home/volnes/Загрузки/Startrek.Vozmezdie.2013.Dt.HDRip.1400MB...avi 

MPlayer UNKNOWN-4.7 (C) 2000-2013 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 /home/volnes/Загрузки/Startrek.Vozmezdie.2013.Dt.HDRip.1400MB...avi.
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: User requested driver 'i965'
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
mplayer: intel_driver.c:58: intel_driver_init: Assertion `dri_state->driConnectedFlag == VA_DRI2 || dri_state->driConnectedFlag == VA_DRI1' failed.


MPlayer interrupted by signal 6 in module: preinit_libvo
- 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.
И кто кричит что УМВР на штеуде? Обман?

★★★★★

Последнее исправление: cetjs2 (всего исправлений: 1)
Ответ на: комментарий от aidan
volnes@linux:~$ vainfo 
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
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.17
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
fallout4all ★★★★★
() автор топика
Ответ на: комментарий от i-rinat

за тем что

volnes@linux:~$ mplayer -vo vaapi -va vaapi /home/volnes/Загрузки/Startrek.Vozmezdie.2013.Dt.HDRip.1400MB...avi 
MPlayer UNKNOWN-4.7 (C) 2000-2013 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 /home/volnes/Загрузки/Startrek.Vozmezdie.2013.Dt.HDRip.1400MB...avi.
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 filter: [scale]
Opening video filter: [spp]
libavcodec version 55.9.100 (internal)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[PP] Using external postprocessing filter, max q = 6.
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.
[PP] Using external postprocessing filter, max q = 6.
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.
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7fe3297ef760]using unscaled yuv420p -> yuv420p special converter
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...
[PP] Using external postprocessing filter, max q = 6.
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%  5%  0.4% 0 0 
[VD_FFMPEG] DRI failure.
A:   3.5 V:   3.5 A-V: -0.022 ct: -0.313  86/ 86  1% 26%  0.6% 0 0 

fallout4all ★★★★★
() автор топика
Ответ на: комментарий от fallout4all

У тебя вывод идёт через VA-API, а декодирование программное. У тебя видео в MPEG-4, в железе поддержки декодирования MPEG-4 нет. Объясни, чего ты ожидаешь?

i-rinat ★★★★★
()
Ответ на: комментарий от fallout4all
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice

Качай видео в H264, например mkv всякие. Или ты еще theora хочешь открыть через vaapi?

bhfq ★★★★★
()
Ответ на: комментарий от bhfq
volnes@linux:~$ mplayer -vo vaapi -va vaapi /home/volnes/Загрузки/A.Good.Day.to.Die.Hard.2013.WEBDL.720p.mkv 
MPlayer UNKNOWN-4.7 (C) 2000-2013 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 /home/volnes/Загрузки/A.Good.Day.to.Die.Hard.2013.WEBDL.720p.mkv.
libavformat version 55.7.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0, A.Good.Day.to.Die.Hard.2013.720p.WEB-DL.H264-HDWinG
[lavf] stream 1: audio (ac3), -aid 0, -alang rus
[lavf] stream 2: audio (ac3), -aid 1, -alang eng, DD 5.1 @ 384 kbps
VIDEO:  [H264]  1280x692  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 creation_time: 2013-05-15 07:13:54
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 filter: [scale]
Opening video filter: [spp]
libavcodec version 55.9.100 (internal)
==========================================================================
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: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[PP] Using external postprocessing filter, max q = 6.
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.
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7fdeb0735760]using unscaled yuv420p -> yuv420p special converter
VO: [vaapi] 1280x692 => 1280x692 Planar YV12 
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[PP] Using external postprocessing filter, max q = 6.
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.
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is undefined - no prescaling applied.
VO: [vaapi] 1280x692 => 1280x692 Planar YV12 
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is 1.85:1 - prescaling to correct movie aspect.
VO: [vaapi] 1280x692 => 1280x692 Planar YV12 
A:   0.1 V:   0.0 A-V:  0.042 ct:  0.004   0/  0 ??% ??% ??,?% 0 0 
[VD_FFMPEG] DRI failure.
A:  19.2 V:  19.2 A-V:  0.000 ct:  0.042   0/  0 18%  3%  0.6% 2 0 

Запустил mkv и что лаги...сплошные лаги при воспроизведении

fallout4all ★★★★★
() автор топика
Ответ на: комментарий от fallout4all

да и какой тогда видео выход использовать

vaapi:gl

фризы и наложение кадров достали просто.

И вот это выруби:

[PP] Using external postprocessing filter, max q = 6.

А ещё всякие фильтры видео, аудио, эквалайзеры. Всё вырубай.

i-rinat ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.