timestamp issue during save h265 encoded into file
Борис
bumatov at gmail.com
Thu Aug 22 13:24:25 UTC 2019
I'm sending video using next pipeline:
appsrc name=vsrc ! videoconvert !
video/x-raw,format=I420,width=1920,height=1080,framerate=60/1 ! omxh265enc
bitrate=20000000 control-rate=2 iframeinterval=30 preset-level=3 !
rtph265pay name=pay0 pt=96
to receive i use this pipeline:
rtspsrc location=rtsp://10.20.66.1:5000/vd latency=0
protocols=GST_RTSP_LOWER_TRANS_TCP
! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay !
h265parse ! queue
! omxh265dec ! videoconvert ! appsink sync = false
and everything works ok, but sometimes i need to save raw h265 without decode it
for this purpose i try to use next pipeline:
gst-launch-1.0 --gst-debug-level=3 rtspsrc
location=rtsp://10.20.55.68:4510/vd
latency=0 protocols=GST_RTSP_LOWER_TRANS_TCP !
application/x-rtp,encoding-name=H265,payload=96
! rtph265depay ! h265parse ! queue ! matroskamux ! filesink
location=test.mkv -e sync=false async=false
but it gives me something terrible in result (watch video below):
https://drive.google.com/open?id=1GsLW9WEWi619YRDZw7ndmd43Nlyq4QSm
during stream i getting next warnings:
0:00:12.295262969 25141 0x7f7c045990 FIXME rtph265depay
gstrtph265depay.c:1150:gst_rtp_h265_depay_process:<rtph265depay0>
Assuming DONL field is not present
0:00:12.295914963 25141 0x7f7c045990 FIXME h265parse
gsth265parse.c:1639:gst_h265_parse_parse_frame:<h265parse0> Implement
timestamp/duration interpolation based on SEI message
and it seems to me that video corrupted due to this warnings, but i
don't understand
how to set correct timestamp, now for this purpose i use:
g_object_set (appsrc, "do-timestamp", true, NULL);
but is i can see, it's incorrect approach, so how can i fix this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190822/306276ab/attachment.html>
More information about the gstreamer-devel
mailing list