Is Opus encoder included in Gstreamer?

ge_keep pcouliba at yahoo.com
Wed Sep 17 07:58:45 PDT 2014


After I copy libopus.so.0 into /usr/lib directory and run
$ gst-inspect-1.0 <path-to-gst-plugin-dir>/libgstopus.so

Now, I have a little of bit of progress :-), I now get a correct description
of the plugin:
////////////////////////////
 Name                     opus
  Description              OPUS plugin library
  Filename                 <path-to-gst-plugin-dir>/libgstopus.so
  Version                  1.4.0
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2014-07-19
  Binary package           GStreamer Bad Plug-ins source release
  Origin URL               Unknown package origin

  opusenc: Opus audio encoder
  opusdec: Opus audio decoder
  opusparse: Opus audio parser
  rtpopusdepay: RTP Opus packet depayloader
  rtpopuspay: RTP Opus payloader

  5 features:
  +-- 5 elements
//////////////////////////////////////////

The problem now is that when I just run gst-inspect-1.0, these 5 desired
features of opus (opusenc, opusdec, ...) are not showing up in the list of
available plugins.

I then run :

$ GST_DEBUG=*:7 GST_DEBUG_FILE=mydebug.log gst-inspect-1.0


and looking into the debug file (mydebug.log) I still see the libgstopus
describe as BLACKLIST by the GST_REGISTRY!!
Here is a snippet of mydebug.log file
////////////////////////////

GST_REGISTRY
gstregistrychunks.c:828:_priv_gst_registry_chunks_load_plugin:read strings
for name='libgstopus.so' 
GST_REGISTRY gstregistrychunks.c:829:_priv_gst_registry_chunks_load_plugin:
desc.description='*Plugin for blacklisted file*' 
GST_REGISTRY gstregistrychunks.c:830:_priv_gst_registry_chunks_load_plugin:
filename='<path-to-gst-plugins>/gstreamer-1.0/libgstopus.so'
GST_REGISTRY gstregistrychunks.c:831:_priv_gst_registry_chunks_load_plugin:
desc.version='0.0.0' 
GST_REGISTRY gstregistrychunks.c:832:_priv_gst_registry_chunks_load_plugin:
desc.license='BLACKLIST' 
GST_REGISTRY gstregistrychunks.c:833:_priv_gst_registry_chunks_load_plugin:
desc.source='BLACKLIST' 
GST_REGISTRY gstregistrychunks.c:834:_priv_gst_registry_chunks_load_plugin:
desc.package='BLACKLIST' 
GST_REGISTRY gstregistrychunks.c:835:_priv_gst_registry_chunks_load_plugin:
desc.origin='BLACKLIST' 
GST_REGISTRY
gstregistrychunks.c:836:_priv_gst_registry_chunks_load_plugin:desc.datetime= 
GST_REGISTRY gstregistry.c:476:gst_registry_add_plugin:<registry0> adding
plugin 0x39c08 for filename
"<path-to-gst-plugins>/gstreamer-1.0/libgstopus.so"
GST_REFCOUNTING gstobject.c:306:gst_object_ref_sink:<plugin15> 0x39c08
ref_sink 1->2 
GST_REGISTRY gstregistry.c:487:gst_registry_add_plugin:<registry0> emitting
plugin-added for filename
"<path-to-gst-plugins>/gstreamer-1.0/libgstopus.so"
GST_REGISTRY gstregistrychunks.c:857:_priv_gst_registry_chunks_load_plugin:
*Added plugin 'libgstopus.so' plugin with 0 features from binary registry*

////////////////////////////////////////////////////////////////////////////////

So, the problem now is that GST_REGISTRY is not registering the plugin
correctly with the few fixes that I did (set GST_PLUGIN_PATH, put
libopus.so.0 in the /ust/lib/ directory)!!

Is the gst-registry has to be rebuild? if so, how that is done? Or any other
ideas how to fix this issue?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Is-Opus-encoder-included-in-Gstreamer-tp4664839p4668755.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list