gstreamer-1.0 appsrc sample example

Sebastian Dröge sebastian at centricular.com
Fri May 13 08:22:16 UTC 2016


On Do, 2016-05-12 at 12:33 +0530, Biswajit Panigrahi wrote:
> Hi Sebastian,
> Yes if i use filesink location in Pipeline like:
> app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert
> ! vpe num-input-buffers=8 !  ducatimpeg4enc bitrate=4000 ! filesink
> location=FinalSRC12.mpeg ", NULL); 
> Then I am able play the FinalSRC12.mpeg without any problem.
> 
> I have tried with avenc_mpeg4 also in pipeline like:
> app->pipeline = gst_parse_launch("appsrc name=mysource ! videoconvert
> ! vpe num-input-buffers=8 !  avenc_mpeg4 bitrate=4000 ! filesink
> location=FinalSRC12.mpeg ", NULL);
> 
> but when I started UDP streaming in vlc by executing vlc test.sdp
> then the vlc gives error like:
> demux error:cannot peak
> no data received in 10s,aborting

Does it work with a GStreamer receiver? Also don't use the vpe element
(or what is it doing?) before avenc_mpeg4.

-- 
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/20160513/00f397d4/attachment.sig>


More information about the gstreamer-devel mailing list