stereoboy / gstreamer_samples

MIT License
0 stars 0 forks source link

couldn't render frame when calling textoveraly/timeoverlay after tcpclientsrc #1

Open stereoboy opened 1 year ago

stereoboy commented 1 year ago
gst-launch-1.0 -tv tcpclientsrc host=$HOST port=5000 ! jpegdec ! textoverlay text="remote" ! autovideosink
0:00:04.100412697   244 0x5583b3201640 WARN         basetextoverlay gstbasetextoverlay.c:3012:gst_base_text_overlay_video_chain:<fps-display-text-overlay> buffer without timestamp, discarding

https://github.com/GStreamer/gst-plugins-base/blob/master/ext/pango/gstbasetextoverlay.c#L2740

  if (!GST_BUFFER_TIMESTAMP_IS_VALID (buffer))
    goto missing_timestamp;
stereoboy commented 1 year ago

when calling videorate... there are 2 caeses

stereoboy commented 1 year ago
gst-launch-1.0 -tv tcpclientsrc host=$HOST port=5000 ! application/x-rtp-stream,encoding-name=JPEG ! rtpstreamdepay ! rtpjpegdepay ! jpegdec ! videorate ! autovideosink
0:00:02.714111175   343 0x56324dbad300 WARN               videorate gstvideorate.c:1789:gst_video_rate_transform_ip:<videorate0> Got buffer with GST_CLOCK_TIME_NONE timestamp, discarding it