Recording a video using PX2

Hello,
I am currently using the PX2 and want to record a video. I have been trying the command ipp_capture_encode. However,the following error is displayed.
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: TEGRA B
TEGRA_FPDL: TEGRA B
TEGRA_A_HDMI: MXM
TEGRA_B_HDMI: MXM
TEGRA_PCI: TEGRA B
FAN_STATE: UNKNOWN


***** aurix state *****
CAM_PWR_ON: 0x2
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


nvmedia: ERROR: SetupVideoLink: Can’t detect config link(0)
nvmedia: ERROR: Init: Failed to setup video link
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN


nvmedia: ERROR: StagingInit: Failed to initialize ISC devices
nvmedia: ERROR: StagingInit: Failed
nvmedia: ERROR: main: Error in IPPInit

Could you please suggest a way to make it work?

Dear raghavhrishi16,

Can I get you’re using SW version(SDK and Aurix FW)?
If not the latest version, please update SDK and Aurix FW)Thanks.

Hello,
I was able to capture the video.
Is it possible to capture using two groups of cameras at the same time, using one instruction/command?

Dear raghavhrishi16,

Did you use DriveWorks recorder tool to capture?
You can capture several cameras at the same time. Thanks.

Hello,
I tried using the ipp_capture_encode. It wouldn’t go past an aggregate of 4.I couldn’t fit it in one command line statement. Is there a way to simultaneously record images from cameras that are from different groups using ipp_capture_encode?

Dear raghavhrishi16,

Did you review below link for nvmipp_capture_encode?

http://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FMultimedia%2Fnvmedia_nvmvid_cap_enc.html%23wwpID0E0YB0HA

http://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FMultimedia%2Fnvmedia_nvmvid_cap_enc.html%23wwpID0E0SB0HA

Yes, I did. But that worked for 4 simultaneous outputs. I suppose the documentation uses the vc_enable. If I had to go for more than 4(essentially from different groups also),it didn’t seem to work.

I would like to use both the groups simultaneously using nvmipp_capture_encode. Would it be possible with the given instruction set?
It would be great if you could suggest a way to do this.

Hello,
Can I simultaneously view multiple videos on a split screen like setting at the same time using Nvmedia?

Dear raghavhrishi16,

I believe you’d like to do the following:

  1. Exercise more than one camera group (say camera port AB and CD) simultaneously
  2. View the camera feed on monitor using a kind of split screen (grid)

Unfortunately, nvmipp_capture_encode cannot exercise more than one camera groups simultaneously. If more than one camera groups are to be exercised, then you should launch multiple instances of the application (one for each camera group)
Also, it is not possible to view multiple camera feeds on monitor simultaneously. The application will always display the first camera on the monitor.