[gst-devel] Issues with shout2send
Sayamindu Dasgupta
sayamindu at gmail.com
Thu Apr 19 20:33:53 CEST 2007
Hi all,
I am trying to use the following pipeline to send a mp3 file to a
icecast2 server
filesrc -- shout2send
I get the following output.
sayamindu at desktop:~/AudioVideo$ gst-launch filesrc
location='/home/sayamindu/AudioVideo/WelcometoIndia.mp3' ! shout2send
password="hackme" mount="/test.mp3"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 208482000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
I set gst-debug to 3, and here's the relevant part (at least this
seems to be the root of the problem to me
0:00:00.256137000 10087 0x804e050 INFO GST_STATES
gstbin.c:1938:gst_bin_change_state_func:<pipeline0> child 'filesrc0'
changed state to 4(PLAYING) successfully
0:00:00.256192000 10087 0x804e050 INFO GST_STATES
gstelement.c:2050:gst_element_continue_state:<pipeline0> completed
state change
New clock: GstSystemClock
0:00:00.548133000 10087 0x8140c80 INFO basesrc
gstbasesrc.c:1551:gst_base_src_loop:<filesrc0> pausing after
gst_base_src_get_range() = unexpected
Got EOS from element "pipeline0".
Execution ended after 292176000 ns.
Setting pipeline to PAUSED ...
0:00:00.548557000 10087 0x804e050 INFO GST_STATES
gstelement.c:2050:gst_element_continue_state:<shout2send0> completed
state change
However, surprisingly, the following command works perfectly:
gst-launch filesrc
location='/home/sayamindu/AudioVideo/WelcometoIndia.mp3' ! mad !
audioconvert ! lame ! shout2send password="hackme" mount="/test.mp3"
Could anyone suggest what the problem is ?
I am using Ubuntu Feisty.
Thanks in advance,
Sayamindu
--
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
More information about the gstreamer-devel
mailing list