Gstvideocodecframe buffer data offsets
Miloš Selečéni
milos.seleceni at comprimato.com
Mon Feb 1 02:46:16 PST 2016
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
--
*Miloš Selečéni*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160201/d640b8f3/attachment.html>
More information about the gstreamer-devel
mailing list