Core interface error no suitable interface module

Настроил ретрансляцию видеопотока с IP камер, но иногда ретрансляция обрывается. Для начала хочу разобраться со всеми возникающими ошибками. Что означают эти ошибки, на что они могут повлиять, и как их исправить? $ vlc -I dummy "rtsp://*.*.*.*/user=*...


0

1

Настроил ретрансляцию видеопотока с IP камер, но иногда ретрансляция обрывается.
Для начала хочу разобраться со всеми возникающими ошибками.
Что означают эти ошибки, на что они могут повлиять, и как их исправить?

$ vlc -I dummy "rtsp://*.*.*.*/user=*&password=*&channel=1&stream=1.sdp?" :sout="#http{mux=asf,dst=*.*.*.*:*/cam01}"
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[0000000002365298] core interface error: no suitable interface module
[000000000234b118] core libvlc error: interface "globalhotkeys,none" initialization failed
[000000000254e8b8] dbus interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
[000000000254e8b8] core interface error: no suitable interface module
[000000000234b118] core libvlc error: interface "dbus,none" initialization failed
[000000000254e8b8] dummy interface: using the dummy interface module...
$ uname -a
Linux srv-dvr-vkz 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
$ vlc --version
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
VLC version 2.2.0-rc2 Weatherwax (2.2.0-rc1-118-g22fda39)
Compiled by buildd on x86-csail-01.debian.org (Aug 19 2015 14:40:29)
Compiler: gcc version 4.9.2 (Debian 4.9.2-10)

I am trying to run vlc on a headless server running Centos 7. I am connecting from a Windows laptop using ssh, the laptop runs X server.

I invoke vlc as follows:

$ vlc —x11-display :0 ~/Videos/Pexels_Videos_1093662.mp4

and see the following output:

VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[00000000017929b8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface «globalhotkeys,none» initialization failed
[0000000001779bf8] dbus interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
[0000000001779bf8] core interface error: no suitable interface module
[00000000016bb168] core libvlc error: interface «dbus,none» initialization failed
[00000000016bb168] core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[0000000001783f98] qt4 interface error: Could not connect to X server
[0000000001783f98] skins2 interface error: cannot initialize OSFactory
[0000000001783f98] [cli] lua interface: Listening on host «*console».
VLC media player 2.2.4 Weatherwax
Command Line Interface initialized. Type `help’ for help.
> [00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so
[00007f3900c08fb8] core decoder error: Codec `h264′ (H264 — MPEG-4 AVC (part 10)) is not supported.
[00007f3900c08fb8] core decoder error: Codec not supported
[00007f3900c08fb8] core decoder error: VLC could not decode the format «h264» (H264 — MPEG-4 AVC (part 10))
[00007f3900c08fb8] core decoder error: corrupt module: /usr/lib64/vlc/plugins/codec/libopus_plugin.so

What am I doing wrong?

  1. Dear Members

    there is something strange with VLC. I am under Ubuntu 14.04 LTS and VLC is installed from

    https://launchpad.net/~mc3man/+archi…u/trusty-media

    It always worked but now double clicking on file nothing happens. The same happens if I try to open from cli.

    I looked at several posts around but none of them seem consistent with the kind of errors I get

    Code:

    vlc come_on_over.wav
    VLC media player 2.2.5.1 Umbrella (revision 2.2.5.1~ppa)
    [0000000001a648e8] core audio output error: no suitable audio output module
    [0000000001a651e8] core interface error: no suitable interface module
    [0000000001a33048] core libvlc error: interface "hotkeys,none" initialization failed
    [0000000001a651e8] core interface error: no suitable interface module
    [0000000001a33048] core libvlc error: interface "globalhotkeys,none" initialization failed
    [0000000001a651e8] core interface error: no suitable interface module
    [0000000001a33048] core libvlc error: interface "dbus,none" initialization failed
    [0000000001a33048] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0000000001a651e8] core interface error: no suitable interface module
    [0000000001a33048] core libvlc error: interface "default" initialization failed
    [0000000001a61d38] core playlist error: could not export playlist

    Code:

    pietro@oak cvlc --reset-config
    VLC media player 2.2.5.1 Umbrella (revision 2.2.5.1~ppa)
    [00000000014bbe38] core audio output error: no suitable audio output module
    [00000000014bbf78] core interface error: no suitable interface module
    [000000000148a048] core libvlc error: interface "hotkeys,none" initialization failed
    [00000000014bbf78] core interface error: no suitable interface module
    [000000000148a048] core libvlc error: interface "globalhotkeys,none" initialization failed
    [00000000014bbf78] core interface error: no suitable interface module
    [000000000148a048] core libvlc error: interface "dbus,none" initialization failed
    [00000000014bbf78] core interface error: no suitable interface module
    [000000000148a048] core libvlc error: interface "default" initialization failed
    [00000000014b9138] core playlist error: could not export playlist

    Of course both audio and video works with other softwares.

    I am getting crazy, I purged and reinstalled vlc and related packages 100 times, but nothing change!

    Best
    Pietro

    * * *
    Working with Ubuntu 18.04 LTS


  2. Re: VLC doesn’t open

    Open it from terminal with command vlc and show us the output which may give some clues.


  3. Re: VLC doesn’t open

    Quote Originally Posted by ajgreeny
    View Post

    Open it from terminal with command vlc and show us the output which may give some clues.

    Hello,

    calling vlc from the cli does not open the gui, this is what happens

    Code:

    pietro@oak:~$ vlc
    VLC media player 2.2.5.1 Umbrella (revision 2.2.5.1~ppa)
    [0000000000f9dc38] core audio output error: no suitable audio output module
    [0000000000f9dd78] core interface error: no suitable interface module
    [0000000000f6c048] core libvlc error: interface "hotkeys,none" initialization failed
    [0000000000f9dd78] core interface error: no suitable interface module
    [0000000000f6c048] core libvlc error: interface "globalhotkeys,none" initialization failed
    [0000000000f9dd78] core interface error: no suitable interface module
    [0000000000f6c048] core libvlc error: interface "dbus,none" initialization failed
    [0000000000f6c048] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0000000000f9dd78] core interface error: no suitable interface module
    [0000000000f6c048] core libvlc error: interface "default" initialization failed
    [0000000000f9af38] core playlist error: could not export playlist

    Cheers
    Pietro

    * * *
    Working with Ubuntu 18.04 LTS


  4. Re: VLC doesn’t open

    Try renaming ~/.config/vlc as a backup, eg ~/.config/vlcbackup, with vlc not running, then start vlc again.
    Perhaps your vlc configuration has become corrupt


  5. Re: VLC doesn’t open

    The above advice is reasonably solid so try that but just go ahead & remove .config/vlc folder entirely.

    If that fails to work then post output of this in a code box, will be fairly extensive

    Code:

    apt-cache policy vlc-*

    What also may be of some value would be output of these 2 commands, note the 2nd one is just a simulation.
    Again put in code box or just copy to a .txt file & attach

    Code:

    sudo apt-get update && sudo apt-get -s dist-upgrade


  6. Re: VLC doesn’t open

    Quote Originally Posted by mc4man
    View Post

    The above advice is reasonably solid so try that but just go ahead & remove .config/vlc folder entirely.

    done, still the same.

    Quote Originally Posted by mc4man
    View Post

    If that fails to work then post output of this in a code box, will be fairly extensive
    [CODE]apt-cache policy vlc-*[CODE]

    here the out output

    Code:

    pietro@oak:~$ apt-cache policy vlc-*
    libvlc-dev:
      Installed: (none)
      Candidate: 2.2.5.1~ppa
      Version table:
         2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    python-vlc:
      Installed: (none)
      Candidate: (none)
      Version table:
    vlc-plugin-notify:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    libvlc0-dev:
      Installed: (none)
      Candidate: (none)
      Version table:
    vlc-plugin-fluidsynth:
      Installed: 2.2.8-1ubuntu3~14.04.york0
      Candidate: 2.2.8-1ubuntu3~14.04.york0
      Version table:
     *** 2.2.8-1ubuntu3~14.04.york0 0
            100 /var/lib/dpkg/status
         2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    libvlccore7:
      Installed: (none)
      Candidate: 2.1.6-0ubuntu14.04.4
      Version table:
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.6-0ubuntu14.04.1 0
            100 /var/lib/dpkg/status
         2.1.5+ppa1 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    libvlccore8:
      Installed: 2.2.8-1ubuntu3~14.04.york0
      Candidate: 2.2.8-1ubuntu3~14.04.york0
      Version table:
     *** 2.2.8-1ubuntu3~14.04.york0 0
            100 /var/lib/dpkg/status
         2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
    vlc-nox:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    browser-plugin-vlc:
      Installed: (none)
      Candidate: 2.0.6-2
      Version table:
         2.0.6-2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-samba:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
    vlc-plugin-zvbi:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-jack:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-sdl:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-data:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.5+ppa1 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-bin:
      Installed: (none)
      Candidate: (none)
      Version table:
    libvlccore-dev:
      Installed: (none)
      Candidate: 2.2.5.1~ppa
      Version table:
         2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-libde265:
      Installed: 0.1.7-1ppa1~trusty1.1
      Candidate: 0.1.7-1ppa1~trusty1.1
      Version table:
     *** 0.1.7-1ppa1~trusty1.1 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         0.1.7-1ppa1~trusty1 0
            500 http://ppa.launchpad.net/strukturag/libde265/ubuntu/ trusty/main amd64 Packages
    phonon4qt5-backend-vlc:
      Installed: (none)
      Candidate: 0.7.80-0ubuntu2
      Version table:
         0.7.80-0ubuntu2 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         0.7.80-0ubuntu1~ubuntu14.04 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         0.7.1-1ubuntu3 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    phonon-backend-vlc:
      Installed: (none)
      Candidate: 0.7.80-0ubuntu2
      Version table:
         0.7.80-0ubuntu2 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         0.7.80-0ubuntu1~ubuntu14.04 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         0.7.1-1ubuntu3 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-vlsub:
      Installed: 0.9.10-1
      Candidate: 0.9.10-1
      Version table:
     *** 0.9.10-1 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
            100 /var/lib/dpkg/status
    vlc-plugin-libde265-dbg:
      Installed: 0.1.7-1ppa1~trusty1.1
      Candidate: 0.1.7-1ppa1~trusty1.1
      Version table:
     *** 0.1.7-1ppa1~trusty1.1 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         0.1.7-1ppa1~trusty1 0
            500 http://ppa.launchpad.net/strukturag/libde265/ubuntu/ trusty/main amd64 Packages
    phonon-backend-vlc-dbg:
      Installed: (none)
      Candidate: 0.7.80-0ubuntu2
      Version table:
         0.7.80-0ubuntu2 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         0.7.80-0ubuntu1~ubuntu14.04 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         0.7.1-1ubuntu3 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    mozilla-plugin-vlc:
      Installed: (none)
      Candidate: (none)
      Version table:
    vlc-plugin-svg:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    libvlc5:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    remuco-vlc:
      Installed: (none)
      Candidate: 0.9.6-2
      Version table:
         0.9.6-2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-dbg:
      Installed: (none)
      Candidate: 2.2.5.1~ppa
      Version table:
         2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages
    vlc-plugin-pulse:
      Installed: 2.2.5.1~ppa
      Candidate: 2.2.5.1~ppa
      Version table:
     *** 2.2.5.1~ppa 0
            500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
         2.1.6-0ubuntu14.04.4 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-security/universe amd64 Packages
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates/universe amd64 Packages
         2.1.2-2build2 0
            500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty/universe amd64 Packages

    Quote Originally Posted by mc4man
    View Post

    What also may be of some value would be output of these 2 commands, note the 2nd one is just a simulation.
    Again put in code box or just copy to a .txt file & attach

    Code:

    sudo apt-get update && sudo apt-get -s dist-upgrade

    here it is

    Code:

    pietro@oak:~$ sudo apt-get update && sudo apt-get -s dist-upgrade
    [sudo] password for pietro: 
    Ign http://ubuntu.mirror.garr.it trusty InRelease
    Ign http://archive.canonical.com trusty InRelease                              
    Ign http://extras.ubuntu.com trusty InRelease                                  
    Ign http://dl.google.com stable InRelease                                      
    Get:1 http://ubuntu.mirror.garr.it trusty-security InRelease [65.9 kB]         
    Hit http://archive.canonical.com trusty Release.gpg                            
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Get:2 http://extras.ubuntu.com trusty Release.gpg [72 B]                       
    Hit http://dl.google.com stable Release.gpg                                    
    Hit http://repository.spotify.com stable InRelease                             
    Hit http://archive.canonical.com trusty Release                                
    Hit http://extras.ubuntu.com trusty Release                                    
    Hit http://dl.google.com stable Release                                        
    Hit http://repository.spotify.com stable/non-free amd64 Packages               
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Hit http://archive.canonical.com trusty/partner Sources                        
    Hit http://extras.ubuntu.com trusty/main Sources                               
    Hit http://dl.google.com stable/main amd64 Packages                            
    Get:3 https://desktop-download.mendeley.com stable InRelease                   
    Ign https://desktop-download.mendeley.com stable InRelease                     
    Get:4 http://ubuntu.mirror.garr.it trusty-updates InRelease [65.9 kB]          
    Hit http://archive.canonical.com trusty/partner amd64 Packages                 
    Hit http://extras.ubuntu.com trusty/main amd64 Packages                        
    Hit http://repository.spotify.com stable/non-free i386 Packages                
    Hit http://dl.google.com stable/main i386 Packages                             
    Hit https://desktop-download.mendeley.com stable Release.gpg                   
    Hit http://archive.canonical.com trusty/partner i386 Packages                  
    Hit http://extras.ubuntu.com trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Hit https://desktop-download.mendeley.com stable Release                       
    Hit http://archive.canonical.com trusty/partner Translation-en                 
    Hit https://repo.skype.com stable InRelease                                    
    Hit https://desktop-download.mendeley.com stable/main amd64 Packages           
    Hit https://repo.skype.com stable/main amd64 Packages                          
    Hit http://ubuntu.mirror.garr.it trusty Release.gpg                            
    Hit https://desktop-download.mendeley.com stable/main i386 Packages            
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Get:5 https://cloud.r-project.org trusty/ InRelease                            
    Ign https://cloud.r-project.org trusty/ InRelease                              
    Get:6 http://ubuntu.mirror.garr.it trusty-security/main Sources [147 kB]       
    Get:7 https://repo.skype.com stable/main Translation-en_US                     
    Get:8 https://desktop-download.mendeley.com stable/main Translation-en_US      
    Get:9 https://desktop-download.mendeley.com stable/main Translation-en         
    Ign http://ppa.launchpad.net trusty InRelease                                  
    Get:10 https://cloud.r-project.org trusty/ Release                             
    Hit https://cloud.r-project.org trusty/ Packages                               
    Get:11 https://desktop-download.mendeley.com stable/main Translation-en_US     
    Get:12 https://desktop-download.mendeley.com stable/main Translation-en        
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Ign http://repository.spotify.com stable/non-free Translation-en_US            
    Get:13 https://desktop-download.mendeley.com stable/main Translation-en_US     
    Ign http://repository.spotify.com stable/non-free Translation-en               
    Get:14 https://desktop-download.mendeley.com stable/main Translation-en        
    Get:15 http://ubuntu.mirror.garr.it trusty-security/restricted Sources [4,931 B]
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Get:16 https://desktop-download.mendeley.com stable/main Translation-en_US     
    Get:17 http://ubuntu.mirror.garr.it trusty-security/universe Sources [67.2 kB] 
    Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
    Get:18 https://desktop-download.mendeley.com stable/main Translation-en        
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Ign http://extras.ubuntu.com trusty/main Translation-en                        
    Get:19 https://cloud.r-project.org trusty/ Translation-en_US                   
    Get:20 https://desktop-download.mendeley.com stable/main Translation-en_US     
    Ign https://desktop-download.mendeley.com stable/main Translation-en_US        
    Ign http://dl.google.com stable/main Translation-en_US                         
    Get:21 https://desktop-download.mendeley.com stable/main Translation-en        
    Ign https://desktop-download.mendeley.com stable/main Translation-en           
    Get:22 http://ubuntu.mirror.garr.it trusty-security/multiverse Sources [3,182 B]
    Ign http://dl.google.com stable/main Translation-en                            
    Ign http://ppa.launchpad.net trusty InRelease                         
    Get:23 http://ubuntu.mirror.garr.it trusty-security/main amd64 Packages [698 kB]
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Ign https://repo.skype.com stable/main Translation-en_US                       
    Ign https://repo.skype.com stable/main Translation-en                          
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Hit http://ppa.launchpad.net trusty InRelease                                  
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Ign https://cloud.r-project.org trusty/ Translation-en_US                      
    Ign https://cloud.r-project.org trusty/ Translation-en                         
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:24 http://ubuntu.mirror.garr.it trusty-security/restricted amd64 Packages [14.1 kB]
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Get:25 http://ubuntu.mirror.garr.it trusty-security/universe amd64 Packages [199 kB]
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:26 http://ubuntu.mirror.garr.it trusty-security/multiverse amd64 Packages [4,800 B]
    Get:27 http://ubuntu.mirror.garr.it trusty-security/main i386 Packages [641 kB]
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty Release.gpg                                
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Get:28 http://ubuntu.mirror.garr.it trusty-security/restricted i386 Packages [13.9 kB]
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:29 http://ubuntu.mirror.garr.it trusty-security/universe i386 Packages [195 kB]
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:30 http://ubuntu.mirror.garr.it trusty-security/multiverse i386 Packages [4,958 B]
    Get:31 http://ubuntu.mirror.garr.it trusty-security/main Translation-en [375 kB]
    Hit http://ppa.launchpad.net trusty/main Translation-en                    
    Hit http://ppa.launchpad.net trusty Release.gpg                                
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Get:32 http://ubuntu.mirror.garr.it trusty-security/multiverse Translation-en [2,564 B]
    Get:33 http://ubuntu.mirror.garr.it trusty-security/restricted Translation-en [3,542 B]
    Hit http://ppa.launchpad.net trusty/main i386 Packages                        
    Get:34 http://ubuntu.mirror.garr.it trusty-security/universe Translation-en [113 kB]
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Get:35 http://ubuntu.mirror.garr.it trusty-updates/main Sources [409 kB]       
    Hit http://ppa.launchpad.net trusty/main amd64 Packages 
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:36 http://ubuntu.mirror.garr.it trusty-updates/restricted Sources [6,322 B]
    Get:37 http://ubuntu.mirror.garr.it trusty-updates/universe Sources [195 kB]   
    Hit http://ppa.launchpad.net trusty/main Translation-en                        
    Hit http://ppa.launchpad.net trusty Release                                    
    Get:38 http://ubuntu.mirror.garr.it trusty-updates/multiverse Sources [7,781 B]
    Get:39 http://ubuntu.mirror.garr.it trusty-updates/main amd64 Packages [1,045 kB]
    Hit http://ppa.launchpad.net trusty Release                                
    Hit http://ppa.launchpad.net trusty/main Sources                               
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
    Hit http://ppa.launchpad.net trusty/main i386 Packages                         
    Get:40 http://ubuntu.mirror.garr.it trusty-updates/restricted amd64 Packages [17.2 kB]
    Get:41 http://ubuntu.mirror.garr.it trusty-updates/universe amd64 Packages [437 kB]
    Get:42 http://ubuntu.mirror.garr.it trusty-updates/multiverse amd64 Packages [14.9 kB]
    Get:43 http://ubuntu.mirror.garr.it trusty-updates/main i386 Packages [985 kB] 
    Ign http://ppa.launchpad.net trusty/main Translation-en_US                     
    Ign http://ppa.launchpad.net trusty/main Translation-en                        
    Get:44 http://ubuntu.mirror.garr.it trusty-updates/restricted i386 Packages [17.0 kB]
    Get:45 http://ubuntu.mirror.garr.it trusty-updates/universe i386 Packages [435 kB]
    Ign http://ppa.launchpad.net trusty/main Translation-en_US                     
    Ign http://ppa.launchpad.net trusty/main Translation-en                        
    Get:46 http://ubuntu.mirror.garr.it trusty-updates/multiverse i386 Packages [15.3 kB]
    Get:47 http://ubuntu.mirror.garr.it trusty-updates/main Translation-en [516 kB]
    Get:48 http://ubuntu.mirror.garr.it trusty-updates/multiverse Translation-en [7,760 B]
    Get:49 http://ubuntu.mirror.garr.it trusty-updates/restricted Translation-en [4,031 B]
    Get:50 http://ubuntu.mirror.garr.it trusty-updates/universe Translation-en [236 kB]
    Hit http://ubuntu.mirror.garr.it trusty Release                                
    Hit http://ubuntu.mirror.garr.it trusty/main Sources                           
    Hit http://ubuntu.mirror.garr.it trusty/restricted Sources                     
    Hit http://ubuntu.mirror.garr.it trusty/universe Sources                       
    Hit http://ubuntu.mirror.garr.it trusty/multiverse Sources                     
    Hit http://ubuntu.mirror.garr.it trusty/main amd64 Packages                    
    Hit http://ubuntu.mirror.garr.it trusty/restricted amd64 Packages              
    Hit http://ubuntu.mirror.garr.it trusty/universe amd64 Packages                
    Hit http://ubuntu.mirror.garr.it trusty/multiverse amd64 Packages              
    Hit http://ubuntu.mirror.garr.it trusty/main i386 Packages                     
    Hit http://ubuntu.mirror.garr.it trusty/restricted i386 Packages               
    Hit http://ubuntu.mirror.garr.it trusty/universe i386 Packages                 
    Hit http://ubuntu.mirror.garr.it trusty/multiverse i386 Packages               
    Hit http://ubuntu.mirror.garr.it trusty/main Translation-en                    
    Hit http://ubuntu.mirror.garr.it trusty/multiverse Translation-en              
    Hit http://ubuntu.mirror.garr.it trusty/restricted Translation-en              
    Hit http://ubuntu.mirror.garr.it trusty/universe Translation-en                
    Ign http://ubuntu.mirror.garr.it trusty/main Translation-en_US                 
    Ign http://ubuntu.mirror.garr.it trusty/multiverse Translation-en_US           
    Ign http://ubuntu.mirror.garr.it trusty/restricted Translation-en_US           
    Ign http://ubuntu.mirror.garr.it trusty/universe Translation-en_US             
    Fetched 6,970 kB in 11s (622 kB/s)                                             
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      firefox firefox-locale-en firefox-locale-it
    3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Inst firefox [57.0.1+build2-0ubuntu0.14.04.1] (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])
    Inst firefox-locale-en [57.0.1+build2-0ubuntu0.14.04.1] (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])
    Inst firefox-locale-it [57.0.1+build2-0ubuntu0.14.04.1] (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])
    Conf firefox (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])
    Conf firefox-locale-en (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])
    Conf firefox-locale-it (57.0.3+build1-0ubuntu0.14.04.1 Ubuntu:14.04/trusty-security [amd64])

    Thanks
    Pietro

    * * *
    Working with Ubuntu 18.04 LTS


  7. Re: VLC doesn’t open

    Pretty simple, you have mixed vlc packages from 2 ppa’s. If you wish to get vlc from a ppa then just use one. So start with —

    Code:

    sudo apt-get purge vlc-*

    Now if you want the 2.2.8 version then add back the york ppa to your sources, run sudo apt-get update then sudo apt-get install vlc.

    If you want the 2.2.5 version from my ppa then after the purge just re-install vlc. Not sure if I’m inclined to provide 2.2.8 for 14.04, I have it for 16.04 so could do but honestly probably won’t..


  8. Re: VLC doesn’t open

    Quote Originally Posted by mc4man
    View Post

    Pretty simple, you have mixed vlc packages from 2 ppa’s. If you wish to get vlc from a ppa then just use one. So start with —

    Code:

    sudo apt-get purge vlc-*

    Now if you want the 2.2.8 version then add back the york ppa to your sources, run sudo apt-get update then sudo apt-get install vlc.

    If you want the 2.2.5 version from my ppa then after the purge just re-install vlc. Not sure if I’m inclined to provide 2.2.8 for 14.04, I have it for 16.04 so could do but honestly probably won’t..

    Thanks a lot it worked! 2.2.9 works on my machine! For the moment there is no issue about it.

    Happy new year
    Pietro

    * * *
    Working with Ubuntu 18.04 LTS


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

