<div dir="ltr">Hi, currently I'm writing a Gstreamer plugin for enc/dec of JPEG2000 and I've a problem with data pointer I'm getting from mapped input buffer from currently handling frame in handle_frame callback. The input buffer I get from frame has some offset to raw data i need for encoding or decoding. It depends on preceding element enqued in pipeline which provide data for me e.g. I have h264 file decoded by avdec_h264 element. All mapped input buffers from handling frame have like 400 bit headers of zeros. I tried to readout some offsets info from GstMapInfo structure but without any success, offsets are zeros or values doesn't make sense to me. So my question is how can I get those offsets to raw data ? I also tired dump data with multifilesink to disk and those files were ok no headers just raw data I would like to get in handle_frame callback, which means that multifilesink has to get rid of those headers. thx for help<br> <br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><i>Miloš Selečéni</i></div></div>
</div>