Questions related to running the 14_multivideo_decode sample

Hello,

https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_14_multivideo_decode.html

  1. How can I output multiple input sources to a single output file?

  2. Is it possible to output multiple video sources as a single output file with multiple tiles attached?

  3. How can I change the format of the output file to mpeg4?

Thank you.

Hi,
The sample demonstrates only video decoding. For compositing into single video plane and then encode, a quick solution is to use DeepStream SDK. There is implementation in deepstream-app. Please check
NVIDIA Metropolis Documentation
DeepStream Reference Application - deepstream-app — DeepStream 6.1.1 Release documentation

If you don’t need inferencing in your use-case, you can modify config file to disable it and then get a clean encoded video file.

1 Like

Hello,

I need a sample that includes the features in sample 14, including rendering. Where can I get composite source samples?

Thank you.

Hello, @DaneLLL

Can I composite 64~128 channels by referring to the deepstream app mentioned above?

Thank you.

Hi,
You can call NvbufferComposite() in jetson_multimedia_api. And there is constraint in maximum video planes:

/**
 * Defines the maximum number of input video frames that can be used for composition.
 */
#define MAX_COMPOSITE_FRAME 16

For Jetson Nano/TX1, the constraint is 8. Please check
[mmapi] how many input buffer is supported by function "NvBufferComposite" - #5 by DaneLLL

1 Like

Hello, @DaneLLL

Is there a way to display 64~128 channels in an indirect way?

Thank you.

Hi,
For using hardware VIC engine, you would need to call NvBufferComposite() for multiple times if source number is more than the constraint. Or you may use software converter such as compositor plugin in gstreamer.

1 Like

Hello, @DaneLLL

I’m trying to composite 64 channels on Jetoson nano. As shown in the figure below, if NvBufferComposite is called 9 times in a bundle of 8 channels,
Is it possible to composite 64 channels?

Thank you.

Hi,
This looks good. For calling NvBufferComposite(), please refer to code in the sample:

/usr/src/jetson_multimedia_api/samples/13_multi_camera/

Ideally the solution should work but uncertain if it can achieve target frame rate. Please also refer to this topic to run the engine at maximum clock:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.