gstreamer1.0, gst-omx, gst0.10 vs gst1.0

jlancaster jeff_lancaster at msn.com
Tue Oct 27 11:17:32 PDT 2015


My two pipelines comparing gstreamer-0.10 and gstreamer-1.0:

GST_DEBUG=*:6 gst-launch-0.10 -v videotestsrc num_buffers=10 ! omx_h264enc !
fakesink &> vidtest0.10.log

vs.

GST_DEBUG=*:6 gst-launch-1.0  -v videotestsrc num_buffers=10 ! omxh264enc !
fakesink &> vidtest1.0.log

I am using the same OMX library libtiomx.so in the above two cases.

The first pipeline works fine but the second pipeline I get the following
log. I don't understand the two lines with omxh264enc with fakesink. What
might be wrong with the omxh264enc element?

0:00:01.575891800  4144    0x82d20 DEBUG           videoencoder
gstvideoencoder.c:1638:gst_video_encoder_negotiate_default:<omxh264enc-omxh264enc0>
didn't get downstream ALLOCATION hints
0:00:01.576017150  4144    0x82d20 DEBUG           videoencoder
gstvideoencoder.c:1645:gst_video_encoder_negotiate_default:<omxh264enc-omxh264enc0>
ALLOCATION (1) params: allocation query: 0x831b0, GstQueryAllocation,
caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1",
need-pool=(boolean)true, allocator=(GArray)NULL;