From a ssh terminal run:
vlc -I «dummy» path
where path is the full path to a media file.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Fri Aug 05, 2016 12:03 pm

pi@raspberrypi:~ $ vlc -I «dummy» /media/pi/TOSHIBA EXT/1462920008574.mp4
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[005ab490] core interface error: no suitable interface module
[005118f8] core libvlc error: interface «globalhotkeys,none» initialization failed
[005abce8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[005abce8] core interface error: no suitable interface module
[005118f8] core libvlc error: interface «dbus,none» initialization failed
[005ab490] dummy interface: using the dummy interface module…
[75300c50] core vout display error: Failed to set fullscreen
[75300c50] core vout display error: Failed to change zoom
[75300c50] core vout display error: Failed to set on top


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Fri Aug 05, 2016 1:04 pm

Now add -v or multiple «v»s to get more information:
-vvv

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Fri Aug 05, 2016 1:09 pm

gkreidl wrote:Now add -v or multiple «v»s to get more information:
-vvv

pi@raspberrypi:~ $ vlc -I -vvv «dummy» /media/pi/TOSHIBA EXT/1462920008574.mp4
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[01806490] core interface error: no suitable interface module
[0176c8f8] core libvlc error: interface «globalhotkeys,none» initialization failed
[01806ce8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[01806ce8] core interface error: no suitable interface module
[0176c8f8] core libvlc error: interface «dbus,none» initialization failed
[01806490] core interface error: no suitable interface module
[0176c8f8] core libvlc error: interface «default» initialization failed


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Fri Aug 05, 2016 2:19 pm

There should be much more ..

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer



gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Fri Aug 05, 2016 3:16 pm

antonio8909 wrote:

gkreidl wrote:There should be much more ..

That was the only info that the ssh show

You’ve put the «-vvv» between -I and «dummy»! Use
vlc -vvv -I «dummy» ….

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer



gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Sat Aug 06, 2016 6:32 am

I couldn’t detect any reason why it shouldn’t work or which explains your problem — but VLC debug messages are really a pain to read.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Sat Aug 06, 2016 11:10 am

gkreidl wrote:I couldn’t detect any reason why it shouldn’t work or which explains your problem — but VLC debug messages are really a pain to read.

I can confirm you that when I play a video it freezes. Its happening in Lubuntu, Raspbian, Ubuntu MATE,etc


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Sat Aug 06, 2016 1:30 pm

Did you change anything in the configure options?
I’ve compiled a lot of different VLC versions and also tested different configure options. You cannot use the bleeding edge version and if you don’t exclude the MMAL plugins you won’t get a stable version.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Sat Aug 06, 2016 3:28 pm

gkreidl wrote:Did you change anything in the configure options?
I’ve compiled a lot of different VLC versions and also tested different configure options. You cannot use the bleeding edge version and if you don’t exclude the MMAL plugins you won’t get a stable version.

I didn’t change nothing! I compiled it as you told me one month ago aprox


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Sat Aug 06, 2016 3:51 pm

Answer from VLC forum

‘—disable-mmal-codec’ ‘—disable-mmal-vout’

You disabled the hardware decoding…

How can I fix that?

Thanks


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Sat Aug 06, 2016 7:46 pm

antonio8909 wrote:Answer from VLC forum

‘—disable-mmal-codec’ ‘—disable-mmal-vout’

You disabled the hardware decoding…

How can I fix that?

Thanks

That’s not true. There are two supported methods of hardware decoding: OpenMax and MMAL. I’ve never seen a version working with MMAL enabled. And I tried it with a lot of different versions. Only OpenMax does work and only if MMAL is disabled.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Sat Aug 06, 2016 8:07 pm

gkreidl wrote:

antonio8909 wrote:Answer from VLC forum

‘—disable-mmal-codec’ ‘—disable-mmal-vout’

You disabled the hardware decoding…

How can I fix that?

Thanks

That’s not true. There are two supported methods of hardware decoding: OpenMax and MMAL. I’ve never seen a version working with MMAL enabled. And I tried it with a lot of different versions. Only OpenMax does work and only if MMAL is disabled.

What can I do, then? :/

Thanks :)


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Sat Aug 06, 2016 8:18 pm

antonio8909 wrote:
What can I do, then? :/

Thanks :)

I have no idea. I know that lots of people who followed my tutorial created a working version of VLC with HW accelerated video. And I did it myself at least a dozen times.
If you followed the tutorial step by step and didn’t get a working version, something must be different about your system (and I’m only speaking about Raspbian).

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Sat Aug 06, 2016 8:27 pm

gkreidl wrote:

antonio8909 wrote:
What can I do, then? :/

Thanks :)

I have no idea. I know that lots of people who followed my tutorial created a working version of VLC with HW accelerated video. And I did it myself at least a dozen times.
If you followed the tutorial step by step and didn’t get a working version, something must be different about your system (and I’m only speaking about Raspbian).

I have Raspbian. Should I reinstall the OS and try again. I have problems with wifi so I need to do it anyway.

Are you agree?


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Sun Aug 07, 2016 8:57 am

antonio8909 wrote:

I have Raspbian. Should I reinstall the OS and try again. I have problems with wifi so I need to do it anyway.

Are you agree?

I just did that. All my RPis run from HDD. Except for one they have all been updated from Wheezy (and may contain old stuff).
One RPi2 system is built from the latest Jessie image. I downloaded VLC 2.2.4 and compiled it on this machine. It works like the other versions I compiled.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Mon Aug 08, 2016 12:21 am

Hi,

Finally after reinstall Raspbian, it works!!!! Now I have some questions.
1.- I tried to open a mp4 video and it doesn’t work but with another mp4 it works. Why?
2.- I read that the video (and is true) isn’t going to be played inside a window (with controls and all stuff) how can I enable it for play the video inside a window? I want it because if i need to add subtitles to a file I need that controls.
3.- If VLC release a new version of VLC, how can I update it?

