How to debug/fix running error when use rtph264pay?
Psychesnet Hsieh
psychesnet at gmail.com
Fri Jul 31 08:39:42 UTC 2020
Hi Gotsring,
I still have a question on rtph264pay after checking the sink's capability.
For rtph264pay,
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-h264
stream-format: avc
alignment: au
video/x-h264
stream-format: byte-stream
alignment: { (string)nal, (string)au }
The input of rtph264pay could be avc:au or byte-stream:nal/au.
Since my H264 frame is coming from ISP, each h264 frame has complete NAL
header.
And at each callback, I will put a complete H264 frame to pipeline.
So, I try to set appsrc's capability with byte-stream:au without h264parse,
I can see h264 frame can be display on server side.
But, the appsrc program keep showing
(process:1113): GStreamer-CRITICAL **: 08:21:56.048:
gst_segment_to_running_time: assertion 'segment->format == format' failed
Questions are
1. set appsrc's capability with byte-stream:au without h264parse, is it
make sense?
2. if 1 is yes, how can I fix critical issue?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200731/b3d4662d/attachment.htm>
More information about the gstreamer-devel
mailing list