No VLC instance

Home Forums Third Party Enhancements VLC Shares No VLC instance

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23477
    chazman14
    Participant

    I’m trying to start a stream to my web browser, but when I start a stream and then try to connect to it, the VLC stream port isn’t open. I tried copying the VLC execution string out of the debug log, and I’m getting an error. Note, I had to take the –daemon option off to get output from VLC.

    $ /usr/bin/vlc -v 2 --play-and-exit "/var/data/video/Sample.avi" --sout=\\\"#transcode{venc=ffmpeg,vcodec=mp2v,vb=3000,scale=.5,width=640,fps=25,acodec=a52,ab=384,channels=6,samplerate=48000,soverlay}:std{access=http,mux=ts,dst=:8081}\\\" --sout-keep    -I http --http-host="127.0.0.1:4212" --pidfile="/tmp/vlcLock.pid"
    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")
    [0x80e8f9c] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
    [0x80e8f9c] main interface error: no suitable interface module
    [0x80d296c] main interface error: no suitable interface module
    [0x804b0d4] main libvlc error: interface "globalhotkeys,none" initialization failed
    [0x80d29d4] main interface: creating httpd
    [0x80fb484] main stream out warning: missing value for option mux
    [0x80fb484] stream_out_standard stream out error: no mux specified or found by extension
    [0x80fa704] main stream output error: stream chain failed for `standard{mux="",access="\"#transcodesoverlay",dst="stddst=:8081\""}'
    [0x80eba3c] main input error: cannot start stream output instance, aborting
    [0x80fc40c] main stream out warning: missing value for option mux
    [0x80fc40c] stream_out_standard stream out error: no mux specified or found by extension
    [0x80fc22c] main stream output error: stream chain failed for `standard{mux="",access="\"#transcodesoverlay",dst="stddst=:8081\""}'
    [0x80fb484] main input error: cannot start stream output instance, aborting
    [0x80df1d4] main playlist: end of playlist, exiting

    This is VLC 1.1.3 from debian-multimedia running in Debian Wheezy on x86 32-bit. Any suggestions how to tweak the profile? Thanks!

    #28702
    zany130
    Participant

    A good start could be to remove the lots of in the vlc args before the transcode arg. I don’t know why you can’t get the –daemon Mode to work. Maybe the path to the pid file is not writable by www-data user. Try to spawn vlc as www-data user with the same args used by vlc-shares from the console manually (maybe adding a -vvv) and see what happens.

    If you just remove the daemon arg the pid file will not created and vlc-shares will not recognized the spawned process (and will log no-vlc-instance)

    #28703
    chazman14
    Participant

    I took out the backslashes when running VLC from the command line, and the video stream worked. So, why is VLC-Shares starting VLC with all those backslashes? I looked through the code for that many backslashes, but I didn’t find a match.

    #28704
    zany130
    Participant

    I haven’t traced this error yet (i can’t reproduce it yet). Anyway the vlc spawn command is in Configs page (show advanced settings). You can fix it from there. By default should be no “” in it,

    The default string:

    --play-and-exit {%source%} --sout="#{%profile%}:{%output%}" --sout-keep {%subtitles%} {%audio%} {%filters%}

    i don’t know why you have it. (there is a similar bug report for the same issue in the project tracker). I will try to investigate for this problem, but the first step is to reproduce it.

    https://code.google.com/p/vlc-shares/issues/detail?id=15

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘VLC Shares’ is closed to new topics and replies.

Login

Lost Password