After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689540 - gst-launch tcpserversink not working
gst-launch tcpserversink not working
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-devtools
0.10.0
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-03 15:29 UTC by Abhishek
Modified: 2012-12-03 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Abhishek 2012-12-03 15:29:44 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?
Comment 1 Sebastian Dröge (slomo) 2012-12-03 15:41:02 UTC
It's not a bug, you have to provide caps for tcpserversink to work. Try adding mp3parse between filesrc and tcpserversink.
Comment 2 Abhishek 2012-12-03 15:49:54 UTC
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 ?
Comment 3 Tim-Philipp Müller 2012-12-03 15:57:55 UTC
The shout2send element might be better suited for that than tcpserversink.