[Bug 659691] New: Segfault when you convert with audioconvert from audio file mkv to audio file avi

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 21 03:57:10 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=659691
  GStreamer | gst-plugins-good | git

           Summary: Segfault when you convert with audioconvert from audio
                    file mkv to audio file avi
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: anthony.violo at ubicast.eu
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Utilisation:
========================

Comment:
---------
Gstreamer can generate audio raw and convert for file avi, but it can't put
audio raw in mkv file and after convert for file avi.


Test with audiotestsrc :
-----------------------
gst-launch audiotestsrc ! "audio/x-raw-int, width=(int)32, depth=(int)32,
signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000" !
audioconvert  ! avimux ! filesink location=test.avi -v

Generate audio file mkv with the same audio caps :
--------------------------------------------------
gst-launch audiotestsrc ! "audio/x-raw-int, width=(int)32, depth=(int)32,
signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000" !
audioconvert  ! matroskamux ! filesink location=test.mkv -e

Convertion from audio file mkv to audio file avi:
--------------------------------------------------
gst-launch-0.10 filesrc location=test.mkv ! matroskademux name=demux ! queue !
audioconvert ! queue ! avimux bigfile=True name=mux ! progressreport
update-freq=1 silent=true ! filesink location=test.avi -v

{{{
Log :

/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw-int,
width=(int)32, depth=(int)32, signed=(boolean)true, endianness=(int)1234,
channels=(int)2, rate=(int)48000
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = audio/x-raw-int,
width=(int)32, depth=(int)32, signed=(boolean)true, endianness=(int)1234,
channels=(int)2, rate=(int)48000
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps =
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)48000, channels=(int)2
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps =
audio/x-raw-int, width=(int)32, depth=(int)32, signed=(boolean)true,
endianness=(int)1234, channels=(int)2, rate=(int)48000
Caught SIGSEGV accessing address (nil)
Processus arrêté

With GDB :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb758db70 (LWP 14179)]
0xb7659860 in ?? ()
(gdb) bt
#0  0xb7659860 in ?? ()
#1  0x00000800 in ?? ()
#2  0x00000002 in ?? ()
#3  0x000000ff in ?? ()
#4  0x00000006 in ?? ()
#5  0xb6403000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
}}}

Solution for the moment to convert audio file mkv to audio file avi:
---------------------------------------------------------------------
gst-launch-0.10 filesrc location=test.mkv ! matroskademux name=demux ! queue !
audioconvert ! "audio/x-raw-float, width=(int)64, rate=(int)48000,
channels=(int)2, endianness=(int)1234" ! audioconvert ! queue ! avimux
bigfile=True name=mux ! progressreport update-freq=1 silent=true ! filesink
location=test.avi -v

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list