I’m using Jetson TX2 with the default L4T GStreamer stack (1.14.5). When I run the following pipeline:
gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,width=1920,height=1080,framerate=24/1 ! nvvidconv ! video/x-raw\(memory:NVMM\),format=NV12 ! nvv4l2h264enc insert-sps-pps=true iframeinterval=1 idrinterval=1 bitrate=11292672 ! h264parse ! mpegtsmux alignment=0 ! filesink location=test_align0.ts
the resulting MPEG-TS file always has the first video PTS at 3600 seconds, not zero. This happens regardless of the source or pipeline settings. I have tried using identity ts-offset and other tricks, but nothing changes the initial PTS.
This breaks HLS segmenting and seeking in media servers, since every segment (even after a seek) starts at 3600s.
Is there any way to force mpegtsmux to start PTS at zero, or is this a known bug/limitation on Jetson?
Any workaround or advice would be appreciated.