[Bug 785967] videoenc/dec : delay input buffers allocation until first buffer is received

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 21 11:31:28 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=785967

--- Comment #32 from Guillaume Desmottes <gdesmott at gnome.org> ---
Yep, working fine with 1.14 as well:

$ GST_DEBUG="2,*omx*:4" gst-launch-1.0 videotestsrc ! omxh264enc ! fakesink -v
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =
video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1,
format=(string)I420, multiview-mode=(string)mono,
pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
caps = video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1,
format=(string)I420, multiview-mode=(string)mono,
pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:00.165774746  9311  0x1982d50 INFO                     omx
gstomx.c:2155:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0>
Setting video_encode port 201 to disabled
0:00:00.166322295  9311  0x1982d50 INFO                     omx
gstomx.c:2196:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0> Set
video_encode port 201 to disabled: None (0x00000000)
0:00:00.166462346  9311  0x1982d50 INFO                     omx
gstomx.c:2412:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
Waiting for video_encode port 201 to be disabled
0:00:00.166689323  9311  0x1982d50 INFO                     omx
gstomx.c:2463:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
video_encode port 201 is disabled: None (0x00000000)
0:00:00.166724584  9311  0x1982d50 INFO                     omx
gstomx.c:911:gst_omx_component_set_state:<omxh264enc-omxh264enc0> Setting
video_encode state from Loaded to Idle
0:00:00.167399892  9311  0x1982d50 INFO                     omx
gstomx.c:1761:gst_omx_port_allocate_buffers_unlocked:<omxh264enc-omxh264enc0>
Allocating 1 buffers of size 115200 for video_encode port 200
0:00:00.167605463  9311  0x1982d50 INFO                     omx
gstomx.c:261:gst_omx_component_handle_messages:<omxh264enc-omxh264enc0>
video_encode state change to Idle finished
0:00:00.167746452  9311  0x1982d50 INFO                     omx
gstomx.c:1823:gst_omx_port_allocate_buffers_unlocked:<omxh264enc-omxh264enc0>
Allocated buffers for video_encode port 200: None (0x00000000)
0:00:00.167780202  9311  0x1982d50 INFO                     omx
gstomx.c:911:gst_omx_component_set_state:<omxh264enc-omxh264enc0> Setting
video_encode state from Idle to Executing
0:00:00.168351031  9311  0x1982d50 INFO                     omx
gstomx.c:261:gst_omx_component_handle_messages:<omxh264enc-omxh264enc0>
video_encode state change to Executing finished
0:00:00.170746797  9311 0x72402830 INFO                     omx
gstomx.c:2155:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0>
Setting video_encode port 201 to enabled
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src:
caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au,
profile=(string)high, level=(string)4, chroma-format=(string)4:2:0,
bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, width=(int)320,
height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1,
interlace-mode=(string)progressive, colorimetry=(string)bt601,
chroma-site=(string)jpeg, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)au, profile=(string)high,
level=(string)4, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8,
bit-depth-chroma=(uint)8, width=(int)320, height=(int)240,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1,
interlace-mode=(string)progressive, colorimetry=(string)bt601,
chroma-site=(string)jpeg, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
0:00:00.171173096  9311 0x72402830 INFO                     omx
gstomx.c:2196:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0> Set
video_encode port 201 to enabled: None (0x00000000)
0:00:00.171281273  9311 0x72402830 INFO                     omx
gstomx.c:1761:gst_omx_port_allocate_buffers_unlocked:<omxh264enc-omxh264enc0>
Allocating 1 buffers of size 65536 for video_encode port 201
0:00:00.171585698  9311 0x72402830 INFO                     omx
gstomx.c:1823:gst_omx_port_allocate_buffers_unlocked:<omxh264enc-omxh264enc0>
Allocated buffers for video_encode port 201: None (0x00000000)
0:00:00.171694551  9311 0x72402830 INFO                     omx
gstomx.c:2412:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
Waiting for video_encode port 201 to be enabled
0:00:00.171857623  9311 0x72402830 INFO                     omx
gstomx.c:2463:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
video_encode port 201 is enabled: None (0x00000000)
0:00:00.172077986  9311 0x72402830 INFO                     omx
gstomx.c:2512:gst_omx_port_mark_reconfigured:<omxh264enc-omxh264enc0> Marking
video_encode port 201 is reconfigured
0:00:00.172172569  9311 0x72402830 INFO                     omx
gstomx.c:2539:gst_omx_port_mark_reconfigured:<omxh264enc-omxh264enc0> Marked
video_encode port 201 as reconfigured: None (0x00000000)
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

-- 
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