GNOME Bugzilla – Bug 542220
SIGSEGV when trying to get audio from an MPEG
Last modified: 2008-07-10 21:28:38 UTC
Hi, I was trying to send the audio part of a video file to a softphone. A MPEG file I own produces a SIGSEGV when I create a pipeline cat /root/video.mpg | gst-launch -v fdsrc fd=0 ! decodebin ! audioresample ! alawenc ! rtppcmapay ssrc=1234 ! udpsink host=<address> port=<port> It does not crash when I replace decodebin with mpegdemux ! mad ! audioconvert : cat /root/video.mpg | gst-launch -v fdsrc fd=0 ! mpegdemux ! mad ! audioconvert ! audioresample ! alawenc ! rtppcmapay ssrc=1234 ! udpsink host=<address> port=<port> So I suspect decodebin is the culprit. It still crashes when I place a fakesink rather early in the pipeline, so the RTP encoding is most likely not the problem. I ripped the file off some website, so I can't attach it here due to copyright/terms of license problems. Please send me a mail if you wish to deal with this.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance! If you can google for the name of the video and find the page again you could also tell us the link.
I grabbed the latest release versions and compiled with --enable-debug. Unfortunately I can't get mpeg files to work at all at the moment, so I can't reproduce. But, somebody I chatted with yesterday on the IRC channel, Benoit, tried the file on his own installation, which was CVS HEAD, and it worked. For the moment I can only assume that the error is due to a broken installation on my system. Should I be able to reproduce the error, I will amend this bug, but for the moment it can be closed. Thanks, Wolfram
Ok, please reopen if you can reproduce.