what does this mean "
appsrc in push vs pull mode" as spoken of in the thread in the article
James _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi it means that there are two methods of getting the data into your pipeline via appsrc. One is that you use the need-data signals. This is pull mode. The other
is your application calls push_buffer. This is push mode. Von: gstreamer-devel [mailto:[hidden email]]
Im Auftrag von blackthirt33n . what does this mean "
appsrc in push vs pull mode" as spoken of in the thread in the article James _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I keep running across this example https://gist.github.com/nzjrs/725122/16ceee88aafae389bab207818e0661328921e1ab however this is for gstreamer 0.10 are there elements of the example that are still usefull? lines 152/153 do the following set up the start and stop call backs g_signal_connect (app->appsrc, "need-data", G_CALLBACK (start_feed), app); g_signal_connect (app->appsrc, "enough-data", G_CALLBACK (stop_feed), app); the start feed sets up the idle processing ...
app->sourceid = g_idle_add ((GSourceFunc) read_data, app);
which then calls read_data? Would this be similar in gstreamer 1.0 ? James On Tue, Mar 27, 2018 at 12:38 AM, Thornton, Keith <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Take a look at
https://gstreamer.freedesktop.org/documentation/tutorials/basic/short-cutting-the-pipeline.html Von: gstreamer-devel [mailto:[hidden email]]
Im Auftrag von blackthirt33n . I keep running across this example https://gist.github.com/nzjrs/725122/16ceee88aafae389bab207818e0661328921e1ab however this is for gstreamer 0.10 are there elements of the example that are still usefull? lines 152/153 do the following set up the start and stop call backs g_signal_connect (app->appsrc, "need-data", G_CALLBACK (start_feed), app); g_signal_connect (app->appsrc, "enough-data", G_CALLBACK (stop_feed), app); the start feed sets up the idle processing ... app->sourceid =
g_idle_add ((GSourceFunc) read_data, app);
which then calls read_data? Would this be similar in gstreamer 1.0 ? James On Tue, Mar 27, 2018 at 12:38 AM, Thornton, Keith <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |