[gstreamer-bugs] [Bug 168399] New: Alsasink has trouble when "plug" is used and hardware is accessed directly

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Feb 24 07:34:30 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=168399
 GStreamer | gst-plugins | Ver: 0.8.9

           Summary: Alsasink has trouble when "plug" is used and hardware is
                    accessed directly
           Product: GStreamer
           Version: 0.8.9
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lool+gnome at via.ecp.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Distribution/Version: Debian

Hi,

Georg Wittenburg reported in Debian bug <http://bugs.debian.org/296751> that he
experiences trouble with alsasink in amarok.

It seems to be related to his Alsa configuration.

Quoting his report:
"GStreamer crashes when used by Amarok 1.2.0. The console says:

amarok: [controller] Loading URL:
file:/media/data/Music/Shakira%20-%20Grandes%20Exitos/Shakira%20-%2010%20-%20Ojos%20Asi.mp3
amarok: BEGIN: virtual bool GstEngine::load(const KURL&, bool)
amarok:   [Gst-Engine] Loading url:
file:/media/data/Music/Shakira%20-%20Grandes%20Exitos/Shakira%20-%2010%20-%20Ojos%20Asi.mp3
amarok:   BEGIN: InputPipeline::InputPipeline()
amarok:   END__: InputPipeline::InputPipeline() - Took 0.03s
amarok: END__: virtual bool GstEngine::load(const KURL&, bool) - Took 0.14s
amarok: BEGIN: virtual bool GstEngine::play(unsigned int)
amarok: BEGIN: void EngineSubject::stateChangedNotify(Engine::State)
amarok:   [virtual void amaroK::StatusBar::engineStateChanged(Engine::State)]
Line: 121
amarok: END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.02s
amarok: END__: virtual bool GstEngine::play(unsigned int) - Took 0.29s
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
amarok:   [296x67]
amarok:   6
amarok:   26
amarok: END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
-Took 0.19s
amarok: [Gst-Engine] Fade-in finished.
amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)]
amarok: [GstPadLinkReturn gst_equalizer_link(GstPad*, const GstCaps*)]
amarok: [static void GstEngine::inputError_cb(GstElement*, GstElement*, GError*,
gchar*, void*)]
amarok: BEGIN: void GstEngine::handleInputError()
amarok:   [Gst-Engine] [ERROR!] [GStreamer Error] Internal GStreamer error:
padproblem.  File a bug. ** gstpad.c(2563): gst_pad_set_explicit_caps:
/root_bin/thread0/bin0/spider0/mad0:
failed to negotiate (try_set_caps with "audio/x-raw-int, endianness=(int)1234,
signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100,
channels=(int)2" returned REFUSED)
amarok: [StatusBar] Creating timer for: 1resetMainText()
amarok:   [Gst-Engine] [ERROR!] Input-Pipeline has signaled an error. Destroying
pipeline.
amarok:   BEGIN: void GstEngine::destroyPipeline()
amarok:     BEGIN: InputPipeline::~InputPipeline()
amarok:     END__: InputPipeline::~InputPipeline() - Took 0s
amarok: amaroK is crashing...

This may be related to http://bugzilla.gnome.org/show_bug.cgi?id=133006."


He completed this information with the following:
"georg at vaio:~$ gst-launch-0.8 filesrc location="/media/data/Music/Erikah Badu -  
Tyrone.mp3" ! mad ! alsasink                                                    
RUNNING pipeline ...                                                            
Execution ended after 101 iterations (sum 2069227000 ns, average 20487396 ns,   
min 34000 ns, max 175411000 ns).                                                
Caught interrupt.                                                               
                                                                                
georg at vaio:~$ gst-launch-0.8 filesrc                                            
location="/usr/share/sounds/KDE_Startup_1.ogg" ! oggdemux ! vorbisdec !         
audioconvert ! alsasink                                                         
RUNNING pipeline ...                                                            
Execution ended after 145 iterations (sum 1920410000 ns, average 13244206 ns,   
min 25000 ns, max 317577000 ns).                                                
Caught interrupt.                                                               
                                                                                
Note that my ALSA pipeline is setup as default -> plug -> asym -> dmix ->       
card0 -> hw:0. The "plug" seems to be the relevant part. When I access the      
hardware directly, I get crashes:                                               
georg at vaio:~$ gst-launch-0.8 filesrc location="/media/data/Music/Erikah Badu -  
Tyrone.mp3" ! mad ! alsasink device=hw:0                                        
RUNNING pipeline ...                                                            
ERROR: from element /pipeline0/mad0: Internal GStreamer error: pad problem.     
File a bug.                                                                     
Additional debug info:                                                          
gstpad.c(2563): gst_pad_set_explicit_caps: /pipeline0/mad0:                     
failed to negotiate (try_set_caps with "audio/x-raw-int, endianness=(int)1234,  
signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100,            
channels=(int)2" returned REFUSED)                                              
Floating point exception                                                        
                                                                                
georg at vaio:~$ gst-launch-0.8 filesrc                                            
location="/usr/share/sounds/KDE_Startup_1.ogg" ! oggdemux ! vorbisdec !         
audioconvert ! alsasink device=hw:0                                             
RUNNING pipeline ...                                                            
ERROR: from element /pipeline0/vorbisdec0: Internal GStreamer error: pad        
problem.  File a bug.                                                           
Additional debug info:                                                          
gstpad.c(2563): gst_pad_set_explicit_caps: /pipeline0/vorbisdec0:               
failed to negotiate (try_set_caps with "audio/x-raw-float, rate=(int)44100,     
channels=(int)2, endianness=(int)1234, width=(int)32, buffer-frames=(int)0"     
returned REFUSED)                                                               
Execution ended after 16 iterations (sum 78853000 ns, average 4928312 ns, min   
25000 ns, max 77533000 ns).                                                     
"

This is with GStreamer 0.8.9, and might be with gst-plugins 0.8.6, I'm waiting
for a confirmation of the gst-plugins version (it might be with 0.8.7).

Regards,

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list