[QUESTION] Syncing frame timestamps when forwarding RTSP feed to Kinesis Video Streams using GStreamer #1013
-
Hi everyone, I'm trying to forward an RTSP feed from Linux to AWS Kinesis Video Streams using GStreamer and the kvssink element. I'd like to mark each frame with a synchronized timestamp so that I can extract images using the GetMediaForFragmentList API more effectively. Here's my current GStreamer pipeline: gst-launch-1.0 rtspsrc location=<RTSP_URL> short-header=TRUE ! rtph264depay ! h264parse ! identity sync=TRUE ! kvssink stream-name=<YOUR_STREAM_NAME> access-key=<YOUR_AWS_ACCESS_KEY> secret-key=<YOUR_AWS_SECRET_KEY> aws-region=<AWS_REGION> I'm using the identity element with the sync property set to TRUE to ensure the synchronization of timestamps. However, I'm not sure if this is the best approach or if there's a more efficient way to do this. I'd appreciate any suggestions or guidance on how to correctly mark each frame with a synchronized timestamp when using GStreamer and kvssink for forwarding the RTSP feed to AWS Kinesis Video Streams. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I would like to understand the problem better. What issue are you facing without using synchronized timestamps? Are you facing any issues due to network? Given you are using an RTSP source, maybe you can try |
Beta Was this translation helpful? Give feedback.
@Prajwal-Koirala ,
I would like to understand the problem better. What issue are you facing without using synchronized timestamps? Are you facing any issues due to network? Given you are using an RTSP source, maybe you can try
ntp-sync
, but without understanding the problem statement, it would be difficult to provide targetted suggestions.