GNOME Bugzilla – Bug 689540
gst-launch tcpserversink not working
Last modified: 2012-12-03 15:57:55 UTC
I am trying to user gst-launch to stream mp3 audio over tcp, this is what I am trying : $ gst-launch-0.10 filesrc location="/path/to/file.mp3" ! tcpserversink host=0.0.0.0 port=3000 but it doesn't work the output is as follow : Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstmultifdsink.c(2700): gst_multi_fd_sink_render (): /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0: Received first buffer without caps set Execution ended after 94657 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline .. is the way I am using it is wrong? or its really a bug?
It's not a bug, you have to provide caps for tcpserversink to work. Try adding mp3parse between filesrc and tcpserversink.
Thansk Sebastian, it works. just a small question I am trying to listen to this streaming on VLC/Rhythmbox as a radio but its not working is there anything special I have to do for this ?
The shout2send element might be better suited for that than tcpserversink.