[Bug 776962] New: Conversion from m4a encapsuled alac to flac fail with: Could not initialize supporting library.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 6 21:52:18 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776962

            Bug ID: 776962
           Summary: Conversion from m4a encapsuled alac to flac fail with:
                    Could not initialize supporting library.
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: angelfr83 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

After trying to debug soundconverter I discovered the problem comes from
gstreamer :

gst-launch-0.10 filesrc location="/home/francois/Bureau/test.m4a" ! queue !
decodebin name=decoder ! audioconvert ! flacenc ! filesink location=test.flac

fail with :

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstFlacEnc:flacenc0: Could not
initialize supporting library.
Additional debug info:
gstflacenc.c(829): gst_flac_enc_set_format ():
/GstPipeline:pipeline0/GstFlacEnc:flacenc0:
could not initialize encoder (wrong parameters?)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


But 
gst-launch-0.10 filesrc location="/home/francois/Bureau/test.m4a" ! queue !
decodebin name=decoder ! autoaudiosink 

works

as well as :

gst-launch-0.10 giosrc location="file:///home/francois/Bureau/test.m4a"
name=src ! decodebin name=decoder ! audioconvert ! vorbisenc quality=0.6 !
oggmux  ! giosink location="file:///home/francois/Bureau/test.ogg" 


Verbose output of gst-launch-0.10 -v filesrc
location="/home/francois/Bureau/test.m4a" ! queue ! decodebin name=decoder !
audioconvert ! flacenc ! filesink location=test.flac

Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstTypeFindElement:typefind.GstPad:src:
caps = audio/x-m4a
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQTDemux:qtdemux0.GstPad:sink:
caps = audio/x-m4a
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQueue:queue0.GstPad:sink: caps =
audio/x-alac,
codec_data=(buffer)00000024616c616300000000000010000010280a0e0200ff00002c23000b11470000ac44,
samplesize=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQueue:queue0.GstPad:src: caps =
audio/x-alac,
codec_data=(buffer)00000024616c616300000000000010000010280a0e0200ff00002c23000b11470000ac44,
samplesize=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decoder/ffdec_alac:ffdec_alac0.GstPad:sink:
caps = audio/x-alac,
codec_data=(buffer)00000024616c616300000000000010000010280a0e0200ff00002c23000b11470000ac44,
samplesize=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstDecodeBin:decoder/ffdec_alac:ffdec_alac0.GstPad:src:
caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstDecodeBin:decoder.GstGhostPad:src0: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstDecodeBin:decoder.GstGhostPad:src0.GstProxyPad:proxypad1:
caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioRate:audiorate0.GstPad:sink: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioRate:audiorate0.GstPad:src: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioRate:audiorate0.GstPad:sink: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps =
audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true,
endianness=(int)1234, width=(int)16, depth=(int)16
/GstPipeline:pipeline0/GstFlacEnc:flacenc0.GstPad:src: caps = audio/x-flac,
channels=(int)2, rate=(int)44100
ERROR: from element /GstPipeline:pipeline0/GstFlacEnc:flacenc0: Could not
initialize supporting library.
Additional debug info:
gstflacenc.c(829): gst_flac_enc_set_format ():
/GstPipeline:pipeline0/GstFlacEnc:flacenc0:
could not initialize encoder (wrong parameters?)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstFlacEnc:flacenc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudioRate:audiorate0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstAudioRate:audiorate0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder.GstGhostPad:src0: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/ffdec_alac:ffdec_alac0.GstPad:src:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/ffdec_alac:ffdec_alac0.GstPad:sink:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQueue:queue0.GstPad:src: caps =
NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQueue:queue0.GstPad:sink: caps =
NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQTDemux:qtdemux0.GstPad:audio_00:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstQTDemux:qtdemux0.GstPad:sink:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decoder/GstTypeFindElement:typefind.GstPad:src:
caps = NULL
Freeing pipeline ...

-- 
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