gstreamer-1.0 appsrc sample example
Sebastian Dröge
sebastian at centricular.com
Wed May 11 10:15:19 UTC 2016
On Mi, 2016-05-11 at 15:03 +0530, Biswajit Panigrahi wrote:
> Hi Sebastian,
> Thank a lot for debugging .
>
> Now both fakesink as well as filesink location=testSRC1.mpeg in
> appsrc works fine.
> But while streaming over udp ,its getting failed.
>
> app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert
> ! vpe num-input-buffers=8 ! ducatimpeg4enc bitrate=4000 ! queue !
> rtpmp4vpay config-interval= 10 pt=96 ! udpsink host=192.227.1.20
> port=5000 ", NULL);
>
> I am getting continuous message like :
> (GST_Final:1639): GStreamer-CRITICAL **: gst_segment_to_running_time:
> assertion 'segment->format == format' failed
>
> Any idea what could be the root couse for this.
> I have attached the complete code also in this mail.
Your source (or the encoder) is not producing a segment in TIME format.
For your source there would be the "format" property on appsrc.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160511/a8d00791/attachment.sig>
More information about the gstreamer-devel
mailing list