[Bug 736829] gst-omx: rpi encoder don't pass IDR as one buffer
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Sep 17 13:57:01 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=736829
GStreamer | gst-omx | git
--- Comment #2 from m][sko <xlazom00 at gmail.com> 2014-09-17 20:56:58 UTC ---
I observe 2 problems in my pipeline on rpi
omxh264enc ! h264parse
SPS, PPS, IDR(1. part), IDR(2. part SLICE IDR),... SLICEs
1. SPS, PPS as headers, IDR was pass with
gst_video_encoder_finish_frame
but SLICE IDR is pass with gst_pad_push
so h264parse output was
SLICE IDR, SPS,PPS, IDR
2. SPS, PPS as headers
IDR processed with gst_video_encoder_finish_frame
slice IDR with next gst_video_encoder_finish_frame
so we consume 2 frames for one IDR
so my patch collect buffers until it revived
OMX_BUFFERFLAG_ENDOFFRAME
But I don't know if other OMX encoders generate OMX_BUFFERFLAG_ENDOFFRAME
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list