ALSA Compress Offload support
Qais Yousef
qais.yousef at imgtec.com
Tue Jan 13 00:40:04 PST 2015
On 01/09/2015 09:28 AM, Qais Yousef wrote:
> On 01/09/2015 09:12 AM, Sebastian Dröge wrote:
>> Search for "MPEG" in
>> http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/ext/alsa/gstalsasink.c
>>
>>
>> At the sink pad template all the compressed formats that are supported
>> are in the PASSTHROUGH_CAPS #define.
>
> OK that's awesome! I'll try it out.
>
>
OK so I'm on gst v1.4.5, when I run this pipeline
gst-launch-1.0 -v filesrc location=$mp3_file ! mpegaudioparse !
alsasink
I get the following error:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0.GstPad:src:
caps = "audio/mpeg\,\ mpegversion\=\(int\)1\,\
mpegaudioversion\=\(int\)1\,\ layer\=\(int\)3\,\ rate\=\(int\)44100\,\
channels\=\(int\)2\,\ parsed\=\(boolean\)true"
ERROR: from element
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0: GStreamer
encountered a general stream error.
Additional debug info:
gstbaseparse.c(3264): gst_base_parse_loop ():
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstMpegAudioParse:mpegaudioparse0.GstPad:src:
caps = "NULL"
Freeing pipeline ...
Looking at PASSTHROUGH_CAPS #define alsasink should support these caps,
no? Do I need to insert something else into the pipeline?
Thanks
Qais
More information about the gstreamer-devel
mailing list