appsrc, timestamp and filesink

Walter Lucetti myzhar at gmail.com
Tue Feb 7 12:10:28 UTC 2017


Yes, I continue to have problem, but at this point I think that the issue
is with my appsrc code.

I'm not using a "gmainloop" and appsrc runs in the main thread, so I think
that it waits for the GUI events before requesting for a new frame... I'm
going to investigate this way.
I noticed that scaling down the frame before h264 encoding makes the
resulting video a little better.

I would like to find a good example for appsrc getting frame from external
elaboration... but I cannot.

-- 
Walter Lucetti

email: myzhar at gmail.com
web: www.robot-home.it - www.opencv.it
project:  http://myzharbot.robot-home.it

Il 07 Feb 2017 12:32, "Arjen Veenhuizen" <arjen at moonlightmedia.nl> ha
scritto:

If it is still not working I would opt for trying a completely different
approach (just to see if that works).

For example, you could switch the appsrc for a filesrc and use a named pipe
to feed the frames in one-by-one (assuming that your frames are e.g.
RGB/YUV/anything supported by GStreamer). Use and configure a videoparse
element (just after the filesrc) to parse the raw incoming stream to the
appropriate format and width/height/framerate.



--
View this message in context: http://gstreamer-devel.966125.
n4.nabble.com/appsrc-timestamp-and-filesink-tp4681716p4681750.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170207/06e4582b/attachment.html>


More information about the gstreamer-devel mailing list