Copy timestamps broken jetson thor encoder

Hi. I’am using L4T 38.2.0.

I need to encode video frames and save timestamps for it. I found that my application isn’t working now - encoded frame timestamp is always 0.0. I added logging into 01_video_encode and issue reproduced.

nvidia@jetson:/usr/src/jetson_multimedia_api/samples/01_video_encode$ sudo ./video_encode ~/test.nv12 1920 1080 H264 ~/test.h264 --stats --copy-timestamp 1 --blocking-mode 0
Creating Encoder in non-blocking mode 
Opening in O_NONBLOCKING MODE 
875967048
842091865
Starting Device Poll Thread 
Created the PollThread and Encoder Thread 
v4l2_buf queue ts 1.33333
v4l2_buf queue ts 1.66666
v4l2_buf queue ts 1.99999
v4l2_buf queue ts 1.133332
v4l2_buf queue ts 1.166665
v4l2_buf queue ts 1.199998
v4l2_buf queue ts 1.233331
v4l2_buf queue ts 1.266664
v4l2_buf queue ts 1.299997
v4l2_buf queue ts 1.333330
v4l2_buf queue ts 1.366663
File read complete.
capture_plane.dqBuffer: index 0 0.0
capture_plane.dqBuffer: index 1 0.0
capture_plane.dqBuffer: index 2 0.0
capture_plane.dqBuffer: index 3 0.0
capture_plane.dqBuffer: index 4 0.0
capture_plane.dqBuffer: index 5 0.0
capture_plane.dqBuffer: index 0 0.0
capture_plane.dqBuffer: index 1 0.0
capture_plane.dqBuffer: index 2 0.0
capture_plane.dqBuffer: index 3 0.0
capture_plane.dqBuffer: index 4 0.0
Got 0 size buffer in capture 
Capture plane dequeued 0 size buffer 
----------- Element = enc0 -----------
Total Profiling time = 0.015402
Average FPS = 649.266
Total units processed = 11
Average latency(usec) = 11716
Minimum latency(usec) = 7839
Maximum latency(usec) = 15528
-------------------------------------
App run was successful
nvidia@jetson:/usr/src/jetson_multimedia_api/samples/01_video_encode$

Is it possible to fix?

Hi,
This is known and we will have it fixed in next Jetpack 7.1.