Hi Expert,
Can AM62A3 support hw H264 codec 4K ENCODE /DECODE at the same time?
If AM62A3 is doing H264 Video Encode/Decode at the same time, what is the approximate resolution and fps?
Thanks
Daniel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Expert,
Can AM62A3 support hw H264 codec 4K ENCODE /DECODE at the same time?
If AM62A3 is doing H264 Video Encode/Decode at the same time, what is the approximate resolution and fps?
Thanks
Daniel
Hi Daniel,
You should be able to decode and encode H.264 4K@30fps easily on AM62Ax.
Also please see section 3.7.11 in the below link to increase the cma in order to have 4k decode and encode working together.
In my case, I increased the cma to 1000M and was able to run this pipeline successfully:
gst-launch-1.0 -v filesrc location=jellyfish-4k30-h264.mkv ! matroskademux ! h264parse ! v4l2h264dec capture-io-mode=4 ! v4l2h264enc output-io-mode=5 ! filesink location=jellyfish.264
Hope this helps.
Best Regards,
Suren
Hi Suren
The Encode/Decode application will need Real-Time.
(it will be similar to the following application, which is to receive and send video streaming at the same time)
Video Streaming use-caseServer (imx219 rawcamera->isp->encode->streamout) : target $gst-launch-1.0 v4l2src device=/dev/video2 io-mode=dmabuf ! video/x-bayer,width=1920,height=1080, framerate=30/1, format=bggr ! tiovxisp sensor-name=SENSOR_SONY_IMX219_RPI dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin sink_0::device=/dev/v4l-subdev2 ! video/x-raw,format=NV12 ! v4l2h264enc output-io-mode=dmabuf-import extra-controls="controls,h264_i_frame_period=60" ! rtph264pay ! udpsink port=5000 host=<ip_address> Client (streamin->decode->display : target $gst-launch-1.0 -v udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtpjitterbuffer latency=50 ! rtph264depay ! h264parse ! v4l2h264dec capture-io-mode=dmabuf ! queue ! fpsdisplaysink text-overlay=false name=fpssink video-sink="kmssink driver-name=tidss sync=true show-preroll-frame=false" sync=true -v
However, it is mentioned in the document that depending on the resolution, not all can be Real Time
Our goal is to achieve at least 1080p30 Encode/Decode Real-Time
Will AM62A3 meet my goals?
Thanks
Daniel
Hi Daniel,
Video Streaming is possible on AM62A3. 4k@30fps encoding and decoding is possible as I mentioned earlier, so streaming should also be possible, provided camera sensor can throw 4K data.
1080p30 streaming (Encode + Decode) is definitely possible in real-time.
Hope this helps.
Best Regards,
Suren