Thanks a lot in advance ;)


gkreidl

Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Problem with video in VLC

Mon Aug 08, 2016 3:27 am

antonio8909 wrote:Hi,

Finally after reinstall Raspbian, it works!!!! Now I have some questions.
1.- I tried to open a mp4 video and it doesn’t work but with another mp4 it works. Why?
2.- I read that the video (and is true) isn’t going to be played inside a window (with controls and all stuff) how can I enable it for play the video inside a window? I want it because if i need to add subtitles to a file I need that controls.
3.- If VLC release a new version of VLC, how can I update it?

Thanks a lot in advance ;)

1) Check the codec being used (I use mediainfo).
2) No way. You have to use keyboard commands. (They are editable and you can even add your own). SD video can be played with SDL mode which uses its own window (but no hardware acceleration).
3) It is not guaranteed that newer versions will work. But you can give it a try. Before you compile and install a new version, run

from inside your old vlc-…. directory.

Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC

Mon Aug 08, 2016 12:50 pm

gkreidl wrote:

antonio8909 wrote:Hi,

Finally after reinstall Raspbian, it works!!!! Now I have some questions.
1.- I tried to open a mp4 video and it doesn’t work but with another mp4 it works. Why?
2.- I read that the video (and is true) isn’t going to be played inside a window (with controls and all stuff) how can I enable it for play the video inside a window? I want it because if i need to add subtitles to a file I need that controls.
3.- If VLC release a new version of VLC, how can I update it?

