Main decoder error failed to create audio output

Arch Linux You are not logged in. #1 2013-01-25 05:57:38 [Solved] VLC ‘Audio output failed’ no sound from anything Very new to Arch so not sure what outputs to post.I installed arch about a week ago with no dramas, then after installing xfce-volumed I lost all sound and got this from vlc: Audio output […]

Содержание

  1. Arch Linux
  2. #1 2013-01-25 05:57:38
  3. [Solved] VLC ‘Audio output failed’ no sound from anything
  4. VLC не может декодировать формат «mp4v» (MPEG-4 Video)
  5. Arch Linux
  6. #1 2021-12-23 07:11:09
  7. Alsa audio Output error: cannot open alsa device «default»
  8. #2 2021-12-23 10:34:21
  9. Re: Alsa audio Output error: cannot open alsa device «default»
  10. #3 2021-12-24 05:31:13
  11. Re: Alsa audio Output error: cannot open alsa device «default»
  12. #4 2021-12-24 10:33:12
  13. Re: Alsa audio Output error: cannot open alsa device «default»
  14. #5 2021-12-27 05:49:08
  15. Re: Alsa audio Output error: cannot open alsa device «default»
  16. The VideoLAN Forums
  17. No sound from AV-files with AC3 audio
  18. No sound from AV-files with AC3 audio
  19. Re: No sound from AV-files with AC3 audio
  20. Re: No sound from AV-files with AC3 audio
  21. Re: No sound from AV-files with AC3 audio
  22. Re: No sound from AV-files with AC3 audio
  23. The VideoLAN Forums
  24. ts demux error: libdvbpsi error
  25. ts demux error: libdvbpsi error
  26. Re: ts demux error: libdvbpsi error
  27. Re: ts demux error: libdvbpsi error
  28. Re: ts demux error: libdvbpsi error
  29. Re: ts demux error: libdvbpsi error
  30. Re: ts demux error: libdvbpsi error
  31. Re: ts demux error: libdvbpsi error
  32. Re: ts demux error: libdvbpsi error
  33. Re: ts demux error: libdvbpsi error
  34. Re: ts demux error: libdvbpsi error

Arch Linux

You are not logged in.

#1 2013-01-25 05:57:38

[Solved] VLC ‘Audio output failed’ no sound from anything

Very new to Arch so not sure what outputs to post.
I installed arch about a week ago with no dramas, then after installing xfce-volumed I lost all sound and got this from vlc:

Audio output failed:
The audio device «default» could not be used:
No such file or directory.

So I did a new install and only installed vlc and the same thing happened again.

Here is the terminal output from vlc:

[mpeg4 @ 0x7f2868f17280] Invalid and inefficient vfw-avi packed B frames detected
[0x7f2850000958] pulse audio output error: PulseAudio server connection failure: Connection refused
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[0x7f2850000958] alsa audio output error: cannot open ALSA device «default»: No such file or directory
[0x7f2850000958] oss audio output error: cannot open audio device (/dev/dsp)
[0x7f2850000958] main audio output error: no suitable audio output module
[0x7f2868f057c8] main decoder error: failed to create audio output

Output from aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

Very new to all this, any tips/help would be great.

Last edited by Oldmoth (2013-01-27 22:24:56)

Источник

VLC не может декодировать формат «mp4v» (MPEG-4 Video)

Вообще не один плеер не проигрывает видео, уже полазил куча бреда по устанавливал и всё равно не работает!

Пишет если через терминал:

это часть ffmpeg.

Поставь ffmpeg и посмотри будет ли проигрываться

Что не помогло? ffprobe где?

В Suse VLC из-за американских законов не умеет декодировать собственнические форматы вроде H.264, который обычно бывает в контейнерах m4v. Ставь VLC из репозитория packman.

Та и установил этот репозиторий, только как поставить с него хз, уже по на устанавливал всего и нечего не помогает

В сузе выпилили яст ?

Меня бы любой плеер устроил, главное что бы показывало, но не работает не на одном: mpv (выключается как только добавлю) gragon (не реагирует) smplayer

Он там как то не так уже работает!

Как в нем установить правильно?

Через яст пробовал короче нечего не меняется! Проблема еще в том, что во всех видеоплеерах не работает вообще не одно мое видео!

В VLC только звук слышно и все !

Все решено, надо было поставить vlc-codecs в YaST2 поставил!

Мультимедиа пакеты надо тоже на packman репозиторий перевести.

во первых прочитай про частицы «не» и «ни».

Во вторых почитай инструкции ОпенСусе, как ставить пакеты из разных источников.

И в третьих — вообще привыкни читать, перед тем как писать. Читать и думать.

Если тебе не нравится, не читай!

В YAST можно открыть вкладку «Репозитории», выбрать репозиторйи Packman, и появится кнопка «Перевести системные пакеты на версии из этого репозитория»

Там только когда понял, тогда пробовал, но только помогло vlc-codecs

> Там только когда понял, тогда пробовал

Я тебя не понимаю

> но только помогло vlc-codecs

Я рад, что всё наконец-то работает. Советую также сделать так, как на картинке. Кстати, на картинке Qt-интерфейс YAST. А в GTK-интерфейсе такого может не быть

Годы идут, ничего не меняется.

Свали уже на винду, всем только лучше от этого станет.

Давай совет тем кто этого просит!

У меня на Linux Mint 18 (Ubuntu 16.04 LTS) была такая же проблема — все плееры, включая VLC, в лучшем случае воспроизводили только звук и не могли декодировать любое видео. Оказалось дело в драйверах видеокарты NVidia. Стояли 380-какие-то, откатился на версию 340 и все заработало как положено. Может поможет кому.

Источник

Arch Linux

You are not logged in.

#1 2021-12-23 07:11:09

Alsa audio Output error: cannot open alsa device «default»

Hi, I’ve installed the system on a tablet. Unable to play sound using VLC:

