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.

SK-AM62A-LP: How to do H.264 DECODE/ENCODE test

Part Number: SK-AM62A-LP

Hi Expert,

The customer wants to do H.264 DECODE/ENCODE test

Is there any test example for H264 encoder/decoder on EVM?

Is there a test case that matches the situation below for reference?

Thanks

Daniel

  • Hi Daniel,

    If you are using the latest SDK release on Linux, then you can use the below GStreamer Pipeline for H.264 Encode/Decode with camera capture:

    <Camera Capture -> Encode -> File>

    gst-launch-1.0 -v v4l2src device=/dev/video2 io-mode=dmabuf-import num-buffers=1000 ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! \
    tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/imx219/dcc_viss_10b.bin sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a_10b.bin format-msb=9 ! \
    video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
    v4l2h264enc output-io-mode=dmabuf-import ! \
    filesink location=out1.264

    <File  -> Decode -> Display>

    gst-launch-1.0 -v filesink location=out1.264 ! h264parse ! v4l2h264dec capture-io-mode=dmabuf ! kmssink driver-name=tidss

    Let me know if this helps.

    Best Regards

    Suren