Platform
C3V-W/C3V-S
System
Yocto
The user should know how to build the GStreamer package in the Buildroot and use it in the C3V Yocto system.
Ubuntu
Download GStreamer v1.20.1 directly on the platform and compile and install it directly.
Both of the above require the use of the following patch file:
Gstreamer Package
GStreamer
[*] gstreamer 1.x
-*- enable unit test libraries
[*] enable command-line parser
[*] enable tracing subsystem
[*] enable gst-debug trace support
[*] enable plugin registry
[*] install tools
gst1-plugins-base
-*- gst1-plugins-base --->
-*- app
[*] audioconvert (mandatory for audio playback)
[*] audiorate
[*] audiotestsrc
[*] compositor
[*] encoding
[*] videoconvert
[*] audioresample (mandatory for audio playback)
[*] rawparse
-*- typefind
[*] videotestsrc
[*] videoscale (mandatory for video playback)
[*] alsa (mandatory for audio playback)
[*] ogg (.ogg audio/video)
[*] opus
[*] pango font renderer
gst1-plugins-good
-*- gst1-plugins-good --->
[*] jpeg (JPEG support)
[*] audioparsers
[*] autodetect
[*] interleave
[*] isomp4
[*] matroska
[*] multifile
[*] wavenc
[*] wavparse (.wav audio)
[*] v4l2
[*] v4l2-probe (m2m)
gst1-plugins-bad
[*] gst1-plugins-bad --->
[*] jpegformat
[*] videofilters
[*] videoframe_audiolevel
[*] videoparsers
[*] videosignal
[*] fdk-aac
[*] openh264
[*] opus
[*] v4l2codecs
The above lists the options that need to be configured for GStreamer in the Buildroot, but if you are compiling directly on Ubuntu, normally these are selected by default.
elements
This is a customer library and should be copied to <path>/gstreamer-1.0/ on the C3V platform.
Kernel Config
Open the V4L2 hardware codec driver.
Device Drivers > Multimedia support > Media drivers > Video hardware codec