hevc_nvenc pts < dts error on some time_bases
14 Jan
2025
14 Jan
'25
5:33 a.m.
Using ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers I keep getting this error: [mp4 @ 0x60f656ba95c0] pts (1000) < dts (1997) in stream 0 If in my C++ code I try to encode images in timebase 1/60000, framerate 60000/1001 or 60000/1000 I modified the doc/examples/mux.c to force hevc_nvenc and timebases (patch attached) If I use 1/60 timbase and 60/1 frame_rate, it all works fine. ffmpeg command line seems to be able to do it at 59.94 with -vf fps or forcing with -r Using libx264 or libx265 works fine. Any ideas? Thanks Louis
671
Age (days ago)
671
Last active (days ago)
0 comments
1 participants
participants (1)
-
Louis Letourneau