Page 1 of 1

Steaming problems with httpd (signaling pipe error)

Posted: 10 Aug 2010 01:52
by lysathor
Hi,
I've problems streaming a local file. See messages for different protols:

Streaming with HTTP
main info: creating httpd
main debug: net: listening to port 8080
main error: signaling pipe error: No error
access_output_http error: cannot listen on port 8080


Streaming with MS-WMSP
main info: creating httpd
main debug: net: listening to 0.0.0.0 port 8080
main error: signaling pipe error: No error
access_output_http error: cannot listen on 0.0.0.0 port 8080


stream_out_rtp debug: RTSP stream: host port 5544 at /
main info: creating httpd
main debug: net: listening to port 5544
main error: signaling pipe error: No error
stream_out_rtp error: cannot export SDP as RTSP

The only streams working are RTP/MPEG and UDP.

Software:
VLC 1.1.2 on Win 7 x64

Any hints?

best regards, Lysathor

Re: Steaming problems with httpd (signaling pipe error)

Posted: 10 Aug 2010 15:18
by VLC_help
Have you tested VLC 1.2.0 nightly builds?

Re: Steaming problems with httpd (signaling pipe error)

Posted: 12 Aug 2010 00:52
by lysathor
I've tried vlc-1.2.0-git-20100810-0002 but the problem still exists.

Re: Steaming problems with httpd (signaling pipe error)

Posted: 12 Aug 2010 17:28
by VLC_help
You have multiple NICs in your setup?

Re: Steaming problems with httpd

Posted: 14 Aug 2010 12:06
by lysathor
Yes, I have mutliple NICs.

But today the problem about the httpd vanished. Perhaps because I rebooted my system?
Unfortunately, the streaming via http still does not work.

The server vlc seems to be working (the slider/progress moves), but the log says
main debug: TIMER input launching for 'Streaming' : 45.000 ms - Total 45.000 ms / 1 intvls (Avg 45.000 ms)
qt4 debug: IM: Setting an input
avcodec debug: writing header
avcodec error: could not write header

