playback H264 encoded file too fast
jlesquer at gmail.com
Thu Jul 11 08:55:57 UTC 2019
Thanks for your answer. I'd like to understand this better....
I'm already adding timestamps:
g_object_set(G_OBJECT(appsrc), "do-timestamp", TRUE, NULL);
GST_BUFFER_PTS (buffer) = timestamp;
GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale_int (1, GST_SECOND,
timestamp += GST_BUFFER_DURATION (buffer);
What happens with them? are they deleted during H264 encoding?
I'm using a hardware video codec unit, and only allows H264/H265
compression, if the above is true, what would it be the best way to add the
timestamps after encoding?
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel