Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/next/external/packages/bsp/rk3588/etc/profile.d/gst.sh
Views: 3963
export GST_GL_API=gles21export GST_GL_PLATFORM=egl23export GST_DEBUG_NO_COLOR=14export GST_INSPECT_NO_COLORS=156# Skip vstride aligning, which is not required when using RKVENC.7# export GST_MPP_ENC_UNALIGNED_VSTRIDE=189# Convert to NV12(using RGA) when output format is NV12_10.10# export GST_MPP_DEC_DISABLE_NV12_10=11112# Convert to NV12(using RGA) when output format is not NV12.13# export GST_MPP_VIDEODEC_DEFAULT_FORMAT=NV121415# Try to use ARM AFBC to get better performance, but not work for all sinks.16# export GST_MPP_VIDEODEC_DEFAULT_ARM_AFBC=11718# Use below env variables to configure kmssink plane ZPOS.19# export KMSSINK_PLANE_ZPOS=020# export KMSSINK_PLANE_ON_TOP=121# export KMSSINK_PLANE_ON_BOTTOM=12223# There's an extra vsync waiting in kmssink, which is only needed for BSP 4.424# kernel(due to ecac2033831e FROMLIST: drm: skip wait on vblank for set plane).25# Skip it would bring better performance with frame dropping.26# export KMSSINK_DISABLE_VSYNC=12728# The waylandsink is async by default, which allows frame dropping.29# export WAYLANDSINK_SYNC_FRAME=13031# Put video surface above UI window in waylandsink.32# export WAYLANDSINK_PLACE_ABOVE=13334# Preferred formats for V4L235export GST_V4L2_PREFERRED_FOURCC=NV12:YU12:NV16:YUY23637# Preferred formats for videoconvert38export GST_VIDEO_CONVERT_PREFERRED_FORMAT=NV12:NV16:I420:YUY23940# Using libv4l2 for V4L241export GST_V4L2_USE_LIBV4L2=14243# Default device for v4l2src44export GST_V4L2SRC_DEFAULT_DEVICE=/dev/video-camera04546# Available RK devices for v4l2src47export GST_V4L2SRC_RK_DEVICES=_mainpath:_selfpath:_bypass:_scale4849# Max resolution for v4l2src50export GST_V4L2SRC_MAX_RESOLUTION=3840x21605152# Preferred sinks for playbin3(autoaudiosink/autovideosink) and playbin.53# export AUTOAUDIOSINK_PREFERRED=alsasink54# export AUTOVIDEOSINK_PREFERRED=waylandsink55# export PLAYBIN2_PREFERRED_AUDIOSINK=alsasink56# export PLAYBIN2_PREFERRED_VIDEOSINK=waylandsink5758# Try RGA 2D accel in videoconvert, videoscale and videoflip.59# NOTE: Might not success, and might behave different from the official plugin.60# export GST_VIDEO_CONVERT_USE_RGA=161# export GST_VIDEO_FLIP_USE_RGA=162export GST_MPP_NO_RGA=16364# Default rotation for camerabin2:65# clockwise(90)|rotate-180|counterclockwise(270)|horizontal-flip|vertical-flip66# export CAMERA_FLIP=clockwise67if [ $CAMERA_FLIP ]; then68CAMERA_FILTER="videoflip method=$CAMERA_FLIP"69export CAMERABIN2_PREVIEW_FILTER=$CAMERA_FILTER70export CAMERABIN2_IMAGE_FILTER=$CAMERA_FILTER71export CAMERABIN2_VIDEO_FILTER=$CAMERA_FILTER72export CAMERABIN2_VIEWFINDER_FILTER=$CAMERA_FILTER73fi747576