I want to stream video from webcam by http live. I found that souphttpclientsink plugin can do this.

But when I run this command:
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! mpegtsmux ! souphttpclientsink location=

I got this error:
GstPipeline:pipeline0/GstSoupHttpClientSink:souphttpclientsink0: Could not write to HTTP URI
gstsouphttpclientsink.c(728): gst_soup_http_client_sink_render (): /GstPipeline:pipeline0/GstSoupHttpClientSink:souphttpclientsink0:
error: 4 Cannot connect to destination (

How to fix this problem?

  • Did you solved this ? You need an HTTP streaming server running at the location. I'm trying to do the same, but I did not yet find a working solution.
    – Tim Autin
    Apr 29, 2014 at 9:10
  • I use nginx-rtmp, but since gstreamer 1.2 it include hlssink element, try to use it.
    – victor1234
    Apr 29, 2014 at 16:32


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.