Follow-up: Incorrect DTS during encoding via nvv encoder

Hi there,

Can we reopen this issue that my colleague posted last year (link here Incorrect DTS during encoding via nvv encoder)

We tested the same min-example code with Jetpack 5.1.1 on a Orin board, and the issue remains. The only difference is we are using the nvv4l2h264enc since the nvv4l2vp9enc is not supported in Orin anymore. Here is one sample log and my device jetson_release output:

/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (15 bytes, dts: none, pts: 0:00:00.000000000, duration: none, offset: 472, offset_end:  487, flags: 00004000 tag-memory , meta: none) 0xffffa4165a20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (7 bytes, dts: none, pts: 0:00:00.000000000, duration: none, offset: 487, offset_end:  494, flags: 00006000 delta-unit tag-memory , meta: none) 0xffffa4165d80
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (8315 bytes, dts: 0:00:00.000000000, pts: 0:00:00.000000000, duration: 0:00:00.100000000, offset: 494, offset_end:  8809, flags: 00002000 delta-unit , meta: none) 0xffffa41656c0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.200000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xaaaad78895a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.300000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xaaaad78896c0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.100000000, duration: none, offset: 8809, offset_end:  8815, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88009000
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.100000000, pts: 0:00:00.100000000, duration: 0:00:00.100000000, offset: 8815, offset_end:  8828, flags: 00002000 delta-unit , meta: none) 0xffff88009360
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.400000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xaaaad78897e0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.200000000, duration: none, offset: 8828, offset_end:  8834, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88009240
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.200000000, pts: 0:00:00.200000000, duration: 0:00:00.100000000, offset: 8834, offset_end:  8847, flags: 00002000 delta-unit , meta: none) 0xffff880095a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.500000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xaaaad7889900
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.300000000, duration: none, offset: 8847, offset_end:  8853, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312240
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.300000000, pts: 0:00:00.300000000, duration: 0:00:00.100000000, offset: 8853, offset_end:  8866, flags: 00002000 delta-unit , meta: none) 0xffff88009ea0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.600000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xaaaad7889a20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.400000000, duration: none, offset: 8866, offset_end:  8872, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312000
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.400000000, pts: 0:00:00.400000000, duration: 0:00:00.100000000, offset: 8872, offset_end:  8885, flags: 00002000 delta-unit , meta: none) 0xffff88312120
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.700000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff880097e0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.500000000, duration: none, offset: 8885, offset_end:  8891, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88009d80
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.500000000, pts: 0:00:00.500000000, duration: 0:00:00.100000000, offset: 8891, offset_end:  8904, flags: 00002000 delta-unit , meta: none) 0xffff880096c0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.800000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88009900
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: 0.172
none, pts: 0:00:00.600000000, duration: none, offset: 8904, offset_end:  8910, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88009480
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.600000000, pts: 0:00:00.600000000, duration: 0:00:00.100000000, offset: 8910, offset_end:  8923, flags: 00002000 delta-unit , meta: none) 0xffff88312480
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.900000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88009a20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.700000000, duration: none, offset: 8923, offset_end:  8929, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312360
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.700000000, pts: 0:00:00.700000000, duration: 0:00:00.100000000, offset: 8929, offset_end:  8942, flags: 00002000 delta-unit , meta: none) 0xffff883126c0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:00.990000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88009b40
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.800000000, duration: none, offset: 8942, offset_end:  8948, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314360
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.800000000, pts: 0:00:00.800000000, duration: 0:00:00.100000000, offset: 8948, offset_end:  8961, flags: 00002000 delta-unit , meta: none) 0xffff88314000
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.080000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88009c60
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.900000000, duration: none, offset: 8961, offset_end:  8967, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314120
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.900000000, pts: 0:00:00.900000000, duration: 0:00:00.100000000, offset: 8967, offset_end:  8980, flags: 00002000 delta-unit , meta: none) 0xffff88314240
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.170000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88312900
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:00.990000000, duration: none, offset: 8980, offset_end:  8986, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312ea0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:00.990000000, pts: 0:00:00.990000000, duration: 0:00:00.100000000, offset: 8986, offset_end:  8999, flags: 00002000 delta-unit , meta: none) 0xffff883127e0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.260000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88312a20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.080000000, duration: none, offset: 8999, offset_end:  9005, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff883125a0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.080000000, pts: 0:00:01.080000000, duration: 0:00:00.100000000, offset: 9005, offset_end:  9018, flags: 00002000 delta-unit , meta: none) 0xaaaad7889360
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.350000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88312b40
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.170000000, duration: none, offset: 9018, offset_end:  9024, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88009b40
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.170000000, pts: 0:00:01.170000000, duration: 0:00:00.100000000, offset: 9024, offset_end:  9037, flags: 00002000 delta-unit , meta: none) 0xaaaad7889a20
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.440000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88312c60
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.260000000, duration: none, offset: 9037, offset_end:  9043, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314ea0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.260000000, pts: 0:00:01.260000000, duration: 0:00:00.100000000, offset: 9043, offset_end:  9056, flags: 00002000 delta-unit , meta: none) 0xffff88314b40
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.630000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88312d80
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.440000000, duration: none, offset: 9056, offset_end:  9062, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314c60
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.350000000, pts: 0:00:01.440000000, duration: 0:00:00.100000000, offset: 9062, offset_end:  9075, flags: 00002000 delta-unit , meta: none) 0xffff88314d80
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.720000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88314480
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.630000000, duration: none, offset: 9075, offset_end:  9081, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314a20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.440000000, pts: 0:00:01.630000000, duration: 0:00:00.100000000, offset: 9081, offset_end:  9094, flags: 00002000 delta-unit , meta: none) 0xaaaad78895a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.810000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff883145a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.810000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff883145a0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (7 bytes, dts: none, pts: 0:00:01.350000000, duration: none, offset: 9113, offset_end:  9120, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312c60
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (838 bytes, dts: 0:00:01.720000000, pts: 0:00:01.350000000, duration: 0:00:00.100000000, offset: 9120, offset_end:  9958, flags: 00002000 delta-unit , meta: none) 0xffffa41655a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:01.900000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff883146c0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.810000000, duration: none, offset: 9958, offset_end:  9964, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff8801c480
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.810000000, duration: none, offset: 9958, offset_end:  9964, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff8801c480
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.810000000, pts: 0:00:01.810000000, duration: 0:00:00.100000000, offset: 9964, offset_end:  9977, flags: 00002000 delta-unit , meta: none) 0xffff8801c120
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:01.900000000, duration: none, offset: 9977, offset_end:  9983, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff8801c240
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:01.900000000, pts: 0:00:01.900000000, duration: 0:00:00.100000000, offset: 9983, offset_end:  9996, flags: 00002000 delta-unit , meta: none) 0xffff8801c360
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.100000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff88314900
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:02.000000000, duration: none, offset: 9996, offset_end:  10002, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff8801c000
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.000000000, pts: 0:00:02.000000000, duration: 0:00:00.100000000, offset: 10002, offset_end:  10015, flags: 00002000 delta-unit , meta: none) 0xffff88009c60
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.200000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801c5a0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:02.100000000, duration: none, offset: 10015, offset_end:  10021, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88312900
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.100000000, pts: 0:00:02.100000000, duration: 0:00:00.100000000, offset: 10021, offset_end:  10034, flags: 00002000 delta-unit , meta: none) 0xffff88312a20
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.300000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801c6c0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:02.200000000, duration: none, offset: 10034, offset_end:  10040, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff883147e0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.200000000, pts: 0:00:02.200000000, duration: 0:00:00.100000000, offset: 10040, offset_end:  10053, flags: 00002000 delta-unit , meta: none) 0xffff88009900
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.400000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801c7e0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.500000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801c900
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.500000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801c900
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.600000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801ca20
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.600000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801ca20
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.600000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801ca20
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:02.500000000, duration: none, offset: 10091, offset_end:  10097, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff8801cb40
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.500000000, pts: 0:00:02.500000000, duration: 0:00:00.100000000, offset: 10097, offset_end:  10110, flags: 00002000 delta-unit , meta: none) 0xffff88312d80
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.700000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801e120
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (6 bytes, dts: none, pts: 0:00:02.600000000, duration: none, offset: 10110, offset_end:  10116, flags: 00006000 delta-unit tag-memory , meta: none) 0xffff88314480
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.600000000, pts: 0:00:02.600000000, duration: 0:00:00.100000000, offset: 10116, offset_end:  10129, flags: 00002000 delta-unit , meta: none) 0xffff883145a0
/GstPipeline:pipeline0/GstIdentity:identity1: last-message = chain   ******* (identity1:sink) (13 bytes, dts: 0:00:02.600000000, pts: 0:00:02.600000000, duration: 0:00:00.100000000, offset: 10116, offset_end:  10129, flags: 00002000 delta-unit , meta: none) 0xffff883145a0
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.900000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801e360
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   ******* (identity0:sink) (2080000 bytes, dts: none, pts: 0:00:02.900000000, duration: none, offset: -1, offset_end: -1, flags: 00000000 , meta: none) 0xffff8801e360
Model: NVIDIA Orin NX Developer Kit - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[3]: 25W
Hardware:
 - P-Number: p3767-0000
 - Module: NVIDIA Jetson Orin NX (16GB ram)
Platform:
 - Distribution: Ubuntu 20.04 focal
 - Release: 5.10.104-tegra
jtop:
 - Version: 4.2.6
 - Service: Active
Libraries:
 - CUDA: 11.4.315
 - cuDNN: 8.6.0.166
 - TensorRT: 8.5.2.2
 - VPI: 2.2.7
 - Vulkan: 1.3.204
 - OpenCV: 4.2.0 - with CUDA: NO

Hi,
Please try 01_video_encode sample and see if you observe the issue. The issue looks to be in gstreamer and would like to clarify this.

And please use 5.1.3 if you can upgrade.

Hi,
Here is the output from 01_video_encode sample; we can view the encoded h264 file using the 00_video_decode sample. Does this output seem normal?

I have yet to upgrade to 5.1.3 yet, but will try

Creating Encoder in blocking mode 
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 4 
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
875967048
842091865
H264: Profile = 66, Level = 51 
NVMEDIA: Need to set EMC bandwidth : 846000 
NVMEDIA_ENC: bBlitMode is set to TRUE 
Could not read complete frame from input file
File read complete.
Got 0 size buffer in capture 
App run was successful

Hi,
The default 01_video_encode sample does not print out timestamps. Please check the option --copy-timestamp and add a patch to test your use-case.

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