我想透過 http live 從網路攝影機串流傳輸影片。我發現souphttpclientsink
插件可以做到這一點。
但是當我運行這個命令時:
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! mpegtsmux ! souphttpclientsink location=http://127.0.0.1:8080
我收到此錯誤:
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 (127.0.0.1)
如何解決這個問題?