avdec_h264 is not copying metadata to the outputbuffer

parithi parithi at gmail.com
Thu Nov 24 09:08:49 UTC 2016


Sudip,

Even I don't have any problem running this pipeline without meta data(with
tag "video"). But problem arises when I add meta data with ouput buffer of
h264_parse. The decoder element should copy this meta data on it's output
buffer and pass it to downstream element.

avdec_h264 is receiving all meta data. I've checked this. Problem arises
when it tries to add the meta data to its output buffer. The pipeline
crashes at gst_buffer_add_meta(), since the buffer passed from avdec_h264 is
not in writable mode.
call stack:
--------------------------------
#2 gst_buffer_add_meta
#3 gst_buffer_add_h264_meta
#4 gst_h264_meta_transform
#5 foreach_metadata
#6 gst_buffer_foreach_meta
#7 gst_video_decoder_finish_frame
#8 gst_ffmpegviddec_frame
----------------------------------
If the meta tag is "video" the frame work will do the copying, otherwise we
have to retrieve it from input buffer and append it to the outut buffer.
I tried both ways, but the behaviour is same.  

Please let me know if you have any suggestion to resolve this issue.

Regards,
Parithi



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/avdec-h264-is-not-copying-metadata-to-the-outputbuffer-tp4680842p4680853.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list