Setting up a stream on linux

About encoding, codec settings, muxers and filter usage
jed_co_za
New Cone
New Cone
Posts: 5
Joined: 29 Sep 2011 11:51

Setting up a stream on linux

Postby jed_co_za » 29 Sep 2011 16:44

Hello

I run this as admin
vlc /stream/1234.avi --sout transcode {vcodec=h264,acodec=mp3,samplerate=44100}:std{access=http,dst=0.0.0.0:8083/stream.flv}

and this is the error i have


[0x8df63d4] 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.

[0x8df63d4] main interface error: no suitable interface module
[0x8e14a4c] main interface error: no suitable interface module
[0x8d638fc] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x8d638fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x8e14c2c] [rc] lua interface: Listening on host "*console".
VLC media player 1.1.11 The Luggage
Remote control interface initialized. Type `help' for help.
> [0xb700588c] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005734] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1afac] main input error: cannot start stream output instance, aborting
[0xb700582c] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1ca84] main input error: cannot start stream output instance, aborting
[0xb700582c] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1ca84] main input error: cannot start stream output instance, aborting
[0xb7006314] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1b014] main input error: cannot start stream output instance, aborting
[0xb7006314] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1ca7c] main input error: cannot start stream output instance, aborting
[0xb7005f54] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1ca7c] main input error: cannot start stream output instance, aborting
[0xb7006154] stream_out_standard stream out error: no mux specified or found by extension
[0xb7005664] main stream output error: stream chain failed for `standard{mux="",access="",dst="transcode"}'
[0x8e1aa9c] main input error: cannot start stream output instance, aborting
^C[0x8e123b4] signals interface error: Caught Interrupt signal, exiting...

n2es
New Cone
New Cone
Posts: 1
Joined: 29 Sep 2011 17:52

Re: Setting up a stream on linux

Postby n2es » 29 Sep 2011 17:58

try this:
vlc /stream/1234.avi --sout '#transcode {vcodec=h264,acodec=mp3,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/stream.flv}'

jed_co_za
New Cone
New Cone
Posts: 5
Joined: 29 Sep 2011 11:51

Re: Setting up a stream on linux

Postby jed_co_za » 30 Sep 2011 08:17

vlc /stream/1234.avi --sout '#transcode {vcodec=h264,acodec=mp3,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/stream.flv}'

VLC media player 1.1.11 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x843f434] 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.

[0x843f434] main interface error: no suitable interface module
[0x8450e9c] main interface error: no suitable interface module
[0x83ac8fc] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x83ac8fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x84511ac] [rc] lua interface: Listening on host "*console".
VLC media player 1.1.11 The Luggage
Remote control interface initialized. Type `help' for help.
> [0xb7106bdc] main access out: creating httpd
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0

keithb1
New Cone
New Cone
Posts: 5
Joined: 26 Sep 2011 18:26

Re: Setting up a stream on linux

Postby keithb1 » 01 Oct 2011 13:37

Looks like you are trying to do this from the command line without an X session. Try using cvlc rather than vlc.

jed_co_za
New Cone
New Cone
Posts: 5
Joined: 29 Sep 2011 11:51

Re: Setting up a stream on linux

Postby jed_co_za » 03 Oct 2011 08:04

cvlc /stream/1234.avi --sout '#transcode {vcodec=h264,acodec=mp3,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/stream.flv}'

VLC media player 1.1.11 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x93b6744] 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.

[0x93b6744] main interface error: no suitable interface module
[0x93a955c] main interface error: no suitable interface module
[0x93128fc] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x93a955c] dummy interface: using the dummy interface module...
[0x93a6fac] main access out: creating httpd
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0

jed_co_za
New Cone
New Cone
Posts: 5
Joined: 29 Sep 2011 11:51

Re: Setting up a stream on linux

Postby jed_co_za » 03 Oct 2011 08:40

Thank you

This is working


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests