Nvv4l2decoder drop-frame-interval=2 will got half time of the video

gst-launch-1.0 filesrc location=nvidia.mp4 ! qtdemux ! h264parse ! nvv4l2decoder drop-frame-interval=2 ! …interval… ! filesink location=D4OSD.mp4

**• Hardware Platform (Jetson / GPU)**Jetson
• DeepStream Version5.1
**• JetPack Version (valid for Jetson only)**NX
This mp4 FPS is 24;How can I get the same time video with FPS=12?

gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4 ! qtdemux ! h264parse ! nvv4l2decoder drop-frame-interval=2 ! queue ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=trans.mp4

I know how to get mp4 ,but the length of the generated mp4 file is half of the original。I want to get mp4 files of the same length(FPS should is 12)

do you mean time length (duration) ?

Yes

The duration is the same. I can’t reproduce your problem.

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