Hi,
I'm trying to write a demuxer, which separate line-interleaved video data,
For example, input 320x240 video data, output 2 160x240 video data.
By referring to plugin writer's guide,
https://gstreamer.freedesktop.org/documentation/plugin-development/basics/boiler.html?gi-language=cand plugin bad template,
https://developer.ridgerun.com/wiki/index.php?title=Creating_a_New_GStreamer_Element_or_Application_Using_TemplatesI have built a basic element plugin, which implements event, chain, status
function by the guide, it could bypass the data from sink to src.
Using below command to check, it works well.
gst-launch-1.0 -v videotestsrc pattern=0 num-buffers=1000 ! myfilter !
x264enc qp-min=18 ! avimux ! filesink location=videotestsrc_myfilter.avi
For the sometimes pads guide,
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/request.html?gi-language=cit doesn't explain how to add the function gst_my_filter_loopfunc
(GstElement *element) to the code, also filter->bs is not defined.
Could anyone give any advice/instruction?
Thanks a lot.
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel