Main video output error video output creation failed

Hello,

Hello,

We have been using libvlc for a few years, with the official release, and it was working fine, until recently when we were unable to play some files containing custom tracks (more on this at https://code.videolan.org/videolan/vlc/-/issues/26505). So we ended up compiling the 4.0.0 version with our simple fix; the lib has been compiled from linux following the suggested cross-compilation approach.

The VLC player compiled plays the movie correctly, both video and audio are played.

When I try to play the video from our application with libVLC integrated, audio is being played appropriately, and also seek is working fine, but I video is not being displayed.

I checked the output on the console, and did a little bit of comparisons between the output of the command-line vlc compiled, and the console output in Visual Studio, and I observe that apparently the libVLC is unable to create the video output display.

Following is the output of commandline VLC [WORKING]:


[0000026327f40030] d3d11va generic: Using D3D11VA (NVIDIA GeForce RTX 2060, vendor 10de(NVIDIA), device 1f11, revision a1)
[0000026327f4b0c0] main decoder debug: vout change: chroma
[0000026329078fc0] main video output debug: requested window size: 1920×1080
[0000026327e8fa20] main window debug: resized to 1920×1080
[0000026327e8fa20] main window debug: resized to 1920×1080
[0000026329078fc0] main video output debug: deinterlace -1, mode auto, is_needed 0
[0000026329078fc0] main video output debug: Opening vout display wrapper
[00000263290a9170] main vout display debug: looking for vout display module matching «any»: 5 candidates

while the following is what is being printed from our application [FAILING]:

d3d11va generic: Using D3D11VA (NVIDIA GeForce RTX 2060, vendor 10de(NVIDIA), device 1f11, revision a1)
main decoder debug: vout change: chroma
main video output debug: requested window size: 1920×1080
main video output debug: deinterlace -1, mode auto, is_needed 0
main video output debug: Opening vout display wrapper
main video output error: video output display creation failed
main player debug: saving a free vout
avcodec decoder debug: trying format dxva2_vld
main decoder debug: vout change: decoder size
main decoder debug: vout change: visible size
main decoder debug: vout change: decoder size

lines in bold in the above snippet repeat themselves while the file is being played.

Could it be that I need to pass to the library some initialization option?
As I side note, when creating an instance of the library with libvlc_new, it is loading ALL the modules (many of which are not required) in the plugin directory taking forever, and I cant find a way to control the startup process appropriately.

Any kind of suggestion would be greatly appreciated, and if you need any further details I’ll do my best to provide them.

Thanks in advance

have a Nice Day

  • Index
  • » Applications & Desktop Environments
  • » [SOLVED] VLC(1.1.9-1) failed to create video output

Pages: 1

#1 2011-05-16 23:28:35

ekenbrand
Member
From: Argentina
Registered: 2010-06-21
Posts: 28

[SOLVED] VLC(1.1.9-1) failed to create video output

Hi, yesterday I upgraded vlc

[2011-04-15 14:37] upgraded vlc (1.1.8-2 -> 1.1.9-1)

and now im not getting video output. Message console gives me the following output

main error: video output creation failed
main error: failed to create video output
signals error: signal 17 overriden (0x7fec6e384280)
signals error:  /usr/lib/libQtCore.so.4(?)[(nil)]

I thought vlc was not founding libQtCore.so.4 but i have it and gave me the following output

ekenbrand at academia ~ ->/usr/lib/libQtCore.so.4
This is the QtCore library version 4.7.3
Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
Contact: Nokia Corporation (qt-info@nokia.com)

Build key:           x86_64 linux g++-4 full-config
Compat build key:    | x86_64 Linux g++-4 full-config |
Build date:          2011-05-04
Installation prefix: /usr
Library path:        /usr/lib
Include path:        /usr/include
Processor features:  mmx sse sse2 cmov sse3

I also tried reinstalling vlc and the qt package but didnt worked, haven’t found any reference to this in the vlc bug tracker either.

Thanks for your help!

Last edited by ekenbrand (2011-05-23 05:01:34)

#2 2011-05-17 10:18:33

George
Member
Registered: 2011-05-11
Posts: 165

Re: [SOLVED] VLC(1.1.9-1) failed to create video output

Try changing the video output module under Preferences > Video > Output. Set if back to default if its not set to that, otherwise try Xvideo or X11 then some of the others.

AFAICT the Signal 17 error is normal its the error above it that you are interested in.

#3 2011-05-23 05:01:16

ekenbrand
Member
From: Argentina
Registered: 2010-06-21
Posts: 28

Re: [SOLVED] VLC(1.1.9-1) failed to create video output

You were right, setting it back to default solved the problem, thanks!

  • Печать

Страницы: [1]   Вниз

Тема: Перестал запускаться VLC  (Прочитано 2086 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Sunsetcolours

Перестал запускаться VLC.

VLC media player 1.1.12 The Luggage (revision exported)
Warning: call to srand(1334224206)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x91d192c] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")

(process:2036): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Blocked: call to setlocale(6, "")
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
Ошибка сегментирования


Пользователь решил продолжить мысль 12 Апреля 2012, 14:48:52:


Удаление папки ~/.config/vlc помогло, но до следующей настройки проги под себя (добавление адреса потокового видео и активации фильтров черестрочности видео).

« Последнее редактирование: 12 Апреля 2012, 14:48:52 от Sunsetcolours »

Я обрел просветление и отказался от оценочного восприятия, так что дела у меня никак.


Оффлайн
suslikk

Sunsetcolours, вы ответили на свой вопрос… Ищите проблему в конфигурационном файле..

Нарисуй свой город на openstreetmap.org


Оффлайн
Sunsetcolours

Sunsetcolours, вы ответили на свой вопрос… Ищите проблему в конфигурационном файле..

В папке ~/.config/vlc есть файлы vlc-qt-interface.conf и vlcrc.
В vlcrc вроде как все строки закомментированы. А в vlc-qt-interface.conf не так много всего, но я в нем ничего не вижу эдакого.
Вот содержание vlc-qt-interface.conf

[General]
IsFirstRun=0
filedialog-path=/home/andrey
opendialog-size=@Size(528 493)

[FullScreen]
pos=@Point(450 952)
screen=@Rect(0 0 1280 1024)

[MainWindow]
pl-dock-status=true
playlist-visible=true
adv-controls=0
bgSize=@Size(1280 915)
playlistSize=@Size(1280 915)
geometry="@ByteArray(x1xd9xd0xcbx1x18x4xffx3xff,x2Jx1xdbx2)"

[Playlist]
splitterSizes=@ByteArray(xffx2xb4x1xa4x1x6x1x1)
leftSplitterGeometry=@ByteArray(xffx2xdbx80x1x6x1x2)
headerStateV2=@ByteArray(xffx1xffxffxffxffx1txecx1x6bx64ax64x6x64x5x64x3x64x2x64x4>tx1x1x1x64xffxffxffxffx81x5xc8x1Px1x2x3&x1x4)
view-mode=0

[Open]
netMRL=@Invalid()


Пользователь решил продолжить мысль 13 Апреля 2012, 12:29:12:


Помогло обновление видеодрайвера до версии 295.40 из репозитория ppa:ubuntu-x-swat/x-updates

« Последнее редактирование: 13 Апреля 2012, 12:29:12 от Sunsetcolours »

Я обрел просветление и отказался от оценочного восприятия, так что дела у меня никак.


Оффлайн
Sunsetcolours

Обновился до 12.04.
Теперь в VLC при воспроизведении потокового видео есть звук, но нет картинки. Версия дров 295.40.
Терминал говорит:

Я обрел просветление и отказался от оценочного восприятия, так что дела у меня никак.


Оффлайн
Sunsetcolours

Что, никто не сталкивался? :-

Я обрел просветление и отказался от оценочного восприятия, так что дела у меня никак.


Оффлайн
Легас

Тебе же терминал говорит чотко: ERRORE во всех строках. До устанавливай остальные модули к VLC  и пробуй.

Бес труда и пальцем в носу не по ковыряешься и в Linuxe не разбирёси!!!


Оффлайн
gosdep

Тоже перестал запускаться VLC. Полное удаление и переустановка через Synaptic не помогли. Кстати, при обновлении пакетов в Synaptic выдает ошибку, что не найден ключ.


  • Печать

Страницы: [1]   Вверх

Аватара пользователя

McSeem

Сообщения: 18
Зарегистрирован: 27 дек 2015, 10:32
Operating system: ROSA Fresh, Kubuntu 14.04
Откуда: Волгоград

Аппаратное декодирование видео в VLC

Доброго времени суток,
Почему-то в VLC-плеере не работает воспроизведение видео с помощью VDPAU, хотя соответствующий плагин установлен, библиотеки и компоненты драйвера тоже. Подскажите, может проблеба с совместимостью библиотек плагинов, драйверов или может это из-за того, что сессия по-умолчанию на Wayland? Вывод vainfo:

Код: Выделить всё

libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.8.0.pre0)
vainfo: Driver version: Mesa Gallium driver 22.1.7 for AMD Radeon RX Vega (vega10, LLVM 15.0.0, DRM 3.40, 5.10.118-generic-2rosa2021.1-x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Кстати, на этом же железе, но на параллельно установленной Manjaro KDE Plasma всё работает, просто в настройках VLC, в разделе видео выбрал VDPAU-вывод


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 10 окт 2022, 16:38

Я не буду утверждать что проблема в версии VLC, но чуть более новая версия VLC из flatpak работает нормально. Вот мой вывод vainfo:

Код: Выделить всё

libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.8.0.pre0)
vainfo: Driver version: Mesa Gallium driver 22.1.7 for AMD NAVY_FLOUNDER (LLVM 15.0.0, DRM 3.44, 5.17.11-generic-2rosa2021.1-x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

И кстати у меня тоже карта AMD (но дискретная, сам процессор без видео).

У меня в KDE Wayland вообще никакие видео не воспроизводятся в VLC. В flatpak версии работает исправно в wayland. Кроме того в системной версии какая-то проблема с .mkv и .mp4 файлами — во многих видео такого формата есть эффект полосок (т.е. изображение пикселирузется и похоже будто на него наложены полоски) вот так:

D6w9lMKW4AIedrd.jpg


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 10 окт 2022, 16:58

Для сравнения в репозиториях 3.0.16, а flatpak 3.0.17.4. И кстати в Manjaro почти такая же версия. Думаю стоит запросить обнволение vlc если есть такая возможность.


Аватара пользователя

VictorR2007

Сообщения: 6911
Зарегистрирован: 12 сен 2011, 13:00
Operating system: ROSA 2021.1
Откуда: Северодвинск

Аппаратное декодирование видео в VLC

Сообщение

VictorR2007 » 10 окт 2022, 17:12

Просто переключитесь в режим x11.
В этой версии Росы режим wayland предоставляется как дополнительная опция.
Но она не поддерживается на уровне системы.
Просто не стали её отключать по умолчанию.
Оставили на усмотрение пользователя.

McSeem писал(а): ↑

09 окт 2022, 16:49


но на параллельно установленной Manjaro KDE Plasma всё работает

Подозреваю, что там и все пакеты wayland более новые.
В общем, такая у нас система.
Можно установить более новые иксы из backports.
И можно собрать новый vlc в дополнительный репозиторий.
Пожалуй обновлю его завтра.
Потом отпишусь.


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 17 окт 2022, 19:50

VictorR2007 писал(а): ↑

10 окт 2022, 17:12


Просто переключитесь в режим x11.
В этой версии Росы режим wayland предоставляется как дополнительная опция.
Но она не поддерживается на уровне системы.
Просто не стали её отключать по умолчанию.
Оставили на усмотрение пользователя.

McSeem писал(а): ↑

09 окт 2022, 16:49


но на параллельно установленной Manjaro KDE Plasma всё работает

Подозреваю, что там и все пакеты wayland более новые.
В общем, такая у нас система.
Можно установить более новые иксы из backports.
И можно собрать новый vlc в дополнительный репозиторий.
Пожалуй обновлю его завтра.
Потом отпишусь.

Попробовал 3.0.17 из теста https://mirror.yandex.ru/rosa/rosa2021. … n/testing/ . Но мою проблему с линиями в видео это не решило. Боюсь она состоит в чём-то другом и версия флатпак чем-то отличается иным.


Аватара пользователя

VictorR2007

Сообщения: 6911
Зарегистрирован: 12 сен 2011, 13:00
Operating system: ROSA 2021.1
Откуда: Северодвинск

Аппаратное декодирование видео в VLC

Сообщение

VictorR2007 » 18 окт 2022, 14:47

А пакет vlc-plugin-wayland установлен?
А то может не все нужные пакеты установлены.

Вложения
Screenshot_20221018_144616.jpg


Аватара пользователя

VictorR2007

Сообщения: 6911
Зарегистрирован: 12 сен 2011, 13:00
Operating system: ROSA 2021.1
Откуда: Северодвинск

Аппаратное декодирование видео в VLC

Сообщение

VictorR2007 » 18 окт 2022, 14:59

reporter_rosa_user писал(а): ↑

10 окт 2022, 16:38


У меня в KDE Wayland вообще никакие видео не воспроизводятся в VLC.

У меня воспроизводится.
Вот это домашний комп.

Вложения
Screenshot_20221018_145602.jpg


Аватара пользователя

McSeem

Сообщения: 18
Зарегистрирован: 27 дек 2015, 10:32
Operating system: ROSA Fresh, Kubuntu 14.04
Откуда: Волгоград

Аппаратное декодирование видео в VLC

Сообщение

McSeem » 18 окт 2022, 19:45

Доброго времени суток! Большое спасибо всем за развёрнутые ответы :) Пытаюсь обновить VLC:

