Dynamic pipeline (videosink swapping)

Rob Kramer rob at teegee.cloud
Mon Apr 4 03:06:09 UTC 2022


On 3/4/22 00:32, Nirbheek Chauhan via gstreamer-devel wrote:
> There's a new set of VA-API plugins called "va" in 1.20, which Victor 
> wrote. He is suggesting that you use those instead.
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gst-plugins-bad/sys/va

Ah OK, thanks. I reconfigured without vaapi and with -Dgst-plugins-bad:va=enabled, but from what I can see in the dot-graph, no va element is used anywhere when playing an mpeg2 video. Is it not detecting my video as mpeg2, or did I misconfigure?

Is the dotfile the only way to find out if gstreamer is using a particular module?

Cheers!

     Rob


[laprob] ~/gstreamer/gst-snippets> gst-discoverer-1.0 /var/sol/media/video/ATC.mpg
Analyzing file:///var/sol/media/video/ATC.mpg
Done discovering file:///var/sol/media/video/ATC.mpg

Properties:
   Duration: 0:00:32.664388888
   Seekable: yes
   Live: no
   container #0: MPEG-2 System Stream
     video #1: MPEG-2 Video (Main Profile)
       Stream ID: 7b0cf032d935b69d1a34548094204af7446edf880c6f5f48108d8f82579a7793/e0
       Width: 720
       Height: 576
       Depth: 24
       Frame rate: 25/1
       Pixel aspect ratio: 16/15
       Interlaced: true
       Bitrate: 0
       Max bitrate: 0
     audio #2: MPEG-1 Layer 2 (MP2)
       Stream ID: 7b0cf032d935b69d1a34548094204af7446edf880c6f5f48108d8f82579a7793/c0
       Language: <unknown>
       Channels: 2 (front-left, front-right)
       Sample rate: 48000
       Depth: 32
       Bitrate: 224000
       Max bitrate: 0


[laprob] ~/gstreamer/gst-snippets> gst-inspect-1.0  va
Plugin Details:
   Name                     va
   Description              VA-API codecs plugin
   Filename                 /opt/sol/external/gstreamer/1.20/lib64/gstreamer-1.0/libgstva.so
   Version                  1.20.1.1
   License                  LGPL
   Source module            gst-plugins-bad
   Binary package           GStreamer Bad Plug-ins git
   Origin URL               Unknown package origin

   vadeinterlace: VA-API Deinterlacer
   vah264dec: VA-API H.264 Decoder
   vah265dec: VA-API H.265 Decoder
   vampeg2dec: VA-API Mpeg2 Decoder
   vapostproc: VA-API Video Postprocessor
   vavp9dec: VA-API VP9 Decoder

   6 features:
   +-- 6 elements



More information about the gstreamer-devel mailing list