Thanks a lot in advance ;)

1) Check the codec being used (I use mediainfo).
2) No way. You have to use keyboard commands. (They are editable and you can even add your own). SD video can be played with SDL mode which uses its own window (but no hardware acceleration).
3) It is not guaranteed that newer versions will work. But you can give it a try. Before you compile and install a new version, run

from inside your old vlc-…. directory.

1.- Here you are http://i.imgur.com/BxojeCG.png
2.- How can I add subtitles from a srt (or ass) file to a video if I can’t use the interface?
3.- Thanks for the info.

Thanks a lot again in advance




xkainx

Posts: 1
Joined: Wed Jul 04, 2018 2:43 pm

Re: Problem with video in VLC [solved]

Wed Jul 04, 2018 2:48 pm

There is nothing wrong with VLC, it just doesnt default to the settings it needs to handle an rPI.

Tools/Prefferences/Interface: Untick Resize Interface to fit video
Tools/Prefferences/Video/Output: X11 video output (XCB)

After that VLC runs just fine. Would be nice if it defaulted to that out of box but unfortunately not all SBCs are the same.


antonio8909

Posts: 39
Joined: Tue Jun 28, 2016 1:46 pm

Re: Problem with video in VLC [solved]

Wed Jul 04, 2018 5:40 pm

