- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- New to Ubuntu
- [SOLVED] Mplayer: Error opening video_out (-vo) device.
-
How do I fix this? I kept getting this error over two different computers. Trying to play movie files on mplayer.
Error opening/initializing the selected video_out (-vo) device.Specs:
Ubuntu 9.10 64 bit
Ubuntu-Restricted-Extras
Mplayer 2:1.0
Avi filesThanks,
Sugi
-
Re: Mplayer: Error opening video_out (-vo) device.
use ‘mplayer -vo help’ to get a list of valid video output devices. Specify them manually using ‘mplayer -vo <device> <file>’.
-
Re: Mplayer: Error opening video_out (-vo) device.
Which one would I pick for avis, mkv, and wma? They don’t clearly state it.
mplayer -vo directfb oranges.avi
So like that? How would I find out which device to pick for my file type?
Thanks,
Sugi
-
Re: Mplayer: Error opening video_out (-vo) device.
Hi.
Try:
Code:
mplayer -vo xv oranges.avi or mplayer -vo x11 oranges.avi
I think it should work with both.
Cheers
Bogdan
-
Re: Mplayer: Error opening video_out (-vo) device.
Thanks both of them work with both file types.
Sugi
-
Re: Mplayer: Error opening video_out (-vo) device.
You can write down the vo option in the config file of mplayer, so
you avoid writing the full command every time.
You can edit the config file:
gedit $HOME/.mplayer/configadd a line:
vo=xv
and you’re done.Bogdan
-
Re: Mplayer: Error opening video_out (-vo) device.
Originally Posted by Sugi
Which one would I pick for avis, mkv, and wma? They don’t clearly state it.
mplayer -vo directfb oranges.avi
So like that? How would I find out which device to pick for my file type?
Thanks,
Sugivo is the video out device. It doesnt deal with codecs.
Generally -vo xv is the best solution,
Unless you have nvidia card that supports vdpau hardware decoding and play 1080p movies. In that caes its «-vo vdpau -vc ffh264vdpau» (ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau are the valid vc options depending on the encoding).
Bookmarks
Bookmarks
Posting Permissions
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
Obegg opened this issue
Nov 28, 2021
· 10 comments
Comments
By what I can tell from the log — apparently gpu-context=auto
(default) is trying to use gpu-context=d3d11
which results in a crash.
My guess it’s because vo=gpu-next
doesn’t support gpu-context=d3d11
yet? I’m not sure.
Anyway, temporary fix is gpu-context=winvk
Ideal fix would be to support d3d11 contexts, cc @rossy @jeeb
My local cache told me the last safe commit is 2b2442e.
It may be introduced by the commit about implement OpenGL context support
In my opinion,d3d11 is still the best choice for windows user,really hope it could get implemented soon.
My local cache told me the last safe commit is 2b2442e. It may be introduced by the commit about implement OpenGL context support
Before the OpenGL commit, vo_gpu_next always forced Vulkan regardless of what gpu-api
or gpu-context
were set tho.
It now honors those settings and absence of d3d11 support isn’t really a bug.
In my opinion,d3d11 is still the best choice for windows user,really hope it could get implemented soon.
Why? If there’s anything wrong with gpu-context=winvk
, the proper course of action would be to fix this, I think..
#8902 someone think vulkan under win is not as stable as dx.
Hence «ought to be fixed» 😅
This comment has been minimized.
решала эту хрень при помощи поисковика. Сюда он же привел
помогло:
# DISPLAY=»:0.0″ export DISPLAY
(echo $DISPLAY выдавал пустую строчку)
и повторный запуск мплэера
Источник
[ubuntu[vdpau]проблема
Имеется бубунта 10.10 и smplayer, судя по версии такой же как тут — https://launchpad.net/
nvidia-vdpau/+archive/ppa Когда в настройках ставлю vpdau изображения нет, только звук, пытался запускать с другими параметрами — безуспешно. ЧЯДНТ?
имеется бубунта 10.10, использую smplayer (и все остальное) из оффрепозитория, все работает. ЧЯДНТ?
так в лог-то посмотри
Раньше работало? Какая карточка? Установлен проприетарный драйвер? Загружается ли он? Стоят всякие libvdpau, nvidia-vdpau-driver или какие там еще пакеты нужны? Покажи вывод aptitude search vdpau.
слышь, ТС, ты потроллить пришёл или проблему решить?
хде лять логи?
хде конфиги?
хде железо?
> Раньше работало? Какая карточка? Установлен проприетарный драйвер? Загружается ли он? Стоят всякие libvdpau, nvidia-vdpau-driver или какие там еще пакеты нужны? Покажи вывод aptitude search vdpau.
В 10.04 работало, карточка 9500 GT, блоб 256, libvdpau установлен.
> хде лять логи?
При запуске в консоли чисто.
>бубунта 10.10
вперде кривого паровоза? молодец чо
а что в иксо-логах?
в иксоошибках что?
в дмезге что?
ничё нипонял!
Команды что бы все это узнать можно?
вперде кривого паровоза? молодец чо
Логи mplayer/smplayer? Ctrl-m/Ctrl-s
смотри в:
/var/log/Xorg.0.log
вперде кривого паровоза? молодец чо
нормально там все, нефиг быть ссзб и ставить всякое хофно из ppa
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.
> нормально там все, нефиг быть ссзб и ставить всякое хофно из ppa
«хофно» из левых рра не ставилось.
Покажи вывод aptitude search vdpau.
что не понятно из
libvdpau_nvidia.so: cannot open shared object file: No such file or directory
тогда пардон, пост в шапке ввел в заблуждение
Покажи вывод aptitude search vdpau.
p libvdpau-dev — Video Decode and Presentation API for Unix (dev
p libvdpau-doc — Video Decode and Presentation API for Unix (doc
i A libvdpau1 — Video Decode and Presentation API for Unix (lib
p nvidia-180-libvdpau — Переходный пакет для nvidia-185-libvdpau
p nvidia-180-libvdpau-dev — Переходный пакет для nvidia-185-libvdpau-dev
p nvidia-185-libvdpau — Переходный пакет для nvidia-185-libvdpau
p nvidia-185-libvdpau-dev — Переходный пакет для nvidia-185-libvdpau-dev
p vdpau-va-driver — VDPAU-based backend for VA API
Источник
Adblock
detector
- Index
- » Applications & Desktop Environments
- » [Solved] Problem with playback in mpv
Pages: 1
#1 2014-10-04 16:01:29
- Sublime2k
- Member
- Registered: 2014-03-17
- Posts: 46
[Solved] Problem with playback in mpv
I just finished a fresh install of Arch on Lenovo N500.
When I try to run a .mkv file with mpv, I get this error:
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
Same thing happens when I try to run a .flv file. I haven’t tested with other file types.
I’m using Intel open source drivers and I have these packages installed:
xf86-video-intel
mesa-dri
lib32-mesa-libgl
libva-intel-driver
libva
I have no idea what’s the problem. Mpv works fine on my main PC (using AMD GPU).
Searching didn’t come up with anything useful.
Thanks in advance for help.
Last edited by Sublime2k (2014-10-04 23:40:58)
#2 2014-10-04 22:11:41
- karol
- Archivist
- Registered: 2009-05-06
- Posts: 25,440
Re: [Solved] Problem with playback in mpv
Try different video output.
#3 2014-10-04 22:44:10
- Sublime2k
- Member
- Registered: 2014-03-17
- Posts: 46
Re: [Solved] Problem with playback in mpv
That doesn’t help. I’ve tried the following:
vo=opengl
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
vo=opengl-hq
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl-hq/x11] X11 error: GLXBadFBConfig
[vo/opengl-hq] Could not create GL3 context. Retrying with legacy context.
vo=opengl-old
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
AO: [alsa] 48000Hz stereo 2ch s16
VO: [opengl-old] 1280x720 => 1280x720 yuv420p
vo=sdl
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo] Video output sdl not found!
Error opening/initializing the selected video_out (-vo) device.
Video: no video
Video: no video
AO: [alsa] 48000Hz stereo 2ch s16
Exiting... (Quit)
vo=vaapi
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
AO: [alsa] 48000Hz stereo 2ch s16
VO: [vaapi] 1280x720 => 1280x720 yuv420p
Exiting... (Quit)
vo=vdpau
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
Video: no video
Video: no video
AO: [alsa] 48000Hz stereo 2ch s16
Exiting... (Quit)
To make matters even more confusing, vaapi, vdpau and sdl have sound, but no video.
#4 2014-10-04 22:54:33
- Sublime2k
- Member
- Registered: 2014-03-17
- Posts: 46
Re: [Solved] Problem with playback in mpv
During the boot process, I also get these error messages, I’m not sure if they matter:
[6.570151] [drm:init_ring_common] *ERROR* render ring initialization failed
ctl 0001f001 (valid? 1) head 000104a4 tail 00000000 start 003eb000 [expected 003eb000]
[6.570185] [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged
[7.953399] [drm:intel_enable_lvds] *ERROR* timed out waiting for panel to power on
After that, X loads fine and everything works fine (excluding mpv). For example, Flash videos in Firefox have video and sound as usual.
#5 2014-10-04 22:56:28
- Kolibry
- Member
- Registered: 2012-12-20
- Posts: 110
Re: [Solved] Problem with playback in mpv
According to the news in the Arch website, you need mesa-vdpau to make it work.
Asus 1225B — 11,6″ — AMD E-60 Dual Core 1,3Ghz — 4 Go RAM — Disque dur SSD 128 Go — Radeon HD6290
ArchLinux Openbox — My Github
#6 2014-10-04 22:59:26
- Sublime2k
- Member
- Registered: 2014-03-17
- Posts: 46
Re: [Solved] Problem with playback in mpv
Kolibry wrote:
According to the news in the Arch website, you need mesa-vdpau to make it work.
I already have mesa-vdpau and mesa-dri installed.
#7 2014-10-04 23:08:46
- Gusar
- Member
- Registered: 2009-08-25
- Posts: 3,605
Re: [Solved] Problem with playback in mpv
Sublime2k wrote:
During the boot process, I also get these error messages, I’m not sure if they matter:
Of course they matter. «Failed to initialize GPU» couldn’t be any clearer.
Sublime2k wrote:
After that, X loads fine and everything works fine (excluding mpv).
It only appears to work fine, but there’s no acceleration anywhere.
Sublime2k wrote:
For example, Flash videos in Firefox have video and sound as usual.
That’s because flash is pure software (no hardware acceleration) unless libvdpau-va-gl is installed.
It seems a lot of people have issues with Intel on the 3.16 kernel. Try the -lts kernel.
Kolibry wrote:
According to the news in the Arch website, you need mesa-vdpau to make it work.
Intel does not use VDPAU, so no, you don’t need mesa-vdpau. It’s only needed for hardware decoding on radeon and nouveau.
#8 2014-10-04 23:23:14
- karol
- Archivist
- Registered: 2009-05-06
- Posts: 25,440
Re: [Solved] Problem with playback in mpv
Try using the other acceleration method (UXA or SNA). Later try disabling dri
although it’s just guesswork.
Which intel card do you have?
#9 2014-10-04 23:40:42
- Sublime2k
- Member
- Registered: 2014-03-17
- Posts: 46
Re: [Solved] Problem with playback in mpv
It turns out that it’s a kernel problem (3.16.3) after all.
I just installed linux-lts and it’s working fine.
Thanks for help everyone, I’ll mark the topic as solved now.
- Печать
Страницы: [1] Вниз
Тема: проблема с Mplayer’ом (Прочитано 1541 раз)
0 Пользователей и 1 Гость просматривают эту тему.
ultimate
у меня возникла вот такая трабла с mplayer’ом при попытке воспроизвести видео в графическом режиме выдаёт (при запуске плеера через консоль всё работает отлично) ошибку Error opening/initializing the selected video_out (-vo) device подскажите как можно исправить.
P.S. поиском пользовался но ничего не нашол так что если что ткните меня «носом»
ukko
Давай отгадаю.
Когда ты запускаешь плеер в графическом режиме (через меню), то всё запускается отлично, а когда ты пробуешь сделать это через терминал, написав туда mplayer, то программа начинает ругаться. Так?
Если это так, то тебе необходимо узнать, что..
1. Программа которая запускается через человеческое ГУИ, называется gmplayer (и это фронтенд для консольного mplayer)
2. Что для того чтоб запустить ГУИ, надо добавить в название префикс «g»
Выход..
1. Запуситить mplayer c опцией
mplayer -vo help
2. Запустить mplayer c опцией -vo и поставить туда название вывода, например вот так
mplayer -vo xmga
или так
mplayer -vo gl
3. Когда подберёшь нужную и оптимальную опцию, то можешь сделать следующее:
а). Открываешь (или создаёшь файл) ~/.mplayer/config
б). Добавляешь туда строку с опцией (в нашем случае это будет что-то типа) vo=gl, т.е. содержимое файла должно выглядеть примерно так:
#Всякие комментарии
vo=gl
stop-xscreensaver=1
А вообще, советую маны прочитать.. Офигеешь от того, что умеет mplayer!
ceval
у меня возникла вот такая трабла с mplayer’ом при попытке воспроизвести видео в графическом режиме выдаёт (при запуске плеера через консоль всё работает отлично) ошибку Error opening/initializing the selected video_out (-vo) device подскажите как можно исправить.
P.S. поиском пользовался но ничего не нашол так что если что ткните меня «носом»
Не все тут более просто запускаешь Mplayer и в настройках (Preferences) — Video -у тебя стоит самая первая строчка выбирай вторую и перезапускася
virens
у меня возникла вот такая трабла с mplayer’ом при попытке воспроизвести видео в графическом режиме
Об использовании Mplayer с разными видеовыводами есть у меня:
http://mydebianblog.blogspot.com/2006/09/mplayer.html
пропускай первую часть про установку и далее про -vo
Подбирай видеовывод и прописывай его в графической оболочке.
Intento
Тема конечно застоялась, но может, для кого-то актуально более прямое и простое решение:
Прописываем в файле конфигурации MPlayer’a новое значение переменной (sudo gedit /home/ИМЯ_ПРОФИЛЯ/.mplayer/gui.conf):
vo_driver = "x11"
И всё. Эта строка обычно вторая сверху.
Удачи!
—
sudo тут не за чем, и вообще, правильнее писать отредактировать файл конфигурации ~/.mplayer/gui.conf (а то вдруг у читающего нет gedit)
— kwah
« Последнее редактирование: 25 Мая 2008, 21:28:20 от Kwah »
- Печать
Страницы: [1] Вверх
Модераторы: Warderer, Модераторы разделов
-
Shamcor
- Сообщения: 25
- ОС: Debian
- Контактная информация:
Решено: mplayer
Всем доброе время суток. Столкнулся с такой фигнёй:
Стоит Debian GNU/Linux 3.1r0a Sarge. Скачал исходник mplayer-a, скомпилил. Пытаюсь стартонуть видео файл, а изображения нет. Только звук.
Пытался запустить с парамитрами mplayer -vo <один из списка дров> и тот-же результат.
Ниже выкладываю что происходит без параметров:
Код:
_______________________________________________________________________
_________
_____________
user@kira:/tmp$ mplayer ./file.avi
MPlayer 1.0pre8-3.3.5 © 2000-2006 MPlayer Team
CPU: AMD Athlon XP 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing file.avi.
AVI file format detected.
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [DX50] 352x240 24bpp 30.000 fps 763.6 kbps (93.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 56.0 kbit/7.94% (ratio: 7000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)!
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
VO: [null] 352x240 => 352x240 Planar YV12
[mpeg4 @ 0x85d2a00]frame skip 8t: 0.000 1/ 1 ??% ??% ??,?% 0 0
A: 1.0 V: 1.0 A-V: -0.003 ct: -0.005 32/ 32 2% 0% 1.8% 0 0
__________________________________________________________________________
Чего уже нехватает?
-
minoru-kun
- Сообщения: 620
- ОС: Debian GNU/Linux
Re: Решено: mplayer
Сообщение
minoru-kun » 02.06.2008 19:34
Код: Выделить всё
mplayer -vo help|grep x11
mplayer -vo help|grep xv
В случае, если оба конвеера возвращают пустое множество:
а)Ставим libx11-dev
б)Собираем заново. При выполнении ./configure убеждаемся, что заголовки X11 обнаружены
в)Запускаем mplayer с -vo x11.
А лучше всего — поставить mplayer из репозитория.
Рендеринг на Vidix у вас так просто не заработает.
-
Shamcor
- Сообщения: 25
- ОС: Debian
- Контактная информация:
Re: Решено: mplayer
Сообщение
Shamcor » 03.06.2008 12:58
mplayer -vo help|grep x11
пусто
mplayer -vo help|grep xv
пусто
а) Ставим libx11-dev
Ставил ещё при установки оси.
б)Собираем заново. При выполнении ./configure убеждаемся, что заголовки X11 обнаружены
…
Checking for X11 headers presence … yes (using /usr/X11R6/include)
Checking for X11 … yes
…
в)Запускаем mplayer с -vo x11.
Error opening/initializing the selected video_out (-vo) device.
Решил проблему подругому: Скачал исходники поновее версии, скомпилил, пашет, довольный.
Спасибо за суету.