Facing problem in adding new decoder to decodebin

Sebastian Dröge slomo at circular-chaos.org
Thu Sep 26 06:07:57 PDT 2013


On Do, 2013-09-26 at 05:55 -0700, Baby Octopus wrote:
> Hi,
> 
> I have created a new decoder(aes3_dec) to decode AES3 data in TS and have
> kept a mimetype of audio/x-lpcm-aes3 for this. The ts file has this LPCM
> audio and I want to transcode it to MP3. I have done changes in tsdemux to
> demux this data. I'm not sure how to add this decoder to decodebin
> 
> The following pipeline works for me 
> gst-launch-1.0 filesrc location=test.ts ! tsdemux ! audio/x-lpcm-aes3 !
> aes3_dec ! lamemp3enc ! filesink location=test.mp3
> 
> But this gives error 
> gst-launch-1.0 filesrc location=test.ts ! decodebin ! lamemp3enc ! filesink
> location=test.mp3
> 
> *Missing element: audio/x-lpcm-aes3 decoder*
> 
> How to resolve this?

What's the classification of your element (parameter of
gst_element_class_set_metadata()) and what's its rank (parameter of
gst_element_register())?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130926/e05301f4/attachment.pgp>


More information about the gstreamer-devel mailing list