но в выводе говорит, что обновлений нет для этого пакета. Pull-реквест для новой сборки в ABF одобрен?


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 18 окт 2022, 19:52

VictorR2007 писал(а): ↑

18 окт 2022, 14:47


А пакет vlc-plugin-wayland установлен?

Да, собственно VLC сходит с ума (бесконечные ошибки в выводе и трясётся окно программы) даже при отключённом аппаратном ускорении. Вот такая картина на Wayland. Работает только звуковая дорожка:

Screenshot_20221018_184842.jpg

Текст:

Код: Выделить всё

Failed to open VDPAU backend libvdpau_nvidia.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
[00007fc89c0a6100] main video output error: video output creation failed
[00007fc8a8c175f0] main decoder error: failed to create video output
[h264 @ 0x7fc8a8d22980] get_buffer() failed
[h264 @ 0x7fc8a8d22980] thread_get_buffer() failed
[h264 @ 0x7fc8a8d22980] decode_slice_header error
[h264 @ 0x7fc8a8d22980] no frame!

Странно что хочет эту библиотеку, Видео дискретное AMD.


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 18 окт 2022, 19:59

А вот такая проблема в X11 почти со всеми видеофайлами (с аппаратным ускорением и без):

Screenshot_20221018_185811.jpeg

Это линии на видео. ROSA Media Player например всё показывает отлично в этом плане как и flatpak версия VLC. Отсюда и возникла идея что это проблема самого VLC.

Сыпет такими ошибками, но не уверен что они что-то значат толковое.

Код: Выделить всё

VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00000000019c65b0] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
[0000000001a8b220] main playlist: playlist is empty
[0000000001ad24a0] main audio output error: too low audio sample frequency (0)
[00007f760cd95d10] main decoder error: failed to create audio output
[0000000001ad24a0] vlcpulse audio output error: digital pass-through stream connection failure: Не поддерживается
[0000000001ad24a0] main audio output error: module not functional
[00007f760cd95d10] main decoder error: failed to create audio output
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[00007f760800c0a0] main video output error: video output creation failed
[00007f760cc11250] main decoder error: failed to create video output
[00007f760cc11250] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 22507692179 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed for 916792001: no reference clock
[00007f760cc11250] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed for 1011637001: no reference clock
[00007f760cc11250] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 23735400342 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 22523982584 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed for 283951001: no reference clock
[00007f760cc11250] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 22560512814 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 22546989931 for FFmpeg
[00007f760cc11250] main decoder error: Timestamp conversion failed (delay 10000000, buffering 100000, bound 9000000)
[00007f760cc11250] main decoder error: Could not convert timestamp 22529433442 for FFmpeg

Последний раз редактировалось reporter_rosa_user 18 окт 2022, 20:02, всего редактировалось 1 раз.


