We currently have an application on the TDA4EVM that encodes NV12 frames to H264 using a single output/capture buffer.
We would like to use 2, but according to the V4L2 documentation, timestamps must be used when using multiple buffers as there is no guaranteed relationship between when an output buffer is queued and which frame is contained in the next dequeued capture buffer. However, when we try to set the timestamps for the output buffer, the resulting timestamps for the dequeued capture buffer is always 0.
A previous forum post (https://e2e.ti.com/support/processors-group/processors/f/processors-forum/883931/tda4-codec-flags-v4l2_buf_flag_timestamp_copy-in-struct-v4l2_buffer-not-work/3273214?tisearch=e2e-sitesearch&keymatch=v4l2%2525252520timestamp#3273214) suggests that the timestamp functionality is not supported. However, that was 3 years ago. Has any support been added? Or is there another way to guarantee a capture buffer corresponds to some output buffer?