Vlc main interface error no suitable interface module

I got this after i start vlc

I got this after i start vlc

h1478694:~ # su vlc
vlc@h1478694:/root> cd
vlc@h1478694:~> ~/vlc
/home/vlc/vlc: line 2: wait: pid 1 is not a child of this shell
vlc: no process killed
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player — version 0.9.8a Grishenko — (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure ‘—disable-dependency-tracking’ ‘—enable-gnomevfs’ ‘—enable-ncurses’ ‘—enable-wxwidgets’ ‘—disable-pda’ ‘—disable-macosx’ ‘—disable-qnx’ ‘—enable-xosd’ ‘—enable-gnutls’ ‘—enable-visual’ ‘—disable-goom’ ‘—enable-slp’ ‘—enable-lirc’ ‘—disable-joystick’ ‘—disable-corba’ ‘—enable-dvdread’ ‘—enable-dvdnav’ ‘—disable-dshow’ ‘—enable-v4l’ ‘—enable-v4l2’ ‘—enable-pvr’ ‘—enable-vcd’ ‘—enable-satellite’ ‘—enable-ogg’ ‘—enable-mkv’ ‘—enable-mod’ ‘—enable-libcdio’ ‘—enable-vcdx’ ‘—enable-cddax’ ‘—enable-libcddb’ ‘—disable-x11’ ‘—enable-xvideo’ ‘—enable-glx’ ‘—enable-fb’ ‘—enable-mga’ ‘—enable-freetype’ ‘—enable-fribidi’ ‘—disable-svg’ ‘—disable-directx’ ‘—disable-wingdi’ ‘—disable-glide’ ‘—enable-aa’ ‘—enable-caca’ ‘—enable-oss’ ‘—disable-esd’ ‘—enable-arts’ ‘—enable-waveout’ ‘—disable-coreaudio’ ‘—disable-hd1000a’ ‘—disable-hd1000v’ ‘—enable-mad’ ‘—enable-ffmpeg’ ‘—enable-faad’ ‘—enable-a52’ ‘—enable-dca’ ‘—enable-flac’ ‘—enable-libmpeg2’ ‘—enable-vorbis’ ‘—enable-tremor’ ‘—enable-speex’ ‘—disable-tarkin’ ‘—enable-theora’ ‘—enable-cmml’ ‘—enable-utf8’ ‘—enable-pth’ ‘—disable-st’ ‘—disable-gprof’ ‘—disable-cprof’ ‘—disable-testsuite’ ‘—enable-optimizations’ ‘—disable-altivec’ ‘—disable-debug’ ‘—enable-release’ ‘—enable-sout’ ‘—disable-galaktos’ ‘—enable-httpd’ ‘—enable-jack’ ‘—enable-mozilla’ ‘—enable-alsa’ ‘—enable-real’ ‘—enable-realrtsp’ ‘—enable-live555’ ‘—with-live555-tree=/usr/lib64/live’ ‘—enable-fast-install’ ‘—enable-dvbpsi’ ‘—enable-dvb’ ‘—enable-lua’ ‘—enable-pulse’ ‘—enable-asademux’ ‘—enable-libproxy’ ‘—enable-libass’ ‘—enable-kate’ ‘—enable-smb’ ‘—enable-taglib’ ‘—disable-qt4’ ‘—disable-skins2’ ‘—disable-x264’
[00000001] main libvlc debug: translation test: code is «C»
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player — version 0.9.8a Grishenko — (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure ‘—disable-dependency-tracking’ ‘—enable-gnomevfs’ ‘—enable-ncurses’ ‘—enable-wxwidgets’ ‘—disable-pda’ ‘—disable-macosx’ ‘—disable-qnx’ ‘—enable-xosd’ ‘—enable-gnutls’ ‘—enable-visual’ ‘—disable-goom’ ‘—enable-slp’ ‘—enable-lirc’ ‘—disable-joystick’ ‘—disable-corba’ ‘—enable-dvdread’ ‘—enable-dvdnav’ ‘—disable-dshow’ ‘—enable-v4l’ ‘—enable-v4l2’ ‘—enable-pvr’ ‘—enable-vcd’ ‘—enable-satellite’ ‘—enable-ogg’ ‘—enable-mkv’ ‘—enable-mod’ ‘—enable-libcdio’ ‘—enable-vcdx’ ‘—enable-cddax’ ‘—enable-libcddb’ ‘—disable-x11’ ‘—enable-xvideo’ ‘—enable-glx’ ‘—enable-fb’ ‘—enable-mga’ ‘—enable-freetype’ ‘—enable-fribidi’ ‘—disable-svg’ ‘—disable-directx’ ‘—disable-wingdi’ ‘—disable-glide’ ‘—enable-aa’ ‘—enable-caca’ ‘—enable-oss’ ‘—disable-esd’ ‘—enable-arts’ ‘—enable-waveout’ ‘—disable-coreaudio’ ‘—disable-hd1000a’ ‘—disable-hd1000v’ ‘—enable-mad’ ‘—enable-ffmpeg’ ‘—enable-faad’ ‘—enable-a52’ ‘—enable-dca’ ‘—enable-flac’ ‘—enable-libmpeg2’ ‘—enable-vorbis’ ‘—enable-tremor’ ‘—enable-speex’ ‘—disable-tarkin’ ‘—enable-theora’ ‘—enable-cmml’ ‘—enable-utf8’ ‘—enable-pth’ ‘—disable-st’ ‘—disable-gprof’ ‘—disable-cprof’ ‘—disable-testsuite’ ‘—enable-optimizations’ ‘—disable-altivec’ ‘—disable-debug’ ‘—enable-release’ ‘—enable-sout’ ‘—disable-galaktos’ ‘—enable-httpd’ ‘—enable-jack’ ‘—enable-mozilla’ ‘—enable-alsa’ ‘—enable-real’ ‘—enable-realrtsp’ ‘—enable-live555’ ‘—with-live555-tree=/usr/lib64/live’ ‘—enable-fast-install’ ‘—enable-dvbpsi’ ‘—enable-dvb’ ‘—enable-lua’ ‘—enable-pulse’ ‘—enable-asademux’ ‘—enable-libproxy’ ‘—enable-libass’ ‘—enable-kate’ ‘—enable-smb’ ‘—enable-taglib’ ‘—disable-qt4’ ‘—disable-skins2’ ‘—disable-x264’
[00000001] main libvlc debug: translation test: code is «C»
[00000351] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

[00000351] main interface error: no suitable interface module
[00000001] main libvlc error: interface «inhibit,none» initialization failed
[00000357] main interface: creating httpd
[00000351] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

After i start a session on webinterface i got this:

[00000351] main interface error: no suitable interface module
[00000001] main libvlc error: interface «inhibit,none» initialization failed
[00000357] main interface: creating httpd
[00000368] main access out error: no sout access module matched «http»
[00000366] stream_out_standard stream out error: no suitable sout access module for `http/asf://h1478694.stratoserver.net:8081′
[00000363] stream_out_transcode stream out error: cannot create chain
[00000362] main stream output error: stream chain failed for `transcode{vcodec=WMV2,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=http,mux=asf,dst=h1478694.stratoserver.net:8081}’
[00000361] main input error: cannot start stream output instance, aborting
^C[00000355] signals interface error: Caught Interrupt signal, exiting…
[00000355] signals interface error: Caught Interrupt signal, exiting…

Any ideas ?

Освоил трансляцию видео при помощи VLC на сайт в WinXP (в Linux я «начинающий», для начала попробовал под Win):
1. Устанавливаем VLC
2. На web-сервере создаем страничку…
3. Запускаем трансляцию vlc.exe -vvv 01.avi —sout=#transcode{vcodec=h264,vb=128,fps=5,scale=0,acodec=none}:http{dst=:8080/1.flv}
4. Открываем страничку и смотрим кино…

Потом «осваиваем» со звуком vlc.exe -vvv 01.avi —sout=#transcode{vcodec=h264,vb=128,fps=5,scale=0,acodec=mp4a,ab=32,channels=1,samplerate=8000}:http{dst=:8080/1.flv}

Пробуем повторить в Ubuntu-Server:
1. Устанавливаем VLC (apt-get install vlc)
2. На web-сервере создаем страничку…
3. Запускаем трансляцию vlc -I «dummy» /home/kldf/01.avi —sout=#transcode{vcodec=h264,vb=128,fps=5,scale=0.25,acodec=mp4a,ab=32,channels=1,samplerate=8000}:http{dst=:8080/1.flv}

и получаем:
VLC media player 1.1.3 The Luggage (revision exported)
Blocked: call to unsetenv(«DBUS_ACTIVATION_ADDRESS»)
Blocked: call to unsetenv(«DBUS_ACTIVATION_BUS_TYPE»)
[0x84295dc] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x84295dc] main interface error: no suitable interface module
[0x842bb2c] main interface error: no suitable interface module
[0x838215c] main libvlc error: interface «globalhotkeys,none» initialization failed
[0x842bb2c] dummy interface: using the dummy interface module…
[0x843091c] main access out: creating httpd
[0x842f07c] main stream output error: stream chain failed for `transcodesamplerate=8000:http{dst=:8080/1.flv}’
[0x84268d4] main input error: cannot start stream output instance, aborting
жмем Ctrl+C
[0x84114bc] signals interface error: Caught Прерывание signal, exiting…
kldf@ubuntu:~$

Что ему надо?  D-Bus… X11… Графику ему подавай? Или можно на это не обращать внимания? 
«main stream output error: stream chain failed for» = «не работает»?

Постепенно сокращаем строку (в несколько этапов) до vlc -I «dummy» /home/kldf/01.avi —sout=#transcode{vcodec=h264}:http{dst=:8080/1.flv}
И получаем:
VLC media player 1.1.3 The Luggage (revision exported)
Blocked: call to unsetenv(«DBUS_ACTIVATION_ADDRESS»)
Blocked: call to unsetenv(«DBUS_ACTIVATION_BUS_TYPE»)
[0x94b25cc] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x94b25cc] main interface error: no suitable interface module
[0x94a57fc] main interface error: no suitable interface module
[0x940b15c] main libvlc error: interface «globalhotkeys,none» initialization failed
[0x94a57fc] dummy interface: using the dummy interface module…
[0x94b99e4] main access out: creating httpd
broken ffmpeg default settings detected
use an encoding preset (vpre)
[0x94e0ee4] avcodec encoder error: cannot open encoder
[0x94e0ee4] main encoder error: Ошибка вещания/перекодирования
[0x94e0ee4] main encoder error: VLC не может открыть этот кодировщик.
[0x94d0ae4] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:h264)
[0x94d0ae4] stream_out_transcode stream out error: cannot create video chain
[0x94b0214] main decoder error: cannot create packetizer output (mp4v)
flv does not support that sample rate, choose from (44100, 22050, 11025).
[0x94bab44] avformat mux error: could not write header
Что ему еще? Какие кодеки ему нужно?

P.S. Чего только не делал… чего только не читал… (переустанови ffmpeg, потом это… и еще это…) уже запутался…


Пользователь решил продолжить мысль 19 Октября 2010, 06:57:23:


установил ubuntu c нуля (на другой винт)
vlc -I «dummy» /home/kldf/01.avi
показывает кино в псевдографике (иксов ведь нет), хотя сначала выдает «…Failed to connect to the D-Bus…»
значит «Failed to connect to the D-Bus» не страшно — нет иксов и не надо…
а вещать не хочет все равно
kldf@ubuntu:~$ vlc -I «dummy» /home/kldf/01.avi —sout=#http{dst=:8080/1.flv}
VLC media player 1.0.6 Goldeneye
[0x9e2cd68] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x9e2cd68] main interface error: no suitable interface module
[0x9d4f148] main libvlc error: interface «inhibit,none» initialization failed
[0x9e30e80] main interface error: no suitable interface module
[0x9d4f148] main libvlc error: interface «globalhotkeys,none» initialization failed
[0x9e30e80] dummy interface: using the dummy interface module…
[0x9d4f2e0] main stream out error: no sout stream module matched «http»
[0x9e22780] main stream output error: stream chain failed for `http{dst=:8080/1.flv}’
[0x9e1feb8] main input error: cannot start stream output instance, aborting

kldf@ubuntu:~$ vlc -I «dummy» /home/kldf/01.avi —sout=#transcode{vcodec=h264}:http{dst=:8080/1.flv}
VLC media player 1.0.6 Goldeneye
[0x9edb108] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x9edb108] main interface error: no suitable interface module
[0x9e0e148] main libvlc error: interface «inhibit,none» initialization failed
[0x9e0e6f0] main interface error: no suitable interface module
[0x9e0e148] main libvlc error: interface «globalhotkeys,none» initialization failed
[0x9e0e6f0] dummy interface: using the dummy interface module…
[0x9ef3508] main stream out error: no sout stream module matched «http»
[0x9ede9f0] stream_out_transcode stream out error: cannot create chain
[0x9edd988] main stream output error: stream chain failed for `transcode{vcodec=h264}:http{dst=:8080/1.flv}’
[0x9edf098] main input error: cannot start stream output instance, aborting

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • Multimedia Software
  • [SOLVED] VLC main interface error

  1. VLC main interface error

    I am running 64 bit Ubuntu 9.10, which was upgraded from my old 9.04 install.
    Unfortunately since upgrading I have found that VLC does not work, movie player works as does mplayer when set to use X11 output. On trying to open a video file vlc crashes after playing a second of audio.
    Running vlc -v
    I get the results

    Code:

    VLC media player 1.0.2 Goldeneye
    [0x26835d8] main demux warning: no access_demux module matching "file" could be loaded
    [0x267f378] main interface error: no interface module matched "globalhotkeys,none"
    [0x267f378] main interface error: no suitable interface module
    [0x258a888] main libvlc error: interface "globalhotkeys,none" initialization failed
    [0x258a888] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

    And then when I attempt to play the video:

    Code:

     m_el[mi_level] == NULL
     arrrrrrrrrrrrrg Up cannot escape itself
    [0x395ce18] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:384000
    [0x395b248] pulse audio output: No. of Audio Channels: 6
    [0x463b668] scaletempo audio filter warning: bad input or output format
    [0x463b668] main audio filter warning: no audio filter module matching "scaletempo" could be loaded
    QPainter::begin: Paint device returned engine == 0, type: 1
    QPainter::begin: Paint device returned engine == 0, type: 1
    [0x395b248] main audio output warning: PTS is out of range (-25679), dropping buffer
    QPainter::begin: Paint device returned engine == 0, type: 1
    [0x395b248] main audio output warning: output date isn't PTS date, requesting resampling (88164)
    [????????] x11 video output error: X11 request 133.19 failed with error code 8:
     BadMatch (invalid parameter attributes)
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  133 (XVideo)
      Minor opcode of failed request:  19 ()
      Serial number of failed request:  101
      Current serial number in output stream:  102

    Launching VLC without the gui through the command cvlc does get the video to play, but obviously without any controls for it.
    A quick search shows this problem has crept up before and I have used and

    Code:

    vlc --reset-config --reset-plugins-cache

    a number of times to no avail but do not want to try any suggestions on other older threads in case they do not apply in this circumstance and would just cause more problems.
    Any suggestions would be very welcome.


  2. Re: VLC main interface error

    You could try setting your video output in vlc to X11 also ( tools -> preferences -> video icon, in the drop down on right.

    What’s interesting is you seem to be able to use Xv output, just not with the embedded video/interface

    you could also just try keeping them separate, you’ll still get controls in full-screen (if enabled, both settings in tools -> preferences

    Whether this would have any effect on the embedded video don’t know, see here about qt config and vlc


  3. Re: VLC main interface error

    Quote Originally Posted by mc4man
    View Post

    You could try setting your video output in vlc to X11 also ( tools -> preferences -> video icon, in the drop down on right.

    What’s interesting is you seem to be able to use Xv output, just not with the embedded video/interface

    you could also just try keeping them separate, you’ll still get controls in full-screen (if enabled, both settings in tools -> preferences

    Whether this would have any effect on the embedded video don’t know, see here about qt config and vlc

    mc4man, i just gave this a shot so that the video is separate and at least i got a screen although it is all black so that somehow fixed the transparent or invisible issue. I’m not sure what to call it so I hope this makes sense. Maybe we are getting closer to solving it. Thanks.


  4. Re: VLC main interface error

    mc4man,

    I got my video back and all I did was set my video to be separate as it wasn’t and I don’t know how that got changed in the first place. Anyway, I reset that and put my video output back to default settings and it went right to playing. This stuff amazes me. Lol. Thanks because it was one of your posts that made me think of it. My video has always been separate and I’ve never had an issue with it that way. I changed it somehow and I have no idea when that was. Oh well, it works which is all that matters. Thanks again.


  5. Re: VLC main interface error

    Apologies for the time taken to get back, my router started playing up last night.
    I’ve tried setting the output to x11, unfortunately that doesn’t do anything and I still can’t play any videos unless through the command cvlc.


  6. Re: VLC main interface error


  7. Re: VLC main interface error

    I’ve tried setting the output to x11…

    Did you try separating the controls and video window? (tools -> preferences -> uncheck «Embed video in interface»

    Otherwise — are you running cairo dock?


  8. Re: VLC main interface error

    Completely remove vlc and then do:

    Code:

    sudo apt-get clean && sudo apt-get autoremove

    Then go here and install the latest vlc.


  9. Re: VLC main interface error

    Quote Originally Posted by mc4man
    View Post

    Did you try separating the controls and video window? (tools -> preferences -> uncheck «Embed video in interface»

    Otherwise — are you running cairo dock?

    Thank you very much. Don’t know how I passed by that check box knowing it was an interface problem. I am running Cairo but this method has successfully got vlc working. Again, thanks very much for everyone’s help. I really appreciate it.

    Thread will be marked as solved.


Bookmarks

Bookmarks


Posting Permissions

We have an updated version of VLC which improves performance for video decode, including HEVC 4K video playback on Pi4.
It is currently in the untested raspberry pi repo, and should be considered beta.

If you would like to try it, edit /etc/apt/sources.list.d/raspi.list and add ‘untested’ to the line ‘deb’ line so that it looks like this:

Code: Select all

deb http://archive.raspberrypi.org/debian/ buster main ui untested

If you don’t have «ui» in there, that’s okay.

Then update and upgrade as usual:

Code: Select all

sudo apt update
sudo apt dist-upgrade

Known issues / features:

If the decoder runs out of memory for any reason it reports an error and vlc, after receiving that error, stops using the decoder — this manifests as a black or frozen pici whilst audio continues. If you stop (not pause) the video then the decoder will be killed and we can try again.

Closing VLC by Alt-F4 or directly closing the window whilst video is playing doesn’t always shut life down correctly and you end up with a still active (deadlocked) VLC with no window. Stopping the video first or exiting with Ctrl-Q seems to die properly reliably.

If you want 4k on a Pi4 then I’d recommend 512M CMA (Add cma=512M to /boot/cmdline.txt).
If you are on a 1G Pi4 then 384M is probably your best bet but that can run out of memory under X for hardware 4K videos. You will probably get away with it without X.

GPU mem is best left at default (unset) on Pi4.
4k playback in a window is choppy. Switching to fullscreen should play much better (F key).
Launching from command line in fullscreen mode should also be fine (that can be run outside of X too).

For Pi 3, 128M GPU memory is recommended (set gpu_mem=128 in config.txt) for non-HEVC playback.
256M GPU if you want to play any HEVC. This is software decode with GPU acceleration. Most 1080p videos should play.

If you want a more omxplayer like interface to the command line vlc, then:

allows things like seeking with cursor keys. See VLC ncurses interface

[edit]
Pi2/Pi3 with fkms won’t work with hevc files. The acceleration uses the QPUs (part of 3D hardware) which the ARM is in control of in fkms mode.
Disable fkms if you need hevc decode.

Изображение пользователя LD.

VLC перестал запускаться после обновления kubuntu до 12.04
Сам VLC обновился до 2.0.1-4
Пишет
[email protected]:~$ vlc -vvv
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x1ade108] main libvlc debug: VLC media player - 2.1.0-git Rincewind
[0x1ade108] main libvlc debug: Copyright © 1996-2012 the VideoLAN team
[0x1ade108] main libvlc debug: revision 1.3.0-git-1290-g55295e3
[0x1ade108] main libvlc debug: configured with ./configure  '--disable-lua' '--disable-xcb' '--disable-libgcrypt'
[0x1ade108] main libvlc debug: searching plug-in modules
[0x1ade108] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0x1ade108] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0x1ade108] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat
[0x1ade108] main libvlc debug: plug-ins loaded: 7 modules
[0x1ade108] main libvlc debug: opening config file (/home/ld/.config/vlc/vlcrc)
[0x1ade108] main libvlc debug: translation test: code is "ru"
[0x1ade108] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x1ade108] main libvlc debug: looking for memcpy module: 0 candidates
[0x1ade108] main libvlc debug: no memcpy module matched "any"
[0x1b0c008] main interface debug: looking for interface module: 0 candidates
[0x1b0c008] main interface debug: no interface module matched "hotkeys,none"
[0x1b0c008] main interface error: no suitable interface module
[0x1ade108] main libvlc error: option http-user-agent does not exist
[0x1b0c098] main interface debug: looking for interface module: 0 candidates
[0x1b0c098] main interface debug: no interface module matched "globalhotkeys,none"
[0x1b0c098] main interface error: no suitable interface module
[0x1ade108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1ade108] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
[0x1b0c848] main interface debug: looking for interface module: 0 candidates
[0x1b0c848] main interface debug: no interface module matched "any"
[0x1b0c848] main interface error: no suitable interface module
[0x1ade108] main libvlc error: interface "default" initialization failed
[0x1ade108] main libvlc debug: deactivating the playlist
[0x1ade108] main libvlc debug: removing all services discovery tasks
[0x1ade108] main libvlc debug: removing all interfaces
[0x1ade108] main libvlc debug: exiting
[0x1b08d78] main playlist debug: destroying
[0x1ade108] main libvlc debug: removing stats

/home/user/.config/vlc и /home/user/.locale/share/vlc убивал
Подскажите пожалуйста в чём может быть проблема.

Понравилась статья? Поделить с друзьями:
  • Vkruntime140 dll ошибка скачать
  • Vkmusic у группы отсутствует раздел аудиозаписей ошибка
  • Vkmusic пишет ошибка авторизации
  • Vkmusic ошибка авторизации попробуйте перезапустить программу ошибка
  • Vkmusic ошибка server error 400