Аватара пользователя

VictorR2007

Сообщения: 6911
Зарегистрирован: 12 сен 2011, 13:00
Operating system: ROSA 2021.1
Откуда: Северодвинск

Аппаратное декодирование видео в VLC

Сообщение

VictorR2007 » 18 окт 2022, 20:04

Я вообще никогда не использую vlc.
Только SMPlayer и qmplay2.
На ноутбуке у них при просмотре видео UHD 4K, загрузка процессора 3-4%.


Аватара пользователя

VictorR2007

Сообщения: 6911
Зарегистрирован: 12 сен 2011, 13:00
Operating system: ROSA 2021.1
Откуда: Северодвинск

Аппаратное декодирование видео в VLC

Сообщение

VictorR2007 » 18 окт 2022, 20:07

reporter_rosa_user писал(а): ↑

18 окт 2022, 19:52


Да, собственно VLC сходит с ума (бесконечные ошибки в выводе и трясётся окно программы) даже при отключённом аппаратном ускорении. Вот такая картина на Wayland.

Я не пойму, почему у вас установлено аппаратное ускорение на VDPAU.
Он предназначен и работает только на проприетарных драйверах nvidia.
Для остальных или vaapi или авто нужно ставить.


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 18 окт 2022, 20:12

VictorR2007 писал(а): ↑

18 окт 2022, 20:07


Я не пойму, почему у вас установлено аппаратное ускорение на VDPAU.

Я понял, спасибо за информацию. Но сути это не меняет, на самом деле аналогичная картина на всех настройках.

Т.е. в Wayland на любых настройках ускорения (включая отключение такового) наблюдаю тоже самое.

Проблема со строками в X11 также точно на различных настройках.


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 18 окт 2022, 20:16

Отбой. Полное удаление настроек помогло на версии 3.0.17. Проверил только что. Придётся людям с такой же проблемой со строками на видео выполнить:

Поставил из указанной вами ссылки все пакеты.

В Wayland тоже всё починилось.

Поставил обратно 3.0.16 и все проблемы вернулись. Если сбросить конфиги на 3.0.17 то всё работает исправно как и в flatpak версии.


tihij

Сообщения: 38
Зарегистрирован: 14 ноя 2021, 00:28
Operating system: ROSA Linux R12

Аппаратное декодирование видео в VLC

Сообщение

tihij » 18 окт 2022, 22:04

Доброго дня.
Аналогичная проблема с rtsp потоком на VLC 3.0.16. mplayer показывает видео без полосок.
Лечилось изменением вывода видео на через XCB, но не все фильмы в этом случае отображались. Удаление ./config/vlc/ не помогло.


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 18 окт 2022, 22:10

tihij писал(а): ↑

18 окт 2022, 22:04


Лечилось изменением вывода видео на через XCB, но не все фильмы в этом случае отображались. Удаление ./config/vlc/ не помогло.

нужна версия VLC 3.0.17 из тестового репозитория выше, вот ссылка:

Код: Выделить всё

http://abf-downloads.rosalinux.ru/rosa2021.1/container/4166515/x86_64/main/release/

