config: add OMX.Aratelia.audio_encoder.mp3 to Tizonia config
authorJulien Isorce <jisorce@oblong.com>
Tue, 23 May 2017 09:32:58 +0000 (10:32 +0100)
committerJulien Isorce <jisorce@oblong.com>
Wed, 12 Jul 2017 13:29:44 +0000 (14:29 +0100)
Useful mostly for testing/debugging purpose as this is a software
based encoder (libmp3lame) for which GStreamer provides a direct
wrapper.

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

config/tizonia/gstomx.conf.in

index 1073272..b5c54c0 100644 (file)
@@ -5,3 +5,11 @@ component-name=OMX.Aratelia.audio_decoder.mp3
 rank=257
 in-port-index=0
 out-port-index=1
+
+[omxmp3enc]
+type-name=GstOMXMP3Enc
+core-name=@TIZONIA_LIBDIR@/libtizcore.so
+component-name=OMX.Aratelia.audio_encoder.mp3
+rank=0
+in-port-index=0
+out-port-index=1