Comment 8 for bug 304843

Revision history for this message
Sean McNamara (smcnam) wrote :

I've now performed the test on the Ubuntu 8.10 x86 Desktop machine as promised. This is a clean install with no modifications other than, upon first boot,

I forgot to include in my test case instructions that gstreamer0.10-plugins-ugly needs to be installed for mp3 playback. As part of the list of packages you install, gstreamer0.10-plugins-ugly should be added to that.

Also, your tests will fail if your installation of Ubuntu is unable to play sound through your desired output device (speakers, USB audio, etc.) using Rhythmbox or the GNOME Sound tests. If these fail, you should troubleshoot your sound setup, which is out of the scope of this test.

Here is only the clean install modification I made before I began the test:

sudo aptitude update; sudo aptitude full-upgrade; sudo reboot

Here's a record of what happens before enabling intrepid-proposed:

root@vk4rms:/home/sean# nano /etc/icecast2/icecast.xml
root@vk4rms:/home/sean# nano /etc/default/icecast2
root@vk4rms:/home/sean# /etc/init.d/icecast2 start
Starting icecast2: Starting icecast2
Detaching from the console
icecast2.
root@vk4rms:/home/sean# exit
exit
sean@vk4rms:~$ gst-launch-0.10 audiotestsrc ! audioconvert ! lame ! shout2send ip=localhost port=8000 password=bugtest username=source mount=/test.mp3 &
[1] 7292
sean@vk4rms:~$ Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

sean@vk4rms:~$ gst-launch-0.10 souphttpsrc location=http://localhost:8000/test.mp3 ! decodebin2 ! audioconvert ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: "http://localhost:8000/test.mp3": File Not Found
Additional debug info:
gstsouphttpsrc.c(916): gst_soup_http_src_parse_status (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
404 File Not Found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

This is as expected; the stream never makes it to the icecast2 server.

Here is a record of what happens after enabling intrepid-proposed, and running `sudo aptitude -t intrepid-proposed`, selecting libshout3, and installing it.

sean@vk4rms:~$ killall gst-launch-0.10
sean@vk4rms:~$ sudo aptitude install gstreamer0.10-plugins-ugly
sean@vk4rms:~$ gst-launch-0.10 audiotestsrc ! audioconvert ! lame ! shout2send ip=localhost port=8000 password=bugtest username=source mount=/test.mp3 &
[1] 7705
sean@vk4rms:~$ Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
sean@vk4rms:~$ gst-launch-0.10 souphttpsrc location=http://localhost:8000/test.mp3 ! decodebin2 ! audioconvert ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 93011803106 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

I hear a tone in my speakers. All is working as planned.

My assessment is that this update solves the problem with no regressions. If we do not hear any "nays" for the next week, this is safe to push to intrepid-updates.

Many thanks, Martin.

Sean