и потом удалить конфиг, перезапустить VLC и попробовать снова


reporter_rosa_user

Сообщения: 70
Зарегистрирован: 01 сен 2022, 19:53
Operating system: ROSA Fresh Desktop 12.2

Аппаратное декодирование видео в VLC

Сообщение

reporter_rosa_user » 26 дек 2022, 03:03

Могу сказать что VLC 3.0.17 прилетевший недавно в главном репозитории починил мои проблемы с видео.


tihij

Сообщения: 38
Зарегистрирован: 14 ноя 2021, 00:28
Operating system: ROSA Linux R12

Аппаратное декодирование видео в VLC

Сообщение

tihij » 27 дек 2022, 07:53

Вывод через OpenGL на 3.0.17 остался глючный — для черезстрочных видео только одно поле отображается растягиваясь по высоте. Пришлось принудительно вывод видео указывать XVideo (XCB).
Конфигурацию после обновления удалял.


I’m working on a project making a semi-randomized video player on the Raspberry Pi 4 (64-bit OS with Desktop) using Python-VLC. I have a proof of concept working, but I get some strange error messages whenever I open a new video file or skip the playback position.

Here is the error when a new file is opened:

[0000007f680013e0] mmal_xsplitter vout display error: Failed to open Xsplitter:opengles2 module
[0000007f680013e0] mmal_xsplitter vout display error: Failed to open Xsplitter:mmal_vout module
[0000007f6c013b10] avcodec decoder: Using DRM Video Accel for hardware decoding

Here is the error when I skip playback position:

[0000007f6c013b10] main decoder error: Timestamp conversion failed for 315848867: no reference clock
[0000007f6c013b10] main decoder error: Could not convert timestamp 0 for FFmpeg

The program seems to work in spite of these, but there’s some minor lag I’d like to get rid of, and I want to make sure a problem doesn’t arise from these errors piling up since I plan on running this program continuously for long periods of time.

Can anyone help explain what these errors mean and how I can get rid of them?

Here is the code I am using:

import vlc
import RPi.GPIO as GPIO
import time
import pygame
import random

def mute():
    media_player.get_media_player().audio_set_volume(0)


opin = 2
ipin = 4

pos = [0, 0]
index = 0


GPIO.setmode(GPIO.BCM)
GPIO.setup(opin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(ipin, GPIO.IN, pull_up_down=GPIO.PUD_UP)

player = vlc.Instance("--no-xlib")

media_player = player.media_list_player_new()

media_list = player.media_list_new()

media = player.media_new("/home/hhaudio/Desktop/Malice.mp4")
media_list.add_media(media)

media = player.media_new("/home/hhaudio/Desktop/Croc.mp4")
media_list.add_media(media)

media_player.set_media_list(media_list)
media_player.play_item_at_index(0)

mute()

print("hello!")

nextvid = 1

while True:

    if GPIO.input(opin) == 0:
        print("exit")
        exit()
        break
    if GPIO.input(ipin) == 0 and nextvid == 1:
        print("ipin")
        media_player.get_media_player().set_position(random.random())
    nextvid = GPIO.input(ipin)
    time.sleep(0.001)

As a bonus, are there any recommendations y’all can give about how I could optimize things to make playback faster with VLC settings, etc?

Ran my program, according to my understanding of the VLC documentation. Works but is slightly laggy and throws errors.

Господа, всем доброго времени! Позвольте немного оживить тему и обратится к местным профессионалам.
Хочу сразу сказать, не пользуемся WTware в данном случае. Есть слабенький пк, к которому подрублен небольшой монитор. ПК на Вин10.
Задача такая, мозаикой вывести 4 камеры, в целом это получилось, НО! Камеры постоянно отваливаются, могут через секунду, могут через 15 минут, может сначала одна потом все, какие только параметры конфига я не пробовал, все без результатно, камеры разные, отваливаются все, пробовал снизить качество потока, тоже не вышло… подскажите куда копать, уже пол года маюсь! Заранее спасибо! Вот на данный момент конфиг выглядит так:

Код: Выделить всё

# VLC media player VLM command batch
# http://www.videolan.org/vlc/

new ch1 broadcast enabled
setup ch1 input "rtsp://192.168.0.32:554/user=admin_password=0_channel=1_stream=1.sdp?real_stream"
setup ch1 output #mosaic-bridge{id=ch1,width=400,height=240}
new ch2 broadcast enabled
setup ch2 input "rtsp://192.168.0.32:554/user=admin_password=0_channel=2_stream=1.sdp?real_stream"
setup ch2 output #mosaic-bridge{id=ch2,width=400,height=240}
new ch3 broadcast enabled
setup ch3 input "rtsp://192.168.0.32:554/user=admin_password=0_channel=4_stream=1.sdp?real_stream"
setup ch3 output #mosaic-bridge{id=ch3,width=400,height=240}
new ch4 broadcast enabled
setup ch4 input "rtsp://192.168.0.32:554/user=admin_password=0_channel=7_stream=1.sdp?real_stream"
setup ch4 output #mosaic-bridge{id=ch4,width=400,height=240}
new bg broadcast enabled
setup bg input "mask.jpg"
setup bg output #transcode{--file-caching=2,-L,--loop,--no-loop,vcodec=mp4v,ab=64,vb=1,fps=0,channels=4,sfilter=mosaic{alpha=255,width=800,height=480,cols=2,rows=2,position=1,order="ch1,ch2,ch3,ch4",keep-aspect-ratio=enabled,mosaic-align=4,keep-picture=4}}:bridge-in{offset=10}:display
setup bg option image-duration=-1

control bg play
control ch1 play
control ch2 play
control ch3 play
control ch4 play

# end of mosaic batch

игрался с настройками vb, fps, file-caching, но ощущение что все безтолку. VLC стоит 2.1.5

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

matipa

Level 1
Level 1
Posts: 7
Joined: Mon Feb 11, 2019 1:40 pm

VLC crashing

Since updating to 19.1 VLC crashes immediately after opening a video file. On the terminal I get these messages:
[00007ff318c7e930] chain filter error: Too high level of recursion (3)
[00007ff3180df2b0] main filter error: Failed to create video converter
LOTS of those, then:
[00007ff3240d1c30] main video output error: Failed to create video converter
[00007ff3240d1c30] main video output error: Failed to compensate for the format changes, removing all filters
[00007ff3180df2b0] gradfun filter error: Unsupported chroma (VDV0)
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
and finally:
[00007ff3240d1c30] main video output error: Failed to create video converter
[00007ff3240d1c30] main video output error: Failed to compensate for the format changes, removing all filters
Segmentation fault (core dumped)

I have installed VDPAU from software manager (without the slightest idea what that might be…) without any luck
Any idea what might trigger the fault?
Thanks
Thomas

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

frankciscoatl

Level 1
Level 1
Posts: 1
Joined: Sat Apr 18, 2020 8:08 pm

Re: VLC crashing

Post

by frankciscoatl » Sat Apr 18, 2020 8:10 pm

I have the same problem, I tried rm -rf .config/vlc/ on the terminal but it keeps happening, every time I try to cast it crashes :(

User avatar

trytip

Level 14
Level 14
Posts: 5311
Joined: Tue Jul 05, 2016 1:20 pm

Re: VLC crashing

Post

by trytip » Sun Apr 19, 2020 1:42 pm

frankciscoatl wrote: ↑

Sat Apr 18, 2020 8:10 pm


I have the same problem, I tried rm -rf .config/vlc/ on the terminal but it keeps happening, every time I try to cast it crashes :(

open Terminal type vlc SPACE drag a video and hit ENTER
post the output

Image

Понравилась статья? Поделить с друзьями:
  • Main libvlc error interface dbus none initialization failed
  • Mamibot exvac660 ошибка
  • Main java 7 error cannot find symbol
  • Mamibot error 03
  • Main java 45 error reached end of file while parsing