PROCESSOR-SDK-J721S2: How to bypass LDC and directly save file in multicamcodec demo

Part Number: PROCESSOR-SDK-J721S2
Other Parts Discussed in Thread: TDA4VM

Tool/software:

Hello,

I am working with the multicamcodec demo on J721S2 (TDA4VM) platform.
Currently, the pipeline is built as Capture → LDC → Scaler → Encoder.

However, I found that in this demo the Scaler module is not working correctly. As a temporary solution, I want to bypass LDC (and Scaler), and directly save the captured frames to file.

Could you please let me know:

  1. How to correctly configure multicamcodec to skip the LDC node?

  2. If LDC is skipped, can the capture output (raw_image_arr) be connected directly to the encoder input?

  3. Any code example or recommended changes in app_create_graph() to support this flow?

Thank you very much for your support.

  • Hi Liu,

    You can bypass scaler node by setting en_downscale config to 0.

    You may need ldc because it is used for color conversion, Which camera are you using and what is your camera output format, are you using viss node.

    If LDC is skipped, can the capture output (raw_image_arr) be connected directly to the encoder input?

    codec only accepts nv12 image format so you cannot give raw_image to codec.

    Regards,
    Gokul

  • Hi Gokul,

    Thank you for the clarification. That makes sense.

    Best regards,
    Liu