Log:
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src:
caps = "video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
0:00:01.571804050  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3498:check_sticky:<omxh264enc-omxh264enc0:src> pushing all sticky
events
0:00:01.571916050  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3431:push_sticky:<omxh264enc-omxh264enc0:src> event stream-start
was already received
0:00:01.572032200  4144    0x82d20 LOG                 GST_PADS
gstpad.c:4837:gst_pad_push_event_unchecked:<omxh264enc-omxh264enc0:src>
sending event 0x84060 (caps) to peerpad <fakesink0:sink>
0:00:01.572163950  4144    0x82d20 DEBUG              GST_EVENT
gstpad.c:5098:gst_pad_send_event_unchecked:<fakesink0:sink> have event type
caps event: 0x84060, time 99:99:99.999999999, seq-num 25, GstEventCaps,
caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1";
0:00:01.572548500  4144    0x82d20 DEBUG               GST_CAPS
gstutils.c:2852:gst_pad_query_accept_caps:<fakesink0:sink> accept caps of
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au,
profile=(string)baseline, level=(string)4.2, width=(int)320,
height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
0:00:01.572837450  4144    0x82d20 DEBUG                  query
gstquery.c:673:gst_query_new_custom: creating new query 0x83180 accept-caps
0:00:01.572963500  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3567:gst_pad_query:<fakesink0:sink> doing query 0x83180
(accept-caps)
0:00:01.573101000  4144    0x82d20 DEBUG               basesink
gstbasesink.c:4831:gst_base_sink_default_query:<fakesink0> Checking if
requested caps video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, profile=(string)baseline, level=(string)4.2,
width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)30/1 are a subset of pad caps ANY result 1
0:00:01.573328050  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3589:gst_pad_query:<fakesink0:sink> sent query 0x83180
(accept-caps), result 1
0:00:01.573452700  4144    0x82d20 DEBUG                default
gstutils.c:2857:gst_pad_query_accept_caps:<fakesink0:sink> query returned 1
0:00:01.573570700  4144    0x82d20 DEBUG               basesink
gstbasesink.c:3157:gst_base_sink_event:<fakesink0> received event 0x84060
caps event: 0x84060, time 99:99:99.999999999, seq-num 25, GstEventCaps,
caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1";
0:00:01.573832000  4144    0x82d20 DEBUG               basesink
gstbasesink.c:3069:gst_base_sink_default_event:<fakesink0> caps 0x84060
0:00:01.573949300  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:5156:gst_pad_send_event_unchecked:<fakesink0:sink> sent event, ret
ok
0:00:01.574059800  4144    0x82d20 LOG                 GST_PADS
gstpad.c:4677:store_sticky_event:<fakesink0:sink> stored sticky event caps
0:00:01.574164850  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:4683:store_sticky_event:<fakesink0:sink> notify caps
0:00:01.574280300  4144    0x82d20 LOG           GST_PROPERTIES
gstobject.c:463:gst_object_dispatch_properties_changed:<fakesink0> deep
notification from sink (caps)
0:00:01.574405700  4144    0x82d20 LOG           GST_PROPERTIES
gstobject.c:463:gst_object_dispatch_properties_changed:<pipeline0> deep
notification from sink (caps)
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
0:00:01.574966850  4144    0x82d20 LOG                 GST_PADS
gstpad.c:4845:gst_pad_push_event_unchecked:<omxh264enc-omxh264enc0:src> sent
event 0x84060 to (caps) peerpad <fakesink0:sink>, ret ok
0:00:01.575111200  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3451:push_sticky:<omxh264enc-omxh264enc0:src> event caps marked
received
0:00:01.575230300  4144    0x82d20 DEBUG                  query
gstquery.c:673:gst_query_new_custom: creating new query 0x831b0 allocation
0:00:01.575345200  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3692:gst_pad_peer_query:<omxh264enc-omxh264enc0:src> peer query
0x831b0 (allocation)
0:00:01.575462600  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3567:gst_pad_query:<fakesink0:sink> doing query 0x831b0
(allocation)
0:00:01.575581150  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3589:gst_pad_query:<fakesink0:sink> sent query 0x831b0
(allocation), result 0
0:00:01.575695100  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3633:gst_pad_query:<fakesink0:sink> query failed
0:00:01.575792800  4144    0x82d20 DEBUG               GST_PADS
gstpad.c:3754:gst_pad_peer_query:<omxh264enc-omxh264enc0:src> query failed
0:00:01.575891800  4144    0x82d20 DEBUG           videoencoder
gstvideoencoder.c:1638:gst_video_encoder_negotiate_default:<omxh264enc-omxh264enc0>
didn't get downstream ALLOCATION hints
0:00:01.576017150  4144    0x82d20 DEBUG           videoencoder
gstvideoencoder.c:1645:gst_video_encoder_negotiate_default:<omxh264enc-omxh264enc0>
ALLOCATION (1) params: allocation query: 0x831b0, GstQueryAllocation,
caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\
level\=\(string\)4.2\,\ width\=\(int\)320\,\ height\=\(int\)240\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1",
need-pool=(boolean)true, allocator=(GArray)NULL;
0:00:01.576519800  4144    0x1e400 LOG                  GST_BUS
gstbus.c:497:gst_bus_timed_pop_filtered:<bus1> have 1 messages
0:00:01.576653650  4144    0x1e400 LOG                 GST_POLL
gstpoll.c:201:release_wakeup: 0x21180: release
0:00:01.576789450  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:505:gst_bus_timed_pop_filtered:<bus1> got message 0x825d0,
stream-start from pipeline0, type mask is 4294967295
0:00:01.576968600  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:773:gst_bus_source_dispatch:<bus1> source 0x87840 calling dispatch
with stream-start message: 0x825d0, time 99:99:99.999999999, seq-num 17,
element 'pipeline0', GstMessageStreamStart, group-id=(uint)0;
0:00:01.577175200  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:979:poll_func: mainloop 0x878d0 quit
0:00:01.577323250  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:778:gst_bus_source_dispatch:<bus1> source 0x87840 handler returns 1
0:00:01.577460050  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:1092:gst_bus_poll: mainloop stopped 0x878d0
0:00:01.577571600  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:1337:gst_bus_remove_signal_watch:<bus1> removing signal watch 12
0:00:01.577714650  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:799:gst_bus_source_finalize:<bus1> finalize source 0x87840
0:00:01.577849600  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:1105:gst_bus_poll:<bus1> finished poll with message 0x825d0
0:00:01.577950350  4144    0x1e400 LOG              GST_MESSAGE
gstmessage.c:182:_gst_message_free: finalize message 0x825d0, stream-start
from pipeline0
0:00:01.578160200  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:876:gst_bus_add_watch_full_unlocked:<bus1> New source 0xa5fb0 with
id 13
0:00:01.578269850  4144    0x1e400 DEBUG                GST_BUS
gstbus.c:1090:gst_bus_poll: running mainloop 0x802c8
handling interrupt.




-----
Jeff Lancaster
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer1-0-gst-omx-gst0-10-vs-gst1-0-tp4674290.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list