28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
WHAT IT IS
|
|
----------
|
|
|
|
gst-plugin-amlvconv is a video format convert/resize/rotate Gstreamer plugin.
|
|
It's using Ge2D Hardware.By default, nv12 format is used for negotiation and processing
|
|
example:
|
|
gst-launch-1.0 -q filesrc location=/data/1920x1080x60_mpeg.ts ! amltsdemux ! mpegvideoparse ! amlv4l2mpeg4dec ! amlvconv ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! amlvenc ! h265parse ! mpegtsmux ! filesink location=/data/test.ts
|
|
----------
|
|
A brief introduction to several properties in amlvconv:
|
|
|
|
drawline: 0: disable; 1: enable
|
|
flags: readable, writable
|
|
Boolean. Default: true
|
|
Enabled by default. This function processes the decoded YUV in the i stream, extracting odd lines for scaling and smoothing the image.
|
|
|
|
inyuv: 0: disable; 1: enable
|
|
flags: readable, writable
|
|
Boolean. Default: false
|
|
Disabled by default. To debug the decoded YUV, set inyuv=TRUE. This will generate /data/dump_conv_in.yuv, which can be pulled out to verify the YUV.
|
|
example:
|
|
gst-launch-1.0 *** ! amlvconv inyuv=TRUE ! ***
|
|
|
|
outyuv: 0: disable; 1: enable
|
|
flags: readable, writable
|
|
Boolean. Default: false
|
|
Disabled by default. To debug the amlvconv YUV, set outyuv=TRUE. This will generate /data/dump_conv_out.yuv, which can be pulled out to verify the YUV.
|
|
example:
|
|
gst-launch-1.0 *** ! amlvconv outyuv=TRUE ! *** |