xkainx wrote:
There is nothing wrong with VLC, it just doesnt default to the settings it needs to handle an rPI.

Tools/Prefferences/Interface: Untick Resize Interface to fit video
Tools/Prefferences/Video/Output: X11 video output (XCB)

After that VLC runs just fine. Would be nice if it defaulted to that out of box but unfortunately not all SBCs are the same.

I switched a while ago to another OS so this problem doesn’t affect me for now


Return to “Troubleshooting”

Я пытаюсь организовать стриминг видеофайла с удалённого сервера. Подключаюсь к нему по ssh и затем пишу команду:

cvlc video.mp4 --sout '#rtp{dst=localhost,port=554,sdp=rtsp://hse.auditory.ru:8083/test.sdp}'

В результате, я получаю следующие строки:

[email protected]:~$ cvlc video.mp4 --sout '#rtp{dst=localhost,port=554,sdp=rtsp://hse.auditory.ru:8083/test.sdp}'
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000001421768] core interface error: no suitable interface module
[000000000130e148] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001421768] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0000000001421768] core interface error: no suitable interface module
[000000000130e148] core libvlc error: interface "dbus,none" initialization failed
[0000000001421768] dummy interface: using the dummy interface module...
[00007ff3ec000fd8] stream_out_rtp stream out: Consider passing --rtsp-host=IP on the command line instead.
[00007ff3ec000fd8] core stream out error: socket bind error: Permission denied
[00007ff3ec000fd8] core stream out error: cannot create socket(s) for HTTP host
[00007ff3ec000fd8] stream_out_rtp stream out error: cannot export SDP as RTSP

socket bind error: Permission denied — это я ещё понимаю: порты, наверное, надо открыть. А вот что с иксами не так? cvlv — это же консольная программа. Она по-умолчанию не должна пользоваться иксами…

UPD: Мне принципиально стримить через rtsp

Освоил трансляцию видео при помощи 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

Понравилась статья? Поделить с друзьями:
  • Core error перевод
  • Core error end of script output before headers
  • Continuation line missing indentation or outdented как исправить
  • Contester internal error
  • Content validation error mortal kombat 11 что это