Environment
Platform
C3V-W
C3V-S
System
Yocto
Ubuntu
Kernel Config
Open the V4L2 hardware codec driver.
Device Drivers > Multimedia support > Media drivers > Video hardware codec
GStreamer
Version 1.20.1
Use patch
Additional Plugins
Copy it to <path>/gstreamer-1.0/ on the C3V platform after install the GStreamer.
Yocto
The user should know how to build the GStreamer package in the Buildroot and use it in the C3V Yocto system first.
Buildroot menuconfig
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
Ubuntu(Recommended)
Download the GStreamer v1.20.1 directly on the platform and compile and install it. Please go here to see the details.