LinuxForum.Fans
Тема

Воспроизведение видео с использованием GPU

Автор: phant0m 94 сообщений 18981 просмотров
#54982

Наверное, не так уж и хорошо он поддерживает Xinerama
Давйте, на всякий случай перезапустим Х (перелогиньтесь)
а потом попробуйте запустить видео с Smplayer'om

#54987

durc, Без Xinerama так-же (отключил перед перезагрузкой). В SMPlaer стоит VDPAU и параметры MPlayer (vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,) + в .mplayer/config:

text
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,
cachesize=8192
aspect="16:10"
#54988

И с другими файлами такая же ерунда?
Даже не знаю чем помочь.
В теории всё должно работать...


Если ещё cachesize=0 попробовать.
Кстати aspect="16:10" соотношение у Вас точно такое?

#54996

cachesize и aspect совсем убрал. В SMPlayer c vdpau ничего не играет. С vo=vdpau,xv, играет не всё. В основном отказываются видео с более высоким разрешением.

#55002

Выкладывайте тогда уж и /etc/X11/xorg.conf

Погуглил с Вашей ошибкой

[vdpau] Error when calling vdp_device_create_x11: 1

ссылок море, но решения так и не увидел. Видимо это всеобщая бага.

#55024

xorg.conf

text
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 256.35  (buildmeister@builder101)  Wed Jun 16 19:25:39 PDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 256.35 (buildmeister@builder101) Wed Jun 16 19:25:59 PDT 2010

Section "ServerLayout"

# Removed Option "Xinerama" "1" # Removed Option "Xinerama" "0" # Removed Option "Xinerama" "1" # Removed Option "Xinerama" "0" # Removed Option "Xinerama" "1" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" 1680 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Xinerama" "0" EndSection

Section "Files" EndSection

Section "InputDevice"

# generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection

Section "InputDevice"

# generated from default Identifier "Keyboard0" Driver "kbd" EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "Samsung SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid Identifier "Monitor1" VendorName "Unknown" ModelName "SONY TV" HorizSync 14.0 - 49.0 VertRefresh 48.0 - 62.0 Option "DPMS" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8800 GTS" BusID "PCI:4:0:0" Screen 0 EndSection

Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8800 GTS" BusID "PCI:4:0:0" Screen 1 EndSection

Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "TwinViewXineramaInfoOrder" "DFP-1" Option "metamodes" "DFP-1: 1680x1050 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-0: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

#55078

Вот на что сегодня наткнулся

Device drivers and hardware supporting VDPAU

Each hardware video GPU capable of VDPAU video acceleration requires a X11 software device driver to enable these features. Currently only second generation of PureVideo HD bit-stream processor in some of NVIDIA's GeForce 8 series and later graphics cards hardware that has support since the Beta device driver version 180.06.[4] Unsupported hardware from the GeForce 8 series includes the 8800GTS 320/640MB editions and the 8800GTX. Later cards based on the G9x series cores e.g. the 8400GS and the 8800GTS 512mb (G92 core) are supported. Nvidia currently has no plans to introduce support for the unsupported hardware.[8] All supported graphic devices are listed in Nvidia PureVideo.

Взято отсюда:
http://en.wikipedia.org/wiki/VDPAU

Вот и возник вопрос, а какая карта.
Я выделил в тексте, но поясню - поддержка есть у 8800GTS 512mb (G92 core),
а вот 8800GTS 320/640MB с VDPAU пролетают.

#55083

durc, У меня 8800GTS 320/320MB

#55085
phant0m написал:
durc, У меня 8800GTS 320/320MB

Походу мы зря извращались :(

#55087

durc, Вот облом. Спасибо за помощь. Будем ждать, вдруг поддержку сделают.

#122300

HD видео проигрывается mplayer vdpuau ,без тормозов но 2х яд. проц грузится на 50-60%.
подскажите какие библиотеки кроме libvdpau1 должны быть установлены для правильного вывода видео. видео карта NVIDIA 9500GT driver 260.19.36

#131629

Возвращаюсь в тему, так как сменил видео-карту на GTX260, драйвер 260.19.36, но vdpau настроить не удалось.
Установлены пакеты:

  • libvdpau1
  • vdpau-va-driver

Лог mplayer:
[console]~$ mplayer -vo vdpau "/media/2_3/Whisper of the Heart 1995 HDTV.mkv"
MPlayer SVN-r31918 (C) 2000-2010 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 /media/2_3/Whisper of the Heart 1995 HDTV.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang jpn
[mkv] Track ID 3: audio (A_MPEG/L3), -aid 1, -alang und
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang rus
[mkv] Track ID 5: subtitles (S_TEXT/UTF8) "Anna", -sid 1, -slang rus
[mkv] Track ID 6: subtitles (S_TEXT/ASS) "D-NTV", -sid 2, -slang rus
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1920x1040 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
No bind found for key 'JOY_AXIS3_MINUS'.
A: 5.7 (05.6) of 6648.6 ( 1:50:48.5) 1.8% [/console]

#131636

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Разберитесь с этой ошибкой.

#131646

durc, Разобрался.
wers, Если еще надо, попробуй:

$ sudo ln -s /usr/lib/vdpau/libvdpau_nvidia.so.260.19.36 /usr/lib/libvdpau_nvidia.so

Войдите или зарегистрируйтесь, чтобы ответить.