<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Nicolas.<div class=""><br class=""></div><div class="">- Is there a specific depayloader I can start from? How about gdpdepay.c? Among the myriad rtp depayloaders, anything that I can start from?<div class="">- Is it enough to make my plugin a simple Element (like gdpdepay.c) or is it better to build on GstBaseParse or GstRawBaseParse?</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 03-Feb-2021, at 9:08 PM, Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" class="">nicolas@ndufresne.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Le mercredi 03 février 2021 à 12:57 +0530, Bharath Bhushan (Kowshik) a écrit :</span><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Hello Gstreamers,<br class=""><br class="">I am planning to write a new gstreamer parser plugin for parsing a custom<br class="">byte-stream format. The pipeline should look something like below:-<br class="">Example A: tcpclientsrc ! my-custom-parser ! h264parse ! fakesink<span class="Apple-converted-space"> </span><br class="">Example B: filesrc ! my-custom-parser ! h264parse ! fakesink<br class=""><br class="">The byte-stream has the following format:<br class="">        4 bytes: size of data segment and timestamp<br class="">        8 bytes: timestamp<br class="">        N-8 bytes: data segment which is a H.264 NALU<br class=""><br class="">My plugin will create one GstBuffer per data segment and set the PTS/DTS based<br class="">on the timestamp and send it to the downstream plugin (h264parse for example).<br class=""><br class="">Some questions:-<br class="">- Is there a simple parser example plugin which I can start from?<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">This is more like a depayloader, but indeed we sometimes call parser or demuxer.</span><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Your format seems similar to IVF used to cary parsable VP8 and VP9 data.</span><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">- Is vorbisparse a good example to use? Is gstttransform.c in the gst-<br class="">templates repo a good example to use?<br class="">- What are the options for push vs pull that are available in my parser?<span class="Apple-converted-space"> </span><br class="">- Is there any documentation about how to write new parsers?<br class=""><br class="">Any help is greatly appreciated.<br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">gstreamer-devel mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" style="font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">gstreamer-devel@lists.freedesktop.org</a><br style="caret-color: rgb(0, 0, 0); font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" style="font-family: AlegreyaSans-Regular; font-size: 20px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br class=""></div></div></body></html>