[Check the sound card:

I understand that the problem may be «alsa audio Output Error: Cannot open alsa device «default»: There is no file or directory», but I do not know how to fix it.Please tell me what I can do to repair it.Thinks.

#2 2021-12-23 10:34:21

Re: Alsa audio Output error: cannot open alsa device «default»

Make sure sof-firmware is installed, if it is and you don’t get more devices you might just be in one of the current buggy situations for sof-firmware and need to report a bug to the sof-firmware project.

FWIW as a test, do any of

give you noise? If they don’t you’ll have to report bugs or try a newer kernel or so, if they do you need to adjust the default card selection to the «device» that gives you output: https://wiki.archlinux.org/title/Advanc … sound_card

#3 2021-12-24 05:31:13

Re: Alsa audio Output error: cannot open alsa device «default»

Make sure sof-firmware is installed, if it is and you don’t get more devices you might just be in one of the current buggy situations for sof-firmware and need to report a bug to the sof-firmware project.

FWIW as a test, do any of

give you noise? If they don’t you’ll have to report bugs or try a newer kernel or so, if they do you need to adjust the default card selection to the «device» that gives you output: https://wiki.archlinux.org/title/Advanc … sound_card

I checked that the software-firmware is installed.
I try:

There is no sound output. It seems that there is a bug.

#4 2021-12-24 10:33:12

Re: Alsa audio Output error: cannot open alsa device «default»

One thing you can try though it’s not going to work anymore on newer HW is enforcing the older snd_hda_intel driver which might still have support for things, to do that you’d add a file in /etc/modprobe.d/dspcfg.conf

and reboot. That will guaranteed break mic support regardless but might give you an analog device.

#5 2021-12-27 05:49:08

Re: Alsa audio Output error: cannot open alsa device «default»

One thing you can try though it’s not going to work anymore on newer HW is enforcing the older snd_hda_intel driver which might still have support for things, to do that you’d add a file in /etc/modprobe.d/dspcfg.conf

and reboot. That will guaranteed break mic support regardless but might give you an analog device.

I tried this, but still no sound.
I bought a new external sound card in case it was my sound card that had the problem. Although the system recognizes the new sound card, it does not output sound.

Источник

The VideoLAN Forums

Discussion and support for VLC media player and friends

No sound from AV-files with AC3 audio

No sound from AV-files with AC3 audio

Post by fred44nl » 16 Nov 2018 15:22

I am running the latest version of VLC on Debian 9.6
there are several audio formats for AV-files, such as AC3, AAC, E-AC-3, etc.
most of them play well with the latest version of VLC, but AC3 with the codec-ID A_AC3 do not have sound.

should I use another start-option ??
if so, which one ??

Re: No sound from AV-files with AC3 audio

Post by Rémi Denis-Courmont » 16 Nov 2018 18:26

Re: No sound from AV-files with AC3 audio

Post by fred44nl » 16 Nov 2018 19:16

env QT_AUTO_SCREEN_SCALE_FACTOR=0 vlc -v /home/fred44nl/Video/vlcplay.m3u

Re: No sound from AV-files with AC3 audio

Post by Rémi Denis-Courmont » 16 Nov 2018 19:34

Re: No sound from AV-files with AC3 audio

Post by fred44nl » 17 Nov 2018 11:26

I went to Menu — Tools and selected «all»
there is only only entry with S/DIF and it is not checked.

$ cat .config/vlc/vlcrc | grep pass

obs’ ‘—enable-a52’ ‘—enable-aa’ ‘—enable-aribsub’ ‘—enable-bluray’ ‘—enable-avahi’ ‘—enable-caca’ ‘—enable-chromaprint’ ‘—enable-chromecast’ ‘—enable-dbus’ ‘—enable-dca’ ‘—enable-dvbpsi’ ‘—enable-dvdnav’ ‘—enable-faad’ ‘—enable-flac’ ‘—enable-fluidsynth’ ‘—enable-freetype’ ‘—enable-fribidi’ ‘—enable-gles2’ ‘—enable-gnutls’ ‘—enable-harfbuzz’ ‘—enable-jack’ ‘—enable-kate’ ‘—enable-libass’ ‘—enable-libmpeg2’ ‘—enable-libxml2’ ‘—enable-lirc’ ‘—enable-live555’ ‘—enable-mad’ ‘—enable-matroska’ ‘—enable-mod’ ‘—enable-mpc’ ‘—enable-mpg123’ ‘—enable-mtp’ ‘—enable-ncurses’ ‘—enable-notify’ ‘—enable-ogg’ ‘—enable-opus’ ‘—enable-pulse’ ‘—enable-qt’ ‘—enable-realrtsp’ ‘—enable-samplerate’ ‘—enable-sdl-image’ ‘—enable-sftp’ ‘—enable-shine’ ‘—enable-shout’ ‘—enable-skins2’ ‘—enable-sndio’ ‘—enable-soxr’ ‘—enable-spatialaudio’ ‘—enable-speex’ ‘—enable-svg’ ‘—enable-svgdec’ ‘—enable-taglib’ ‘—enable-theora’ ‘—enable-twolame’ ‘—enable-upnp’ ‘—enable-vdpau’ ‘—enable-vnc’ ‘—enable-vorbis’ ‘—enable-x264’ ‘—enable-x265’ ‘—enable-zvbi’ ‘—with-kde-solid=/usr/share/solid/actions/’ ‘—disable-d3d11va’ ‘—disable-decklink’ ‘—disable-directx’ ‘—disable-dsm’ ‘—disable-dxva2’ ‘—disable-fdkaac’ ‘—disable-fluidlite’ ‘—disable-freerdp’ ‘—disable-goom’ ‘—disable-gst-decode’ ‘—disable-libtar’ ‘—disable-macosx’ ‘—disable-macosx-avfoundation’ ‘—disable-macosx-qtkit’ ‘—disable-mfx’ ‘—disable-opencv’ ‘—disable-projectm’ ‘—disable-schroedinger’ ‘—disable-sparkle’ ‘—disable-srt’ ‘—disable-telx’ ‘—disable-vpx’ ‘—disable-vsxu’ ‘—disable-wasapi’ ‘—enable-alsa’ ‘—enable-dc1394’ ‘—enable-dv1394’ ‘—enable-libplacebo’ ‘—enable-linsys’ ‘—enable-nfs’ ‘—enable-omxil’ ‘—enable-udev’ ‘—enable-v4l2’ ‘—enable-wayland’ ‘—enable-libva’ ‘—enable-vcd’ ‘—enable-smbclient’ ‘—disable-oss’ ‘—enable-crystalhd’ ‘—enable-mmx’ ‘—enable-sse’ ‘—disable-neon’ ‘—disable-altivec’ ‘build_alias=x86_64-linux-gnu’ ‘CFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security ‘ ‘LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,—as-needed’ ‘CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2’ ‘CXXFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security ‘ ‘OBJCFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security’

Источник

The VideoLAN Forums

Discussion and support for VLC media player and friends

ts demux error: libdvbpsi error

ts demux error: libdvbpsi error

Post by gossamer » 21 Jan 2018 22:10

Hi, I have a fedora27 system with vlc 3.0.0-rc2 and libdvbpsi.so.10 and having trouble with playing streaming video from my HD HomeRun tuner. This problem has existed for at least a year, through fedora25, 26, and 27 upgrades. My tuner works fine with VLC on windows. I’ve also worked extensively with the HD HomeRun people and they believe it’s a vlc/fedora problem.

The problem I’m having is with video dropout throughout the entire time the streaming video channel is being viewed/played. Below are the error messages printed on the terminal where hdhomerun is started. There is audio, but it is also momentarily interrupted when the video drops out.

Please let me know what further information I can provide to help troubleshoot this.

Re: ts demux error: libdvbpsi error

Post by InTheWings » 23 Jan 2018 09:34

Re: ts demux error: libdvbpsi error

Post by gossamer » 23 Jan 2018 20:38

Re: ts demux error: libdvbpsi error

Post by gossamer » 26 Jan 2018 04:07

Re: ts demux error: libdvbpsi error

Post by gossamer » 31 Jan 2018 19:32

Re: ts demux error: libdvbpsi error

Post by gossamer » 08 Feb 2018 16:04

Re: ts demux error: libdvbpsi error

Post by InTheWings » 08 Feb 2018 19:43

Re: ts demux error: libdvbpsi error

Post by gossamer » 08 Feb 2018 20:10

I’ve actually just done that. Are you able to review the content of this file and use it to help determine what’s wrong? This is a 60s video that shows the audio/video dropout as I described.

Re: ts demux error: libdvbpsi error

Post by elminuto » 06 Oct 2018 18:34

Re: ts demux error: libdvbpsi error

Post by gossamer » 12 Oct 2018 20:05

This mostly fixed my problem too. There’s still occasional dropout, but it could be related to the antenna itself. After nearly two years of dealing with dropout, working with the HD HomeRun people, as well as the VideoLAN people without any clues or solutions, your comment helped fix it.

I’m surprised the Fedora folks who packaged the hdhomerun package didn’t require libdvdcss2 as a dependency.

Источник

Alex_rs

Сообщения: 8
Зарегистрирован: Ср июн 02, 2021 12:48 pm

Не работает VLC

В версии 6.0.52 проблема с VLC. С 5 разных терминалов одинаковая ситуация.
Вот что должно быть
Изображение
А вот что на самом деле
Изображение
При этом тут же в десктопной версии VLC на Windows 10 всё отрабатывает корректно. На версии 5.8.56 всё было нормально.
Вот кусок лога с момента переключения на экран с VLC.

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

14-22-11-243| [            gm] [ 5755.304467] Run '/usr/bin/vlc -I dummy --play-and-exit --fullscreen --video-title WTware_M0S1 -I dummy rtsp://192.168.166.176:554/video.pro1 --alsa-audio-device plug:dmixer', log '/tmp/Xapp01.out', env 'DISPLAY=:0.0 LANG=ru_RU.utf8 LANGUAGE=ru_RU', pid '/tmp/Xapp01.pidpipe'.
14-22-11-462| [          pfac] [ 5755.304789] Run /usr/bin/vlc -I dummy --play-and-exit --fullscreen --video-title WTware_M0S1 -I dummy rtsp://192.168.166.176:554/video.pro1 --alsa-audio-device plug:dmixer.
14-22-11-462| [          pfac] [ 5755.304821] Ok, PID 1046.
14-22-11-680| [           X01] [ 5755.557829] [014e7b00] dummy interface: using the dummy interface module...
14-22-11-680| [           X01] [ 5755.558528] Created new TCP socket 6 for connection
14-22-12-243| [            gm] [ 5756.305217] Success, pid 1046.
14-22-12-446| [            gm] [ 5756.389328] Bind window 0x00600000 to the screen 2.
14-22-12-446| [           X01] [ 5756.401443] libEGL warning: DRI2: failed to authenticate
14-22-12-446| [           X01] [ 5756.461765] ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
14-22-12-446| [           X01] [ 5756.461783] [014e9170] alsa audio output error: cannot open ALSA device "plug:dmixer": No such file or directory
14-22-12-446| [           X01] [ 5756.461787] [014e9170] main audio output error: Audio output failed
14-22-12-446| [           X01] [ 5756.461791] [014e9170] main audio output error: The audio device "plug:dmixer" could not be used:
14-22-12-446| [           X01] [ 5756.461794] No such file or directory.
14-22-12-446| [           X01] [ 5756.461798] [014e9170] main audio output error: module not functional
14-22-12-446| [           X01] [ 5756.461801] [add5d070] main decoder error: failed to create audio output
14-22-12-649| [           X01] [ 5756.566043] ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
14-22-12-649| [           X01] [ 5756.566061] [014e9170] alsa audio output error: cannot open ALSA device "plug:dmixer": No such file or directory
14-22-12-649| [           X01] [ 5756.566064] [014e9170] main audio output error: Audio output failed
14-22-12-649| [           X01] [ 5756.566066] [014e9170] main audio output error: The audio device "plug:dmixer" could not be used:
14-22-12-649| [           X01] [ 5756.566068] No such file or directory.
14-22-12-649| [           X01] [ 5756.566070] [014e9170] main audio output error: module not functional
14-22-12-649| [           X01] [ 5756.566072] [add5d070] main decoder error: failed to create audio output
14-22-12-649| [           X01] [ 5756.660820] Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
14-22-12-649| [           X01] [ 5756.671176] libEGL warning: DRI2: failed to authenticate
14-22-12-758| [           X01] [ 5756.735753] ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
14-22-12-758| [           X01] [ 5756.735771] [014e9170] alsa audio output error: cannot open ALSA device "plug:dmixer": No such file or directory
14-22-12-758| [           X01] [ 5756.735775] [014e9170] main audio output error: Audio output failed
14-22-12-758| [           X01] [ 5756.735778] [014e9170] main audio output error: The audio device "plug:dmixer" could not be used:
14-22-12-758| [           X01] [ 5756.735780] No such file or directory.
14-22-12-758| [           X01] [ 5756.735783] [014e9170] main audio output error: module not functional
14-22-12-758| [           X01] [ 5756.735785] [add5d070] main decoder error: failed to create audio output
14-22-12-758| [           X01] [ 5756.821109] ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
14-22-12-758| [           X01] [ 5756.821125] [014e9170] alsa audio output error: cannot open ALSA device "plug:dmixer": No such file or directory

Ну и последние строки так и повторяются циклично. В целом понятно. В момент создания лога к терминалу не подключены аудиоустройства, а камера передаёт и звук в том числе.
Если нужно, могу предоставить аппаратную конфигурацию терминалов. Но их 5 штук и они все разные. Начиная от старенького AMD Athlon II до Intel NUC 7. В чем может быть проблема?

aka

Разработчик
Разработчик
Сообщения: 11522
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: Не работает VLC

Сообщение

aka » Пн июн 07, 2021 1:25 pm

1. Попробуй разные video= Если машина интеловая, то должны поехать video=intel(U) и video=modesetting(U)
2. Покажи оба лога целиком. Не надо отрезать от логов всё интересное. Можно на aka@pxe.ru

Alex_rs

Сообщения: 8
Зарегистрирован: Ср июн 02, 2021 12:48 pm

Re: Не работает VLC

Сообщение

Alex_rs » Пн июн 07, 2021 2:02 pm

1. Выслал логи на почту.
2. Попробовал оба режима. Не хотел отрезать от логов «всё самое интересное»))

aka

Разработчик
Разработчик
Сообщения: 11522
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: Не работает VLC

Сообщение

aka » Пн июн 07, 2021 6:54 pm

Инструкция про логи: https://wtware.ru/logs.html

Там всего четыре пункта. Первый, третий и четвертый выполнены. Осталось выполнить второй пункт. Думаю, поедет после удаления строки «bpp=16».

Alex_rs

Сообщения: 8
Зарегистрирован: Ср июн 02, 2021 12:48 pm

Re: Не работает VLC

Сообщение

Alex_rs » Вт июн 08, 2021 8:14 am

Думаю, поедет после удаления строки «bpp=16».

Да, проблема ушла.

Параметр bpp
Глубина цвета задается параметром bpp.

Просьба, укажите в документации, что этот параметр глобальный. Он будет действовать на все application. Chrome, VLC, RDP. Потому как обычно глубину цвета задают для RDP-подключений. В связи с этим вопрос. Почему в версии 5.8.56 всё отрабатывало корректно?

aka

Разработчик
Разработчик
Сообщения: 11522
Зарегистрирован: Ср окт 01, 2003 12:06 am
Откуда: Роcсия, Тольятти
Контактная информация:

Re: Не работает VLC

Сообщение

aka » Вт июн 08, 2021 9:40 am

Alex_rs писал(а): ↑

Вт июн 08, 2021 8:14 am


Почему в версии 5.8.56 всё отрабатывало корректно?

Не знаю. Может, в VLC сломали 16-битный цвет потому что он не нужен? Лишнее преобразование при выводе. Кодеки всё равно с байтом или больше на каждый цвет работают.

fred44nl

Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2018 13:23

No sound from AV-files with AC3 audio

I am running the latest version of VLC on Debian 9.6
there are several audio formats for AV-files, such as AC3, AAC, E-AC-3, etc.
most of them play well with the latest version of VLC, but AC3 with the codec-ID A_AC3 do not have sound.

should I use another start-option ??
if so, which one ??


Rémi Denis-Courmont

Developer
Developer
Posts: 14487
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: No sound from AV-files with AC3 audio

Postby Rémi Denis-Courmont » 16 Nov 2018 18:26

Hard to say without logs. Make sure you did not mistakenly enable S/PDIF passthrough.

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


fred44nl

Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2018 13:23

Re: No sound from AV-files with AC3 audio

Postby fred44nl » 16 Nov 2018 19:16

S/PDIF passthrough is not enabled.
pls note that the only audio that is not working is AC-3, several other specs. are fine.
started VLC with

Code: Select all

env QT_AUTO_SCREEN_SCALE_FACTOR=0 vlc -v /home/fred44nl/Video/vlcplay.m3u

with this result:

VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000562cb4cb5420] [http] lua interface: Lua HTTP interface
[0000562cb4bd41a0] main libvlc: Vlc draait met de standaardinterface. Gebruik ‘cvlc’ om vlc zonder interface te gebruiken.
[00007f8374000980] main input error: unsafe option «recursive» has been ignored for security reasons
[00007f83400009e0] main input error: unsafe option «recursive» has been ignored for security reasons
[0000562cb4c95870] main audio output error: too low audio sample frequency (0)
[00007f8338130e20] main decoder error: failed to create audio output
[00007f833815d480] avcodec decoder warning: refusing to decode non validated subtitle codec
[00007f8318009980] vaapi_filters filter warning: Using SW chroma filter for 1920×1088 VAOP -> I420
[00007f8318001060] main vout display warning: VoutDisplayEvent ‘pictures invalid’
[00007f8318001060] main vout display warning: VoutDisplayEvent ‘pictures invalid’
[00007f8318001060] main vout display warning: VoutDisplayEvent ‘pictures invalid’
[00007f8318007b90] main filter error: Failed to create video converter
[00007f8318029080] vaapi_filters filter warning: Using SW chroma filter for 1920×1088 VAOP -> I420
[00007f83380820d0] avcodec decoder warning: plane 0 not aligned: disabling direct rendering
[0000562cb4c95870] pulse audio output warning: starting late (-22393 us)
[00007f8318007b90] main vout display warning: VoutDisplayEvent ‘pictures invalid’
[00007f8318007b90] main vout display warning: VoutDisplayEvent ‘pictures invalid’
[00007f8318007b90] main vout display warning: VoutDisplayEvent ‘pictures invalid’


Rémi Denis-Courmont

Developer
Developer
Posts: 14487
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: No sound from AV-files with AC3 audio

Postby Rémi Denis-Courmont » 16 Nov 2018 19:34

That is symptomatic of incorrectly enabled S/PDIF pass-through. Needs verbose logs to confirm.

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


fred44nl

Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2018 13:23

Re: No sound from AV-files with AC3 audio

Postby fred44nl » 17 Nov 2018 11:26

I went to Menu — Tools and selected «all»
there is only only entry with S/DIF and it is not checked.

next I did:

Code: Select all

fred44nl@Debian:~$ cat .config/vlc/vlcrc | grep pass

which gave 2 lines with passthrough:

# Enable Audio passthrough (boolean)
#sout-chromecast-audio-passthrough=0

in the menu I found Messages and selected debug 2, which gives:

main debug: VLC media player — 3.0.4 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.4-0-gf615db6332
main debug: configured with ./configure ‘—build=x86_64-linux-gnu’ ‘—prefix=/usr’ ‘—includedir=${prefix}/include’ ‘—mandir=${prefix}/share/man’ ‘—infodir=${prefix}/share/info’ ‘—sysconfdir=/etc’ ‘—localstatedir=/var’ ‘—disable-silent-rules’ ‘—libdir=${prefix}/lib/x86_64-linux-gnu’ ‘—libexecdir=${prefix}/lib/x86_64-linux-gnu’ ‘—disable-maintainer-mode’ ‘—disable-dependency-tracking’ ‘—config-cache’ ‘—disable-update-check’ ‘—enable-fast-install’ ‘—docdir=/usr/share/doc/vlc’ ‘—with-binary-version=3.0.4-1~obs’ ‘—enable-a52’ ‘—enable-aa’ ‘—enable-aribsub’ ‘—enable-bluray’ ‘—enable-avahi’ ‘—enable-caca’ ‘—enable-chromaprint’ ‘—enable-chromecast’ ‘—enable-dbus’ ‘—enable-dca’ ‘—enable-dvbpsi’ ‘—enable-dvdnav’ ‘—enable-faad’ ‘—enable-flac’ ‘—enable-fluidsynth’ ‘—enable-freetype’ ‘—enable-fribidi’ ‘—enable-gles2’ ‘—enable-gnutls’ ‘—enable-harfbuzz’ ‘—enable-jack’ ‘—enable-kate’ ‘—enable-libass’ ‘—enable-libmpeg2’ ‘—enable-libxml2’ ‘—enable-lirc’ ‘—enable-live555’ ‘—enable-mad’ ‘—enable-matroska’ ‘—enable-mod’ ‘—enable-mpc’ ‘—enable-mpg123’ ‘—enable-mtp’ ‘—enable-ncurses’ ‘—enable-notify’ ‘—enable-ogg’ ‘—enable-opus’ ‘—enable-pulse’ ‘—enable-qt’ ‘—enable-realrtsp’ ‘—enable-samplerate’ ‘—enable-sdl-image’ ‘—enable-sftp’ ‘—enable-shine’ ‘—enable-shout’ ‘—enable-skins2’ ‘—enable-sndio’ ‘—enable-soxr’ ‘—enable-spatialaudio’ ‘—enable-speex’ ‘—enable-svg’ ‘—enable-svgdec’ ‘—enable-taglib’ ‘—enable-theora’ ‘—enable-twolame’ ‘—enable-upnp’ ‘—enable-vdpau’ ‘—enable-vnc’ ‘—enable-vorbis’ ‘—enable-x264’ ‘—enable-x265’ ‘—enable-zvbi’ ‘—with-kde-solid=/usr/share/solid/actions/’ ‘—disable-d3d11va’ ‘—disable-decklink’ ‘—disable-directx’ ‘—disable-dsm’ ‘—disable-dxva2’ ‘—disable-fdkaac’ ‘—disable-fluidlite’ ‘—disable-freerdp’ ‘—disable-goom’ ‘—disable-gst-decode’ ‘—disable-libtar’ ‘—disable-macosx’ ‘—disable-macosx-avfoundation’ ‘—disable-macosx-qtkit’ ‘—disable-mfx’ ‘—disable-opencv’ ‘—disable-projectm’ ‘—disable-schroedinger’ ‘—disable-sparkle’ ‘—disable-srt’ ‘—disable-telx’ ‘—disable-vpx’ ‘—disable-vsxu’ ‘—disable-wasapi’ ‘—enable-alsa’ ‘—enable-dc1394’ ‘—enable-dv1394’ ‘—enable-libplacebo’ ‘—enable-linsys’ ‘—enable-nfs’ ‘—enable-omxil’ ‘—enable-udev’ ‘—enable-v4l2’ ‘—enable-wayland’ ‘—enable-libva’ ‘—enable-vcd’ ‘—enable-smbclient’ ‘—disable-oss’ ‘—enable-crystalhd’ ‘—enable-mmx’ ‘—enable-sse’ ‘—disable-neon’ ‘—disable-altivec’ ‘build_alias=x86_64-linux-gnu’ ‘CFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security ‘ ‘LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,—as-needed’ ‘CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2’ ‘CXXFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security ‘ ‘OBJCFLAGS=-g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security’

I also started VLC with the option —verbose 2 which gives a lot of information, which I placed in https://pastebin.com/ZidRiPSZ


Rémi Denis-Courmont

Developer
Developer
Posts: 14487
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: No sound from AV-files with AC3 audio

Postby Rémi Denis-Courmont » 17 Nov 2018 12:09

And S/PDIF passthrough is enabled as I suspected.

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


fred44nl

Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2018 13:23

Re: No sound from AV-files with AC3 audio

Postby fred44nl » 17 Nov 2018 12:17

And S/PDIF passthrough is enabled as I suspected.

well, ok, but how do I disable this ??


Rémi Denis-Courmont

Developer
Developer
Posts: 14487
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: No sound from AV-files with AC3 audio

Postby Rémi Denis-Courmont » 17 Nov 2018 12:30

In whatever you use to configure PulseAudio.

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


fred44nl

Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2018 13:23

Re: No sound from AV-files with AC3 audio

Postby fred44nl » 17 Nov 2018 15:57

that wasn’t easy :)
there is nothing in pavucontrol relating to passthrough.
so, I went through the available documentation and made changes to the settings.
and now it works :)
thank you.

there are some complaints, like

VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[00005607a89ce350] [http] lua interface: Lua HTTP interface
[00005607a88ed1a0] main libvlc: Vlc draait met de standaardinterface. Gebruik ‘cvlc’ om vlc zonder interface te gebruiken.
[00007f52ec000980] main input error: unsafe option «recursive» has been ignored for security reasons
[00007f52bc0009e0] main input error: unsafe option «recursive» has been ignored for security reasons
[00005607a89ae7a0] main audio output error: too low audio sample frequency (0)
[00007f52ed8f7320] main decoder error: failed to create audio output
[00005607a89ae7a0] vlcpulse audio output error: digital pass-through stream connection failure: Niet ondersteund
[00005607a89ae7a0] main audio output error: module not functional
[00007f52ed8f7320] main decoder error: failed to create audio output
[00007f529800e1e0] main filter error: Failed to create video converter

not sure if this matters :)



Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests

Решено: Почему не показывают видео

Модератор: Bizdelnick

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Решено: Почему не показывают видео

У меня есть видео (с mediaifo показано всё ниже)
По какой то причине данное видео показывается в винде на vlc.
В calculate linux vlc при запуске этого файла сразу закрывается. А smplayer большую часть видео файлов, в том числе и этот файл — звучит только звук, даже показа черного экрана заместо видео нет.
Вопросы.
1. Как на nix просматривать этот файл?
2. Что именно с mediainfo надо смотреть, чтобы искать кодеки под nix?

Shell

General
Unique ID : 335660735657457795420037382984396746790 (0xFC85E7FC723FD677D4EF13A2DD8CB026)
Complete name : Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
Format : Matroska
Format version : Version 4
File size : 29.3 GiB
Duration : 2 h 6 min
Overall bit rate mode : Variable
Overall bit rate : 33.2 Mb/s
Encoded date : UTC 2019-03-02 12:44:08
Writing application : mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9

Video
ID : 1
Format : VC-1
Format profile : Advanced@L3
Codec ID : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint : Microsoft
Duration : 2 h 6 min
Bit rate : 22.3 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.449
Stream size : 19.7 GiB (67%)
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 578 MiB (2%)
Title : DUB | CCE
Language : Russian
Service kind : Complete Main
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DUB | Варус
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | Россия
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #4
ID : 5
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | ОРТ
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #5
ID : 6
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | СТС
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #6
ID : 7
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DVO | TV1000
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #7
ID : 8
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DVO | НТВ
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #8
ID : 9
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 6 min
Bit rate mode : Variable
Bit rate : 2 346 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 2.07 GiB (7%)
Title : AVO | Гаврилов
Language : Russian
Default : No
Forced : No

Audio #9
ID : 10
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 6 min
Bit rate mode : Variable
Bit rate : 2 344 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 2.07 GiB (7%)
Title : AVO | Либергал
Language : Russian
Default : No
Forced : No

Audio #10
ID : 11
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 405 MiB (1%)
Title : AVO | Володарский
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #11
ID : 12
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Визгунов
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #12
ID : 13
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Неизвестный 1
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #13
ID : 14
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Неизвестный 2
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #14
ID : 15
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Горчаков (VHS)
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #15
ID : 16
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Козлов (VHS)
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #16
ID : 17
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 347 MiB (1%)
Title : MVO | ICTV
Language : Ukrainian
Service kind : Complete Main
Default : No
Forced : No

Audio #17
ID : 18
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 6 min
Bit rate mode : Variable
Bit rate : 2 349 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 2.07 GiB (7%)
Title : Original
Language : English
Default : No
Forced : No

Audio #18
ID : 19
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : Commentary
Language : English
Service kind : Complete Main
Default : No
Forced : No

Text #1
ID : 20
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 2 h 0 min
Bit rate : 50 b/s
Count of elements : 978
Stream size : 44.5 KiB (0%)
Language : Russian
Default : No
Forced : No

Text #2
ID : 21
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 2 h 0 min
Bit rate : 42 b/s
Count of elements : 1264
Stream size : 37.4 KiB (0%)
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : :Chapter 01
00:02:32.944 : :Chapter 02
00:07:03.882 : :Chapter 03
00:09:26.858 : :Chapter 04
00:12:22.325 : :Chapter 05
00:14:42.131 : :Chapter 06
00:17:03.981 : :Chapter 07
00:20:05.454 : :Chapter 08
00:23:58.062 : :Chapter 09
00:27:05.999 : :Chapter 10
00:30:25.615 : :Chapter 11
00:34:12.509 : :Chapter 12
00:36:13.797 : :Chapter 13
00:38:24.552 : :Chapter 14
00:41:06.297 : :Chapter 15
00:45:06.746 : :Chapter 16
00:48:07.051 : :Chapter 17
00:50:51.715 : :Chapter 18
00:54:19.131 : :Chapter 19
00:57:54.346 : :Chapter 20
00:59:34.321 : :Chapter 21
01:06:38.036 : :Chapter 22
01:12:24.173 : :Chapter 23
01:16:29.210 : :Chapter 24
01:18:19.111 : :Chapter 25
01:21:10.699 : :Chapter 26
01:25:30.083 : :Chapter 27
01:27:24.990 : :Chapter 28
01:29:32.951 : :Chapter 29
01:33:58.049 : :Chapter 30
01:35:50.370 : :Chapter 31
01:38:15.807 : :Chapter 32
01:42:43.866 : :Chapter 33
01:46:34.263 : :Chapter 34
01:50:10.979 : :Chapter 35
01:53:20.210 : :Chapter 36
01:59:43.218 : :Chapter 37
02:02:30.260 : :Chapter 38

Shell

vlc Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
VLC media player 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af)
[00005626cd23ca30] vlcpulse audio output error: PulseAudio server connection failure: Соединение отвергнуто
[00005626cd194610] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
[00005626cd264760] qt interface error: Unable to load extensions module
qt5ct: D-Bus system tray: no
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[00007f72e0c18be0] avcodec decoder: Using Intel i965 driver for Intel(R) Sandybridge Mobile - 1.7.3 for hardware decoding
[00005626cd23ca30] main audio output error: too low audio sample frequency (0)
[00007f72e0d33fc0] main decoder error: failed to create audio output
Ошибка сегментирования

—————-
Подсказали решение в чате. Надо было поставить форк mpv так как стандартный mplayer по отзывам очень плохо поддерживает все видеокарты. У меня при подключенном mpv в smplayer после всех эксперементов с настройками в кодеках так и не заработал, а зато из консоли в vaapi заработало всё отлично.

Последний раз редактировалось azsx 17.08.2019 16:01, всего редактировалось 1 раз.

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 08.08.2019 18:27

s.xbatob ну вот, не справляется. Не показывает.
При этом это уже не первый раз, просто раньше просто смотрел на винде тогда. Вот хочу понять и разобраться.

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

devilr

Сообщения: 3450
ОС: Mandriva => Gentoo (~amd64)
Контактная информация:

Re: Почему не показывают видео

Сообщение

devilr » 08.08.2019 18:58

С форматом Matroska проблемы были всегда, насколько я помню. Так, чтобы vlc именно падал, не видел ни разу, а вот, чтобы не было изображения, но был звук — частенько наблюдал.
Сам vlc обновляли? Заодно с libmatroska.

Мудрость приходит с возрастом.
Иногда возраст приходит один.
Digital Art

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

Bizdelnick

Модератор
Сообщения: 19826
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Почему не показывают видео

Сообщение

Bizdelnick » 08.08.2019 18:59

azsx писал(а): ↑

08.08.2019 18:27


ну вот, не справляется. Не показывает.

На что ругается? В stderr, в окошко журнала.

Пишите правильно:

в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик

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

/dev/random

Администратор
Сообщения: 5188
ОС: Gentoo

Re: Почему не показывают видео

Сообщение

/dev/random » 08.08.2019 19:31

Bizdelnick писал: ↑

08.08.2019 18:59


На что ругается? В stderr, в окошко журнала.

Он привёл лог — там сегфолт.

Добавлено (19:36):

azsx писал(а): ↑

08.08.2019 17:27


Как на nix просматривать этот файл?

У вас глючная версия или сборка чего-то, что используется плеером. Возможно, самого плеера, возможно, какой-то библиотеки, а возможно, видеодрайвера.

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 08.08.2019 19:37

azsx писал(а): ↑

08.08.2019 17:27


В calculate linux vlc при запуске этого файла сразу закрывается. А smplayer большую часть видео файлов, в том числе и этот файл — звучит только звук, даже показа черного экрана заместо видео нет.

Судя по выводу, vlc у Вас сегфолтится, после неудачной попытки вывести звук через пульсу.
Вероятно, smplayer выводит звук каким-то другим способом, поэтому в нём звук есть.
Либо в vlc вывод звука настроен неверно.

azsx писал(а): ↑

08.08.2019 17:27


1. Как на nix просматривать этот файл?

Как уже сказали, mplayer, ffplay.
Smplayer — это, собственно, морда к mplayer,
но mplayer лично мне удобней по причине управления с клавиатуры и вывода ошибок сразу в терминал.

azsx писал(а): ↑

08.08.2019 17:27


2. Что именно с mediainfo надо смотреть, чтобы искать кодеки под nix?

Вот это:

azsx писал(а): ↑

08.08.2019 17:27


Video ID : 1
Format : VC-1
Format profile : Advanced@L3
Codec ID : V_MS/VFW/FOURCC / WVC1

Аналогично для аудио.
Ещё можно
ffmpeg -i Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
или
ffprobe Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv

Последний раз редактировалось Hephaestus 09.08.2019 10:55, всего редактировалось 1 раз.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 09.08.2019 02:26

Hephaestus писал: ↑

08.08.2019 19:37


Судя по выводу, vlc у Вас сегфолтится, после неудачно попытки вывести звук через пульсу.
Вероятно, smplayer выводит звук каким-то другим способом, поэтому в нём звук есть.
Либо в vlc вывод звука настроен неверно.

Почему то я был уверен, что у меня звук выводится через alsa (но не особо в этом понимаю). Есть множество файлов, которые в vlc показываются нормально, а в smplayer звука видео нет.
Попробовал запустить бэтмен в mplayer. Там такая особенность. Идёт кино минуты полторы, потом звук отключается и картинка нагоняет звук. При этом глядя на экран и стоя возле колонок такое чувство, что реально и картинка не все кадры показывает и звук с сниженой скоростью работает. Как так — не знаю.

/dev/random писал: ↑

08.08.2019 19:31


У вас глючная версия или сборка чего-то, что используется плеером. Возможно, самого плеера, возможно, какой-то библиотеки, а возможно, видеодрайвера.

есть что то — что можно посмотреть? Как у всех и как у меня?

devilr писал(а): ↑

08.08.2019 18:58


Так, чтобы vlc именно падал, не видел ни разу, а вот, чтобы не было изображения, но был звук — частенько наблюдал.
Сам vlc обновляли? Заодно с libmatroska.

Да, обновления у меня постоянные, но вот что там за обновления с libmatroska я не знаю. Вроде помню, что я делал что то именно для матроска, но ваще не помню что. vlc у меня версии 3.0.7.1 vetinari

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

s.xbatob

Сообщения: 1139
ОС: Fedora

Re: Почему не показывают видео

Сообщение

s.xbatob » 09.08.2019 09:44

azsx писал(а): ↑

08.08.2019 18:27


s.xbatob ну вот, не справляется. Не показывает.
При этом это уже не первый раз, просто раньше просто смотрел на винде тогда. Вот хочу понять и разобраться.

У вас формат видеодорожки VC-1 Я про такой впервые слышу, но посмотрел в сети. Это формат (a.k.a wmv9), предложенный M$ взамен H.264. Так что — ничего удивительного :(

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 09.08.2019 11:02

azsx писал(а): ↑

09.08.2019 02:26


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

Это либо из-за кодеков (ac3 частенько преподносит сюрпризы, а уж VC-1 — вообще нормально не работает),
либо просто криво собранный файл. Например, в mkv есть возможность указывать смещения дорожек относительно друг друга, разные плееры воспринимают это по-разному — можно вполне получить рассинхрон. В Вашем случае больше похоже на проблему с кодеками.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 09.08.2019 12:06

azsx писал(а): ↑

09.08.2019 02:26


Почему то я был уверен, что у меня звук выводится через alsa

Он-то, может, и выводится, только vlc об этом не знает и пытается выводить через пульсу.
Настройки вывода в vlc посмотрите. Могло и слететь что-нибудь по недосмотру.

azsx писал(а): ↑

09.08.2019 02:26


Там такая особенность. Идёт кино минуты полторы, потом звук отключается и картинка нагоняет звук.

А кстати, я сразу не сообразил, файл-то у Вас огромный.
Это же в mplayer оно так себя ведет? А когда это начинается, mplayer ничего в терминал не выплёвывает?
Типа YOUR SYSTEM TOO SLOW или что-нибудь в этом роде.
Если так, значит, плеер не успевает обрабатывать потоки.
Либо действительно слабая машина, либо нагружена чем-то помимо проигрывания — не хватает ресурсов.
Картинка там большая. Если у Вас монитор не большой, плеер на лету пересчитывает размер кадра под текущее разрешение и, вероятнее всего, не успевает.
На экране с YOUR SYSTEM TOO SLOW обычно есть рекомендация, что можно сделать (задать кеш при проигрывании, запустить проигрывание в сниженном качестве, разрешить пропуск кадров и т.п.).

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 09.08.2019 14:40

s.xbatob писал: ↑

09.08.2019 09:44


ничего удивительного

искренне жаль.

Hephaestus писал: ↑

09.08.2019 12:06


Он-то, может, и выводится, только vlc об этом не знает и пытается выводить через пульсу.
Настройки вывода в vlc посмотрите.

точно нет, нашёл в vlc настройки аудио, стояло автоматически. Попробовал alsa, pulseaudio, фиктивный вывод звука. Во всех случаях на данном файле vlc падал при запуске.

Hephaestus писал: ↑

09.08.2019 12:06


Типа YOUR SYSTEM TOO SLOW или что-нибудь в этом роде.

да, вот такое есть. Вывод mplayer дам ниже.

Hephaestus писал: ↑

09.08.2019 12:06


Картинка там большая. Если у Вас монитор не большой, плеер на лету пересчитывает размер кадра под текущее разрешение и, вероятнее всего, не успевает.

вот скорее всего ответ в этом. У меня слабенький комп, методом научного тыка я узнал, что в его встроенной видеокарте есть кодек x264 который поозволяет проигрывать формат h264 на fullHD. То есть мощности хватает для 30 кадров, но только с аппаратным ускорением.
А ведь здесь используется другой кодек, то есть аппаратной поддежки нет.
но есть другая сторона медали.

сейчас loadavg у меня 4, а ядер 2, так как ffmpeg конвертирует видео. Тем не менее другой файл, также fhd который и раньше и сейчас показывается в vlc без тормозов. А именно это же видео тормозит в mplayer. То есть может дело в том, что mplayer пытается юзать только процессор, а vlc автоматически подхватывает аппаратное ускрение?

другой файл, показывается в vlc сейчас без фризов (тормозов).

Shell

mediainfo The.Dark.Knight.2008.1080p.BluRay.x264.7xRus.Eng-SbR.mkv
General
Unique ID : 236786615709086007673560815005368508742 (0xB22371803328211ABE402EB12DF6E146)
Complete name : The.Dark.Knight.2008.1080p.BluRay.x264.7xRus.Eng-SbR.mkv
Format : Matroska
Format version : Version 2
File size : 27.3 GiB
Duration : 2 h 32 min
Overall bit rate mode : Variable
Overall bit rate : 25.7 Mb/s
Movie name : The.Dark.Knight.2008.1080p.BluRay.x264.7xRus.Eng-SbR
Encoded date : UTC 2014-02-04 04:49:06
Writing application : mkvmerge v6.5.0 ('Isn't she lovely') built on Oct 20 2013 12:50:05
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 32 min
Bit rate : 16.3 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.327
Stream size : 17.3 GiB (63%)
Title : The Dark Knight (2008)
Writing library : x264 core 138 r2359+704+48 3f879a0 tMod [8-bit@4:2:0 X86_64]
Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=0 / crf=18.0000 / qcomp=0.60 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / pb_ratio=1.30 / aq=4:0.80 / aq-sensitivity=11.00 / aq-factor=1.00:1.00:1.00 / aq2=1:0.60 / aq2-sensitivity=9.00 / aq2-factor=1.00:1.00:1.00 / aq3=1:[0.60:0.60]:[0.60:0.60]:[0.60:0.60]:[0.60:0.60] / aq3-sensitivity=10.00 / aq3-factor=[1.00:1.00]:[1.00:1.00]:[1.00:1.00] / aq3-boundary=192:64:24
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 488 MiB (2%)
Title : Dub BD CEE
Language : Russian
Service kind : Complete Main
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 488 MiB (2%)
Title : MVO Kravec
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #3
ID : 4
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 1.60 GiB (6%)
Title : AVO Serbin
Language : Russian
Default : No
Forced : No

Audio #4
ID : 5
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 1 510 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.61 GiB (6%)
Title : AVO Gavrilov
Language : Russian
Default : No
Forced : No

Audio #5
ID : 6
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 1.60 GiB (6%)
Title : AVO Zhivov
Language : Russian
Default : No
Forced : No

Audio #6
ID : 7
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 1 510 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.61 GiB (6%)
Title : VO REN_313
Language : Russian
Default : No
Forced : No

Audio #7
ID : 8
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 418 MiB (1%)
Title : VO Chadov
Language : Russian
Service kind : Complete Main
Default : No
Forced : No

Audio #8
ID : 9
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 1.60 GiB (6%)
Title : Original
Language : English
Default : No
Forced : No

Audio #9
ID : 10
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 2 h 32 min
Bit rate mode : Variable
Bit rate : 80.0 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Compression mode : Lossy
Stream size : 87.1 MiB (0%)
Title : Commentary
Writing application : VLC media player
Writing library : libVorbis 1.2 (UTC 2007-06-22)
Language : English
Default : No
Forced : No

Text #1
ID : 11
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : BD CEE
Language : Russian
Default : No
Forced : No

Text #2
ID : 12
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Goblin
Language : Russian
Default : No
Forced : No

Text #3
ID : 13
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : voronine
Language : Russian
Default : No
Forced : No

Text #4
ID : 14
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No

Text #5
ID : 15
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : SDH
Language : Russian
Default : No
Forced : No

Menu
00:00:00.000 : en:Robbery Gone Stranger
00:06:23.966 : en:Intimidate Mode
00:10:36.260 : en:Unknown Limits
00:13:52.581 : en:Last Game in Town
00:17:54.198 : en:Protector's Mantle
00:21:39.339 : en:Kill the Batman
00:26:10.026 : en:Hong Kong Holiday
00:29:36.274 : en:Why so Serious?
00:31:42.483 : en:Landing Lau
00:37:49.058 : en:Men of their Word
00:43:34.069 : en:Hero with a Face
00:46:39.546 : en:Somebody with Access
00:48:57.768 : en:Tonight's Entertainment
00:53:19.446 : en:Watch the World Burn
00:57:15.640 : en:Your Plan is Blackmail?
00:59:26.354 : en:Dishonour Guard
01:03:59.627 : en:No Rules
01:08:23.557 : en:Right Choice
01:10:48.327 : en:I am the Batman
01:14:24.918 : en:Trip to Country
01:18:05.639 : en:Bat-pod Faceoff
01:22:22.437 : en:We Got Him
01:24:48.583 : en:Good Cop, Bad Cop
01:30:48.442 : en:Two-way Race
01:34:04.972 : en:Burned Down
01:39:57.783 : en:Harvey Two-Face
01:42:05.494 : en:Better Class of Criminal
01:44:59.918 : en:Watch Out
01:47:00.872 : en:Agent of Chaos
01:51:09.913 : en:Hospital Boom
01:54:14.639 : en:Too Much Power
01:57:04.017 : en:Unlucky
02:00:14.248 : en:Ferry Scary
02:03:37.576 : en:Prewitt Building Siege
02:09:07.614 : en:Verge of Fireworks
02:12:27.314 : en:Battle for Gotham's Soul
02:15:22.781 : en:One Pointing the Gun
02:19:58.681 : en:Dark Knight
02:24:26.658 : en:End Credits

Вывод mplayer на файле, который тормозил, когда комп ещё не был нагружен

Shell

mplayer /mnt/d4tb/kino/Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
MPlayer 1.3.0-8.3.0 (C) 2000-2016 MPlayer Team

Playing /mnt/d4tb/kino/Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv.
libavformat version 58.20.100 (external)
libavformat file format detected.
[lavf] stream 0: video (vc1), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang rus, DUB | CCE
[lavf] stream 2: audio (ac3), -aid 1, -alang rus, DUB | Варус
[lavf] stream 3: audio (ac3), -aid 2, -alang rus, MVO | Россия
[lavf] stream 4: audio (ac3), -aid 3, -alang rus, MVO | ОРТ
[lavf] stream 5: audio (ac3), -aid 4, -alang rus, MVO | СТС
[lavf] stream 6: audio (ac3), -aid 5, -alang rus, DVO | TV1000
[lavf] stream 7: audio (ac3), -aid 6, -alang rus, DVO | НТВ
[lavf] stream 8: audio (dca), -aid 7, -alang rus, AVO | Гаврилов
[lavf] stream 9: audio (dca), -aid 8, -alang rus, AVO | Либергал
[lavf] stream 10: audio (ac3), -aid 9, -alang rus, AVO | Володарский
[lavf] stream 11: audio (ac3), -aid 10, -alang rus, AVO | Визгунов
[lavf] stream 12: audio (ac3), -aid 11, -alang rus, AVO | Неизвестный 1
[lavf] stream 13: audio (ac3), -aid 12, -alang rus, AVO | Неизвестный 2
[lavf] stream 14: audio (ac3), -aid 13, -alang rus, AVO | Горчаков (VHS)
[lavf] stream 15: audio (ac3), -aid 14, -alang rus, AVO | Козлов (VHS)
[lavf] stream 16: audio (ac3), -aid 15, -alang ukr, MVO | ICTV
[lavf] stream 17: audio (dca), -aid 16, -alang eng, Original
[lavf] stream 18: audio (ac3), -aid 17, -alang eng, Commentary
[lavf] stream 19: subtitle (srt), -sid 0, -slang rus
[lavf] stream 20: subtitle (srt), -sid 1, -slang eng
VIDEO: [VC-1] 1920x1080 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.35.100 (external)
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
==========================================================================
Clip info:
encoder: libebml v1.3.6 + libmatroska v1.4.9
creation_time: 2019-03-02T12:44:08.000000Z
Load subtitles in /mnt/d4tb/kino/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7f0598eece00]Channel layout '5.1(side)' with 6 channels does not match specified number of channels 2: ignoring specified channel layout
AUDIO: 48000 Hz, 2 ch, floatle, 640.0 kbit/20.83% (ratio: 80000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
A: 5.5 V: 4.5 A-V: 0.951 ct: 0.000 0/ 0 77% 3% 2.3% 35 0
No bind found for key 'MOUSE_BTN0-MOUSE_BTN0_DBL'.
A: 5.6 V: 4.6 A-V: 0.972 ct: 0.000 0/ 0 78% 3% 2.3% 37 0
No bind found for key 'MOUSE_BTN0_DBL'.
A: 6.3 V: 5.2 A-V: 1.149 ct: 0.000 0/ 0 83% 3% 2.3% 50 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 14.1 V: 10.5 A-V: 3.589 ct: 0.000 0/ 0 111% 2% 2.5% 175 0
No bind found for key 'MOUSE_BTN0-MOUSE_BTN0_DBL'.
A: 14.2 V: 10.6 A-V: 3.648 ct: 0.000 0/ 0 112% 2% 2.5% 177 0
No bind found for key 'MOUSE_BTN0_DBL'.
A: 15.9 V: 11.7 A-V: 4.253 ct: 0.000 0/ 0 115% 2% 2.6% 204 0
No bind found for key 'MOUSE_BTN2'.
A: 35.3 V: 24.5 A-V: 10.771 ct: 0.000 0/ 0 130% 2% 2.6% 511 0

Too many video packets in the buffer: (265 in 33591570 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 176.7 V: 165.2 A-V: 11.483 ct: 0.000 0/ 0 108% 2% 1.8% 3192 0

Too many video packets in the buffer: (281 in 33576594 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 177.1 V: 170.2 A-V: 6.844 ct: 0.496 0/ 0 109% 2% 1.8% 3192 0

Exiting... (Quit)

размеры файлов

Shell

ls -1l B*
-rw-r--r-- 1 ty ty 31423727106 авг 8 03:23 Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
ls -1l T*
-rwxrwxrwx 1 ty ty 29333761556 авг 1 14:16 The.Dark.Knight.2008.1080p.BluRay.x264.7xRus.Eng-SbR.mkv

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 09.08.2019 16:05

Topper писал: ↑

09.08.2019 15:49


не связан с загрузкой процессора

как я понял читая статью на хабре частично связан. В любом случае, в контексте моего вопроса это не имеет значения. vlc каким то образом подхватывает аппаратное ускорение. А mplayer нет. Почему?

Добавлено (16:44):

нашул такую тему MPlayer и полноэкранный режим
у меня стоит intelvga и какие то опции. Совершенно не понятно какие опции надо, чтобы mplayer увидел именно мой кодек.

Shell

cat /etc/X11/xorg.conf
#------------------------------------------------------------------------------
# Modified Calculate Utilities 3.6.4.6
# Processed template files:
# /var/lib/layman/calculate/profiles/templates/3.6/3_ac_install_live/1-merge/x11-base/xorg-server/X11/xorg.conf
# For modify this file, create /etc/X11/xorg.conf.clt template.
#------------------------------------------------------------------------------

Section "ServerLayout"
Identifier "Xorg Configured"
Screen "Monitor"
EndSection

Section "Files"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/droid"
EndSection

Section "Module"
Load "dri"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "int10"
Load "vbe"
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extension
EndSection

Section "Monitor"
Identifier "StandardMonitor"
Option "DPMS"
EndSection

Section "Device"
Identifier "intelVGA"
Driver "intel"
Option "NoAccel" "False"
Option "DRI" "True"
Option "AccelMethod" "sna"
EndSection

Section "Screen"
Identifier "Monitor"
Device "intelVGA"
Monitor "StandardMonitor"
DefaultDepth 24
Subsection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080"
EndSubsection
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "On"
EndSection

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

ormorph

Сообщения: 2239
ОС: Gentoo

Re: Почему не показывают видео

Сообщение

ormorph » 09.08.2019 18:01

azsx писал(а): ↑

09.08.2019 16:05


vlc каким то образом подхватывает аппаратное ускорение. А mplayer нет. Почему?

Разве?
Если собран с флагом opengl, то должен.
Посмотреть:

Соответственно запустить с параметром -vo gl

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 09.08.2019 18:20

нет к сожалению. Хотя он собран с opengl, но после запуска
mplayer -vo gl мой файл который показывает на vlc
фризы остаются, изображение догоняет звук.

Shell

mplayer -vo help
MPlayer 1.3.0-8.3.0 (C) 2000-2016 MPlayer Team
Available video output drivers:
vdpau VDPAU with X11
xv X11/Xv
gl_nosw OpenGL no software rendering
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
gl OpenGL
gl_tiled X11 (OpenGL) - multiple textures version
matrixview MatrixView (OpenGL)
v4l2 V4L2 MPEG Video Decoder Output
null Null video output
mpegpes MPEG-PES file
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output

Добавлено (18:44):

При этом если в vlc зайти в настройки видео — то там работает вывод именно на OpenGL без фризов. И картинка прям ощутимо быстрее идёт и тормозов нет, и зависаний нет. Другие режимы вывода видео в vlc подвисают значительно больше, чем в mplayer. Также в vlc не имеет значение вывожу я картинку на весь экран или в окне (в mplayer картинка выводится только в окне).
В mplayer я перепробовал все опции по -vo. У меня звук подвисал даже в matrixview. Кое какие режимы не срабатывали или работал только звук без запуска окна плеера.

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 09.08.2019 23:20

azsx писал(а): ↑

09.08.2019 14:40


Тем не менее другой файл, также fhd который и раньше и сейчас показывается в vlc без тормозов. А именно это же видео тормозит в mplayer.

Вообще, конечно, это всё похоже на

azsx писал(а): ↑

09.08.2019 14:40


— Slow CPU — Don’t try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.

Но эта рекомендация — на крайний случай, так как для нормального просмотра это непригодно, но для «ознакомиться с содержимым файла» — сойдет.

Среди рекомендаций есть

azsx писал(а): ↑

09.08.2019 14:40


— Slow media (NFS/SMB mounts, DVD, VCD etc) — Try -cache 8192.

У меня подобные сообщения появлялись и на файлах гораздо меньшего размера, чем Ваш.
Именно по причине «slow media», то есть недостаточно быстрого считывания с диска.
При этом на процессе проигрывания это никак не отражалось, плеер просто в какой-то момент выплёвывал сообщение и ехал дальше, делать ничего не приходилось.
Поэтому для начала попробуйте дать ему кеш. Согласно рекомендации. Этого может оказаться достаточно.
Не исключено, что vlc кеширует по умолчанию, поэтому в нём тормозов нет.

По поводу (не)использования плеером аппаратной обработки x264 ничего сказать не могу — никогда не интересовался. И в моём железе (amd) этого, скорее всего, нету. В спецификации на MB это не упоминается,
а поверхностный поиск в гугель дает только решения от интел.

А, кстати

azsx писал(а): ↑

09.08.2019 14:40


У меня слабенький комп, методом научного тыка я узнал, что в его встроенной видеокарте есть кодек x264 который поозволяет проигрывать формат h264 на fullHD.

поделитесь Вашим «методом научного тыка» — что и как Вы искали и где нашли.
Обычно такие вещи указаны в спецификациях и методом тыка искать ничего не нужно.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 10.08.2019 04:41

Hephaestus писал: ↑

09.08.2019 23:20


— Slow media (NFS/SMB mounts, DVD, VCD etc) — Try -cache 8192.

нет, mplayer -vo gl -cashe 16384 и другие значения кеша так и не помогли. Но картинка стала немного более плавно зависать, без рывков.

Про научный тык получается так. Прежде чем искать что то в спецификациях, надо сперва понять, что искать. То есть сперва я разбирался, что даже в интегрированном процессоре нет инструкций для x264 надо искать в видеокарте. Потом я только благодаря тому, что прочитал у бездельника аналогичную команду нашёл для своего процессора. И только потом я уже добрался до спецификаций и прочитал об этом. То есть чтобы понять, что есть две разные команды
vdpauinfo
vainfo
у меня ушёл ни один день и иначе бы я никак их не нашёл.
Вот у меня есть декодирование h.264 так как VAProfileH264Main. Vlc его подхватывает, браузеры подхватывают. А mplayer показывает мой проблемный файл, но о видеокарте ничего не знает.

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 10.08.2019 08:44

azsx писал(а): ↑

10.08.2019 04:41


Прежде чем искать что то в спецификациях, надо сперва понять, что искать.

В спецификациях ничего искать не нужно.
Просто берем и читаем. И видим, что эта железяка умеет, а что нет.
Такие вещи как «аппаратная поддержка чего-то там» обычно преподносятся как суперфишки и рекламируются,
поэтому пропустить их достаточно сложно.

azsx писал(а): ↑

09.08.2019 14:40


У меня слабенький комп, методом научного тыка я узнал, что в его встроенной видеокарте есть кодек x264 который поозволяет проигрывать формат h264 на fullHD.

azsx писал(а): ↑

10.08.2019 04:41


То есть сперва я разбирался, что даже в интегрированном процессоре нет инструкций для x264 надо искать в видеокарте.

Я не понял, а «встроенная видеокарта» — она «встроена» куда? Не в процессор? В чипсет на материнке?
Вообще-то серверный мост (который и содержит встроенное видео) переехал в процы уже давным-давно.
Я в 2011 году покупал железяки — оно уже было так.
У Вас каких времен железо-то?

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 10.08.2019 09:12

Hephaestus писал: ↑

10.08.2019 08:44


У Вас каких времен железо-то?

Shell

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Celeron(R) CPU 847 @ 1.10GHz
stepping : 7
microcode : 0x28
cpu MHz : 929.730
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm epb pti tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips : 2194.91
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Celeron(R) CPU 847 @ 1.10GHz
stepping : 7
microcode : 0x28
cpu MHz : 1011.842
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm epb pti tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips : 2194.91
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Просто берем и читаем. И видим, что эта железяка умеет, а что нет.

Вот из за этого я и пошёл по неверному пути, в результатет думал, что мой проц не умеет аппаратно видео декодировать. Плюс к этому дебиан, убунту, вин 7 — fhd на моём компе не показывали. А калька, внезапно, стала показывать.
Не помню когда я по времени разобоался, что смотреть надо именно видеокарту и для неё отдельные команды и флаги и в разных процах может быть одинаковая видеокарта.

Добавлено (09:20):

зы
всё это интересно, но совершенно не решает моего вопроса. У меня никс не может работать как видео плеер.

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 10.08.2019 10:54

Hephaestus писал: ↑

10.08.2019 10:12


Модель материнки назовите.

C847N

Shell

sudo dmidecode -t 2
Пароль:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: C847N
Version: x.x
Serial Number: To be filled by O.E.M.
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

Если важно, оперативной 8 гигабайт, файл подкачки 10 гигабайт.

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Почему не показывают видео

Сообщение

Hephaestus » 10.08.2019 14:07

azsx писал(а): ↑

10.08.2019 09:12


Вот из за этого я и пошёл по неверному пути, в результатет думал, что мой проц не умеет аппаратно видео декодировать.

Вы понимаете, какое дело…

Процессор у меня
model name : AMD A8-6600K APU with Radeon(tm) HD Graphics
ядро Richland

Программа vdpauinfo говорит, что

Shell

Decoder capabilities:

name level macbs width height
----------------------------------------------------
MPEG1 --- not supported ---
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_SIMPLE 1 9216 2048 1152
VC1_MAIN 2 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
MPEG4_PART2_SP 3 9216 2048 1152
MPEG4_PART2_ASP 5 9216 2048 1152

то есть h264 вроде как есть.

При этом в спецификациях процессора на сайте AMD указано

Key Features
Supported Technologies
Virtualization
AES
Catalyst Software
Switchable Graphics
AMD Elite Experiences
AMD Enduro™ Technology
IOMMU v2.0
Per Core Power Gating (CC6)
AMD PowerNow!™
Unified Video Decoder (UVD)
Video Code Engine (VCE)
Enhanced Virus Protection
AMD App Acceleration
AMD HD3D Technology
DirectX® 11
FMA4
AVX

Видим, что есть как аппаратный декодер, так и энкодер.

Вики уточняет, что на этом проце версия VCE 1.0 и UVD 3
А дальше можно видеть, что

VCE 1.0

As of April 2014, there are two versions of VCE.[1] Version 1.0 supports H.264 YUV420 (I & P frames), H.264 SVC Temporal Encode VCE, and Display Encode Mode (DEM).

It can be found on

Piledriver-based
Trinity APUs (Ax-5xxx, e.g. A10-5800K)
Richland APUs (Ax-6xxx, e.g. A10-6800K)

VCE 1.0 чего-то там умеет насчет H264

А вот UVD 3

UVD 3
UVD 3 adds support for additional hardware MPEG2 decoding (entropy decode),
DivX and Xvid via MPEG-4 Part 2 decoding (entropy decode, inverse transform, motion compensation)
and Blu-ray 3D via MVC (entropy decode, inverse transform, motion compensation, in-loop deblocking).
along with 120 Hz stereo 3D support, and is optimized to utilize less CPU processing power.
UVD 3 also adds support for Blu-ray 3D stereoscopic displays.

h264 не умеет, а умеет только mpeg2, mpeg-4, Blu-ray.

Поддержка h264 появляется только в UVD4

UVD 4
UVD 4 includes improved frame interpolation with H.264 decoder.[13] UVD 4.2 was introduced with the AMD Radeon Rx 200 series and Kaveri APU.»X.ORG Radeon UVD (Unified Video Decoder) Hardware-UVD4.2: KAVERI, KABINI, MULLINS, BONAIRE, HAWAII». May 2016.

И наконец, инструкция к материнке гласит, что

B. Playback of Blu-ray Disc™:
In order to get better playback quality, when playing the Blu-ray Disc™, refer to the recommended system requirements (or better) below.
•AMD A series processors
•Memory: Two 1 GB DDR3 1333 MHz memory modules with dual channel mode enabled
•BIOS Setup: At least 512 MB of UMA Frame Buffer Size (refer to Chapter 2, «BIOS Setup,» «PeripheralsGFX Configuration,» for more information)
•Playback software: CyberLink PowerDVD 10.0 or later (Note: Please ensure Hardware Acceleration is enabled. Whether Hardware Acceleration can be enabled for 3D Blu-ray discs is dependent on the APU being used.)
•HDCP compliant monitor(s)

можно проигрывать Blu-ray с аппаратным ускорением. Про h264 ни слова. Что вполне соотносится с другими спецификациями.

Хотя vdpauinfo вроде как утверждает обратное.
Меня с самого начала смутило то, что vdpauinfo — это утилита для карт Nvidia.
У нас с Вами карты немного другие. (;
Следовательно, утилита может наврать.
Скажем, декодер есть, но он ни разу не аппаратный.

Вывод: Если некая программа показывает результат, не совпадающий со спецификацией, я склонен верить спецификации.
По Вашим железкам я вообще не нашёл толком информации об аппаратных декодерах/энкодерах.
На различных сайтах вскользь упоминается об этих возможностях (как вот здесь, например), но официальных сведений найти не удалось.
А вообще, арчвики, например, рассказывает, с чем едят это ускорение вообще, и в mplayer в частности.
Если Вы всё-таки уверены, что поддержка этого дела у Ваших железяк есть, пробуйте.
См. здесь и здесь

Последний раз редактировалось Hephaestus 10.08.2019 21:48, всего редактировалось 1 раз.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Почему не показывают видео

Сообщение

azsx » 10.08.2019 16:24

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

Shell

vainfo
error: can't connect to X server!
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.7.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc

Добавлено (16:56):

зы
но в vlc, где fhd работает стоит opengl

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Решено: Почему не показывают видео

Сообщение

Hephaestus » 23.08.2019 14:02

azsx
Я ради смеха скачал Ваш файл и попробовал в разных плеерах.
Описанная Вами проблема не наблюдается. Вообще. Ждал минут тридцать.
Никаких сообщений, никаких рассинхронов, никаких фризов. Без всяких аппаратных ускорений.
Объем RAM у меня 8Гб, доступно 5Гб.
Правда, процессор четырехъядерный. Запускал на одном ядре.
Монитор 15 дюймов, разрешение соответствующее. Работает как в окне, так и в полноэкранном режиме.
Нагрузка на проц — порядка 60%.

Хотел ещё помучить это самое аппаратное ускорение, но для этого драйвер нужно новее, пока некогда с ним разбираться.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Почему не показывают видео

Сообщение

azsx » 23.08.2019 14:55

Hephaestus писал: ↑

23.08.2019 14:02


Я ради смеха скачал Ваш файл

какой файл вы скачали? Кино с рутреккера? С таким же кодеком и параметрами?
И почему вы свои 4 ядра сравниваете с моими 2 на 1.1 ггц? У вас может физически проц тянет fhd.

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

Hephaestus

Сообщения: 3729
Статус: Многоуважаемый джинн…
ОС: Slackware64-14.1/14.2
Контактная информация:

Re: Решено: Почему не показывают видео

Сообщение

Hephaestus » 23.08.2019 16:35

azsx писал(а): ↑

23.08.2019 14:55


какой файл вы скачали? Кино с рутреккера?

Не с рутрекера. Искал на просторах сети.
Файл с аналогичным именем и примерно таким же размером.
Вроде тот же.

Spoiler

Shell

General
Unique ID : 335660735657457795420037382984396746790 (0xFC85E7FC723FD677D4EF13A2DD8CB026)
Complete name : Batman.1989.1080p.BDRemux.15xRus.Ukr.Eng.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 29.3 GiB
Duration : 2h 6mn
Overall bit rate mode : Variable
Overall bit rate : 33.2 Mbps
Encoded date : UTC 2019-03-02 12:44:08
Writing application : mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9
DURATION : 02:06:19.840000000
NUMBER_OF_FRAMES : 236870
NUMBER_OF_BYTES : 181916160
_STATISTICS_WRITING_APP : mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
_STATISTICS_WRITING_DATE_UTC : 2019-03-02 12:44:08
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID : 1
Format : VC-1
Format profile : Advanced@L3
Codec ID : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint : Microsoft
Duration : 2h 6mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 578 MiB (2%)
Title : DUB | CCE
Language : Russian
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DUB | Варус
Language : Russian
Default : No
Forced : No

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | Россия
Language : Russian
Default : No
Forced : No

Audio #4
ID : 5
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | ОРТ
Language : Russian
Default : No
Forced : No

Audio #5
ID : 6
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : MVO | СТС
Language : Russian
Default : No
Forced : No

Audio #6
ID : 7
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DVO | TV1000
Language : Russian
Default : No
Forced : No

Audio #7
ID : 8
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : DVO | НТВ
Language : Russian
Default : No
Forced : No

Audio #8
ID : 9
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 2h 6mn
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Title : AVO | Гаврилов
Language : Russian
Default : No
Forced : No

Audio #9
ID : 10
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 2h 6mn
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Title : AVO | Либергал
Language : Russian
Default : No
Forced : No

Audio #10
ID : 11
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 405 MiB (1%)
Title : AVO | Володарский
Language : Russian
Default : No
Forced : No

Audio #11
ID : 12
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Визгунов
Language : Russian
Default : No
Forced : No

Audio #12
ID : 13
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Неизвестный 1
Language : Russian
Default : No
Forced : No

Audio #13
ID : 14
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Неизвестный 2
Language : Russian
Default : No
Forced : No

Audio #14
ID : 15
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Горчаков (VHS)
Language : Russian
Default : No
Forced : No

Audio #15
ID : 16
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : AVO | Козлов (VHS)
Language : Russian
Default : No
Forced : No

Audio #16
ID : 17
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 347 MiB (1%)
Title : MVO | ICTV
Language : Ukrainian
Default : No
Forced : No

Audio #17
ID : 18
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 2h 6mn
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Title : Original
Language : English
Default : No
Forced : No

Audio #18
ID : 19
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 6mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 173 MiB (1%)
Title : Commentary
Language : English
Default : No
Forced : No

Text #1
ID : 20
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Russian
Default : No
Forced : No

Text #2
ID : 21
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : :Chapter 01
00:02:32.944 : :Chapter 02
00:07:03.882 : :Chapter 03
00:09:26.858 : :Chapter 04
00:12:22.325 : :Chapter 05
00:14:42.131 : :Chapter 06
00:17:03.981 : :Chapter 07
00:20:05.454 : :Chapter 08
00:23:58.062 : :Chapter 09
00:27:05.999 : :Chapter 10
00:30:25.615 : :Chapter 11
00:34:12.509 : :Chapter 12
00:36:13.797 : :Chapter 13
00:38:24.552 : :Chapter 14
00:41:06.297 : :Chapter 15
00:45:06.746 : :Chapter 16
00:48:07.051 : :Chapter 17
00:50:51.715 : :Chapter 18
00:54:19.131 : :Chapter 19
00:57:54.346 : :Chapter 20
00:59:34.321 : :Chapter 21
01:06:38.036 : :Chapter 22
01:12:24.173 : :Chapter 23
01:16:29.210 : :Chapter 24
01:18:19.111 : :Chapter 25
01:21:10.699 : :Chapter 26
01:25:30.083 : :Chapter 27
01:27:24.990 : :Chapter 28
01:29:32.951 : :Chapter 29
01:33:58.049 : :Chapter 30
01:35:50.370 : :Chapter 31
01:38:15.807 : :Chapter 32
01:42:43.866 : :Chapter 33
01:46:34.263 : :Chapter 34
01:50:10.979 : :Chapter 35
01:53:20.210 : :Chapter 36
01:59:43.218 : :Chapter 37
02:02:30.260 : :Chapter 38

azsx писал(а): ↑

23.08.2019 14:55


И почему вы свои 4 ядра

Ну уж, какие есть. Но запускал я всё-таки на одном ядре. Хотя частота другая, да.
И нагрузка на это ядро была порядка 60%. Предполагаю, что с аппаратным ускорением было бы 20-30%.

azsx писал(а): ↑

23.08.2019 14:55


сравниваете с моими 2 на 1.1 ггц?

Да я не сравниваю. Просто у меня машина по нынешним временам тоже не слишком мощная.
Во всяком случае, смотреть кино в файлах по 30Гб — на это я уж точно не рассчитывал.
Стало интересно, что там за файл. Скачал вот. А оно вот взяло и запустилось без всяких проблем.

azsx писал(а): ↑

23.08.2019 14:55


У вас может физически проц тянет fhd.

Может. А может и нет. По крайней мере, аппаратного декодирования x264 нет точно.

А у Вас, стало быть, с vaapi всё взлетело в итоге?
И как нагрузка? В сети народ говорит, что нагрузка на проц различается в несколько раз: 20-30 процентов с ускорением и процентов 60 без ускорения. Ну это помимо чисто визуальной оценки, что ничего не тормозит.

Пускай скрипят мои конечности.
Я — повелитель бесконечности…
Мой блог

azsx

Сообщения: 3684
ОС: calculate linux, debian, ubuntu

Re: Решено: Почему не показывают видео

Сообщение

azsx » 23.08.2019 17:24

Hephaestus писал: ↑

23.08.2019 16:35


А у Вас, стало быть, с vaapi всё взлетело в итоге?
И как нагрузка?

я файл именно этот удалил, только по новой скачать. Есть другие аналогичные.
Я нагрузку не замерял.
Суть проблемы в том, что vlc почему то подхватывает драйвера на видеокарту. А mplaer нет. А mpv подхватывает, но теряет кадры.

Добавлено (17:28):

зы
но зато mpv показывает видео чуть более чётче. Точно не уверен, так как я не особо приверелив (глазаст).

trytip wrote: ↑

Fri Feb 18, 2022 12:34 pm


don’t install a flatpak if works the same in firejail, you have permission issues and vlc does not connect to network if no permissions are given. use mpv with no issues or find your issues:

So I tried that command and didn’t get any errors related to vlc. I’m fairly new to LM, I ran it as you typed and also replaced «$USER» with my user account name—which gave the same result of errors not related to vlc (compiled a package a while back that works fine and errors for that showed up).

Installed mpv and running «firejail mpv ~/Downloads/ a_video_file.mp4» also does not work…

It’s strange on my old hp laptop I have no issue with running firejail vlc/celluloid. The only difference between the two systems I can think of is the kernel is different because my Dell machine had problems running on the LTS kernel series, and the cpu/intergrated grahphics is AMD radeon if that matters, otherwise I set them both up the same.

terminal output running «firejail vlc» on HP laptop (which works):

Code: Select all

mp@mp-HP-Pavilion-Laptop-13-an0xxx:~$ firejail vlc
Reading profile /home/mp/.config/firejail/vlc.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid 42979, child pid 42980
6 programs installed in 4.63 ms
Child process initialized in 69.65 ms
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[0000559b550d95b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: yes
[0000559b55177870] main playlist: playlist is empty
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
[00007f0634c0f0d0] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 () for hardware decoding

terminal output running «firejail vlc» on Dell laptop (cannot play a video, but can play mp3):

Code: Select all

mp@mp-Inspiron-5515:~$ firejail vlc
Reading profile /etc/firejail/vlc.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid 39773, child pid 39774
6 programs installed in 10.56 ms
Child process initialized in 65.92 ms
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[000055e2c3f675b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: yes
[000055e2c4004c80] main playlist: playlist is empty
[000055e2c4036230] main audio output error: too low audio sample frequency (0)
[00007efe251470a0] main decoder error: failed to create audio output
[ass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 2.6.4 (COMPLEX)
[ass] Using font provider fontconfig
[000055e2c4036230] vlcpulse audio output error: digital pass-through stream connection failure: Not supported
[000055e2c4036230] main audio output error: module not functional
[00007efe251470a0] main decoder error: failed to create audio output 

the /etc/firejail/vlc.profile and ~.config/firejail/vlc.profile are the same, the generic default one, set on both machines.

MikeNovember wrote: ↑

Fri Feb 18, 2022 12:23 pm


Hi,

There is another solution to sandbox VLC: flatpak.

And you will get VLC latest version, 3.0.16.

Regards,

MN

I’ll give this a shot, been avoiding flatpaks as I’ve heard there not the best practice but I guess I don’t have much choice lol. If it accomplishes sandboxing potentially malicious files then great works with me!

Понравилась статья? Поделить с друзьями:
  • Make error code 127
  • Main cs 2 0 error cs1024 wrong preprocessor directive
  • Main cpp 3 10 error qapplication file not found
  • Main cpp 2 10 error qqmlapplicationengine file not found
  • Make error 255 linux