gstreamer - SynoCommunity/spksrc GitHub Wiki

Documentation reference

Basic Testing

Plugin listing

To show the list of codec plugins available:

$ /var/packages/gstreamer/target/bin/gst-inspect-1.0
accurip:  accurip: AccurateRip(TM) CRC element
adder:  adder: Adder
adpcmdec:  adpcmdec: ADPCM decoder
adpcmenc:  adpcmenc: ADPCM encoder
aiff:  aiffmux: AIFF audio muxer
aiff:  aiffparse: AIFF audio demuxer
alaw:  alawdec: A Law audio decoder
alaw:  alawenc: A Law audio encoder
alpha:  alpha: Alpha filter
...

To show details of a specific codec plugin (ex: specific to x86_64):

$ /var/packages/gstreamer/target/bin/gst-inspect-1.0 svthevcenc
Factory Details:
  Rank                     primary (256)
  Long-name                svthevcenc
  Klass                    Codec/Encoder/Video
  Description              Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder)
  Author                   Yeongjin Jeong <[email protected]>

Plugin Details:
  Name                     svthevcenc
  Description              svt-hevc encoder based H265 plugins
  Filename                 /var/packages/gstreamer/target/lib/gstreamer-1.0/libgstsvthevcenc.so
  Version                  1.20.5
  License                  GPL
  Source module            gst-plugins-bad
  Source release date      2022-12-19
  Binary package           GStreamer Bad Plug-ins source release
  Origin URL               https://synocommunity.com

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstVideoEncoder
                         +----GstSvtHevcEnc

Implemented Interfaces:
  GstPreset
...

Get media information

$ /var/packages/gstreamer/target/bin/gst-discoverer-1.0 https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm -v
Analyzing https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm
Done discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm

Properties:
  Duration: 0:00:52.250000000
  Seekable: yes
  Live: no
  Tags: 
      datetime: 2012-04-11T16:08:01Z
      container format: Matroska
      language code: en
      title: Audio
      application name: ffmpeg2theora-0.24
      encoder: Xiph.Org libVorbis I 20090709
      encoder version: 0
      audio codec: Vorbis
      nominal bitrate: 80000
      bitrate: 80000
      video codec: VP8 video
  container #0: video/webm
    Tags:
      datetime: 2012-04-11T16:08:01Z
      container format: Matroska
    
    audio #1: audio/x-vorbis, channels=(int)2, rate=(int)48000, streamheader=(buffer)< 01766f72626973000000000280bb000...