Codec issue on Jetson Orin NX

We are working in Python to produce videos. However, while we can open the video files in python, we can’t open them in any other program (that we have tested). FYI, I am not the software engineer for the project but am asking this forum to see if there might be a simple fix. Thank you.

Here is a snippet of our code:

video_frame_res = (2560, 1440)
fourcc = cv2.VideoWriter_fourcc(*‘mp4v’)
output_filename = “output_{}.mp4”.format(time.strftime(“%Y%m%d_%H%M%S”))
out = cv2.VideoWriter(output_filename, fourcc, 30.0, video_frame_res)

Hello,

Can you please provide the Jetson model that you are using? I can then place this topic in the correct forum.

Thanks,
Tom

Jetson Orin NX Developer Kit
What would be the correct forum?

Moving this topic to the Orin NX forum.

Thank you Tom. I reposted in correct forum. Sorry for the mistake.

What do I do with this post?

No need to repost, as this topic has been moved to the correct category.

image

Duplicated with Codex Issue on Jetson Orin NX Developer Kit - Jetson & Embedded Systems / Jetson Orin NX - NVIDIA Developer Forums

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