The sockes are listening and when using a browser, it detects that a binary stream is on the other side. But when connecting the vlc client with the vlc server it says:
main debug: connection succeeded (socket = 1416)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access module "access_http"
main debug: TIMER module_need() : 42.000 ms - Total 42.000 ms / 1 intvls (Avg 42.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main error: cannot pre fill buffer
main warning: cannot create a stream_t from access

When the client connects to the server, the server vlc log generates no output.

By the way:
When trying to stream via http, then cancel and then trying again, I get the following log (but the slider/progress in the vlc (server) interface moves):
main error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
main error: cannot create packetizer output (mpga)
main error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
main error: cannot create packetizer output (mpgv)

When trying to stream via http, then cancel and then trying streaming rtp, then cancel and then try http again, I get (but the slider/progress in the vlc (server) interface moves):
avcodec error: could not write header


Using MMS for streaming shows similar problems.
Using RTP for streaming works.

[Edit]
For this test I used vlc 1.1.2 on Win7 x64
Same behaviour (for http) for vlc 1.1.1 on Win 7 x 64.

Re: Steaming problems with httpd (signaling pipe error)

Posted: 14 Aug 2010 15:05
by VLC_help
Could you share your transcoding/streaming options?

Re: Steaming problems with httpd (signaling pipe error)

Posted: 27 Feb 2011 18:59
by Fenix-TX
I have the same problem using Veetle guide #std{access=http, mux=asf, dst=127.0.0.1:1234}

Code: Select all

main debug: processing request item screen:// node Lista de reproducción skip 0 main debug: resyncing on screen:// main debug: screen:// is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'screen://' main debug: thread started main debug: using sout chain=`std{access=http,mux=asf,dst=127.0.0.1:1234}' main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: set config option: sout-standard-access to http main debug: set config option: sout-standard-mux to asf main debug: set config option: sout-standard-dst to 127.0.0.1:1234 stream_out_standard debug: creating `http/asf://127.0.0.1:1234' stream_out_standard debug: extension is 1:1234 stream_out_standard debug: extension -> mux=(null) stream_out_standard debug: using `http/asf://127.0.0.1:1234' main debug: looking for sout access module: 1 candidate main info: creating httpd main debug: net: listening to 127.0.0.1 port 1234 qt4 debug: IM: Setting an input main error: signaling pipe error: No error access_output_http error: cannot listen on 127.0.0.1 port 1234 main debug: no sout access module matching "http" could be loaded main debug: TIMER module_need() : 1006.481 ms - Total 1006.481 ms / 1 intvls (Avg 1006.481 ms) stream_out_standard error: no suitable sout access module for `http/asf://127.0.0.1:1234' main debug: no sout stream module matching "std" could be loaded main debug: TIMER module_need() : 1007.432 ms - Total 1007.432 ms / 1 intvls (Avg 1007.432 ms) main debug: destroying chain... (name=(null)) main debug: destroying chain done main error: stream chain failed for `std{access=http,mux=asf,dst=127.0.0.1:1234}' main debug: finished input main error: cannot start stream output instance, aborting main debug: thread ended main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: Destroying the input for 'screen://' main debug: TIMER input launching for 'screen://' : 1059.357 ms - Total 1059.357 ms / 1 intvls (Avg 1059.357 ms)

Re: Steaming problems with httpd

Posted: 12 Mar 2011 06:58
by eNergizer
avcodec error: could not write header
I got the same error when I try streaming large MKVs, here's my config:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "video.mkv" -vv --extraintf logger --sout-mux-caching=5000 --sout "#transcode{vcodec=h264,acodec=alac,vb=2400,vfilter=canvas{width=540,height=380},soverlay}:http{mux=ffmpeg{mux=flv},dst=:1234/stream.flv}" --sout-all --sout-keep

Re: Steaming problems with httpd (signaling pipe error)

Posted: 13 Mar 2011 17:30
by Jean-Baptiste Kempf
ALAC in flv?

Re: Steaming problems with httpd (signaling pipe error)

Posted: 16 Mar 2011 04:23
by eNergizer

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "video.mkv" -vv --extraintf logger --sout-mux-caching=5000 --sout "#transcode{vcodec=h264,acodec=mp3,vb=2400,vfilter=canvas{width=540,height=380},soverlay}:http{mux=ffmpeg{mux=flv},dst=:1234/stream.flv}" --sout-all --sout-keep
-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: creating httpd
avcodec warning: stereo mode selected (codec limitation)
main error: Failed to create audio filter
stream_out_transcode error: Failed to find conversion filter for channel mixing
stream_out_transcode error: cannot create audio chain
main error: cannot create packetizer output (flac)


Any advice for MP3 then? I can't seem to get audio to work with any audio codec. Also the stream doesn't load if I don't use an audio codec, probably because I'm trying to stream this big file.

Re: Steaming problems with httpd (signaling pipe error)

Posted: 16 Mar 2011 12:42
by Jean-Baptiste Kempf
Force samplerate=48000

Re: Steaming problems with httpd (signaling pipe error)

Posted: 16 Mar 2011 13:17
by eNergizer

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "d:\shared\Suzumiya Haruhi no Shoushitsu.mkv" -vv --extraintf logger --sout-mux-caching=5000 --sout "#transcode{vcodec=h264,acodec=mp3,samplerate=48000,vb=2400,vfilter=canvas{width=540,height=380},soverlay}:http{mux=ffmpeg{mux=flv},dst=:1234/stream.flv}" --sout-all --sout-keep
The stream loads and plays but there's only video and no audio.

main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: creating httpd
avcodec warning: stereo mode selected (codec limitation)
main error: Failed to create audio filter
stream_out_transcode error: Failed to find conversion filter for channel mixing
stream_out_transcode error: cannot create audio chain
main error: cannot create packetizer output (flac)