Part Number: TDA4VM
Hi guys,
I make a video_demo.service for auto run before weston ready.
[Unit] Description=Demo video Service After=multi-user.target weston.service Requires=weston.service #Before=graphical.target ConditionPathExists=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY [Service] Type=forking Environment="DISPLAY=:0" Environment="WAYLAND_DISPLAY=wayland-0" ExecStart=/usr/local/bin/demo_video.sh StandardOutput=journal+console [Install] WantedBy=multi-user.target
the demo_video.sh:
#!/bin/bash
sleep 1
__say () {
echo $1 > /dev/console
}
__say "Start DEMO CAMERAS.."
sleep 1
if [ -f /etc/profile.d/weston.sh ]; then
source /etc/profile.d/weston.sh
else
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=/run/user/`id -u`
if ! test -d "$XDG_RUNTIME_DIR"; then
mkdir --parents $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
fi
fi
fi
sleep 3
__say "Streaming demo video "
GST_DEBUG=4 gst-launch-1.0 \
videotestsrc ! video/x-raw,width=1280,height=720 ! waylandsink &
sleep 5
__say "test cmd end"
It does not work by using sytemctl.
error log:
[ 2615.596899] demo_8cam.sh[2449]: Caught SIGSEGV
[ 2615.597178] demo_8cam.sh[2449]: Spinning. Please run 'gdb gst-launch-1.0 2449' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
test cmd end
DEMO END.
Streaming demo video [ 1331.139021] demo_8cam.sh[1648]: 0:00:00.000441635 1648 0x1dee2400 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.3 [ 1331.139510] demo_8cam.sh[1648]: 0:00:00.000599750 1648 0x1dee2400 INFO GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib [ 1331.139814] demo_8cam.sh[1648]: 0:00:00.000650310 1648 0x1dee2400 INFO GST_INIT gst.c:605:init_pre: Linux j7-evm 5.10.153-01333-g30c6cf295792-dirty #103 SMP PREEMPT Thu Feb 9 23:14:49 PST 2023 aarch64 [ 1331.140365] demo_8cam.sh[1648]: 0:00:00.001479820 1648 0x1dee2400 INFO GST_INIT gstmessage.c:128:_priv_gst_message_initialize: init messages [ 1331.140699] demo_8cam.sh[1648]: 0:00:00.002837180 1648 0x1dee2400 INFO GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts [ 1331.141002] demo_8cam.sh[1648]: 0:00:00.003316040 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:318:_priv_gst_plugin_initialize: registering 0 static plugins [ 1331.141360] demo_8cam.sh[1648]: 0:00:00.003748250 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: registered static plugin "staticelements" [ 1331.141653] demo_8cam.sh[1648]: 0:00:00.003802955 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:228:gst_plugin_register_static: added static plugin "staticelements", result: 1 [ 1331.142573] demo_8cam.sh[1648]: 0:00:00.005645370 1648 0x1dee2400 INFO GST_REGISTRY gstregistry.c:1733:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin [ 1331.182484] demo_8cam.sh[1648]: 0:00:00.045491830 1648 0x1dee2400 INFO GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.039706 seconds [ 1331.183409] demo_8cam.sh[1648]: 0:00:00.046512955 1648 0x1dee2400 INFO GST_REGISTRY gstregistry.c:1592:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin [ 1331.190831] demo_8cam.sh[1648]: 0:00:00.053843560 1648 0x1dee2400 INFO GST_REGISTRY gstregistry.c:1691:scan_and_update_registry: Registry cache has not changed [ 1331.191227] demo_8cam.sh[1648]: 0:00:00.053935175 1648 0x1dee2400 INFO GST_REGISTRY gstregistry.c:1768:ensure_current_registry: registry reading and updating done, result = 1 [ 1331.191664] demo_8cam.sh[1648]: 0:00:00.053984235 1648 0x1dee2400 INFO GST_INIT gst.c:806:init_post: GLib runtime version: 2.62.6 [ 1331.191946] demo_8cam.sh[1648]: 0:00:00.054025070 1648 0x1dee2400 INFO GST_INIT gst.c:808:init_post: GLib headers version: 2.62.6 [ 1331.192446] demo_8cam.sh[1648]: 0:00:00.054060150 1648 0x1dee2400 INFO GST_INIT gst.c:810:init_post: initialized GStreamer successfully [ 1331.192724] demo_8cam.sh[1648]: 0:00:00.054173485 1648 0x1dee2400 INFO GST_PIPELINE gstparse.c:336:gst_parse_launch_full: parsing pipeline description 'videotestsrc ! video/x-raw,width=1280,height=720 ! waylandsink ' [ 1331.194869] demo_8cam.sh[1648]: 0:00:00.057786415 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideotestsrc.so" loaded [ 1331.195290] demo_8cam.sh[1648]: 0:00:00.057928355 1648 0x1dee2400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "videotestsrc" [ 1331.195696] demo_8cam.sh[1648]: 0:00:00.058502775 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x1e1009f0> adding pad 'src' [ 1331.199232] demo_8cam.sh[1648]: 0:00:00.062222490 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstwaylandsink.so" loaded [ 1331.529086] demo_8cam.sh[1648]: 0:00:00.062318335 1648 0x1dee2400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "waylandsink" [ 1331.529756] demo_8cam.sh[1648]: 0:00:00.062681320 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x1e0f9be0> adding pad 'sink' [ 1331.530088] demo_8cam.sh[1648]: 0:00:00.062778545 1648 0x1dee2400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "pipeline" [ 1331.530392] demo_8cam.sh[1648]: 0:00:00.063144510 1648 0x1dee2400 INFO GST_PIPELINE grammar.y:648:gst_parse_perform_link: linking some pad of GstVideoTestSrc named videotestsrc0 to some pad of GstWaylandSink named waylandsink0 (0/0) with caps "video/x-raw, width=(int)1280, height=(int)720" [ 1331.530719] demo_8cam.sh[1648]: 0:00:00.064700955 1648 0x1dee2400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded [ 1331.531000] demo_8cam.sh[1648]: 0:00:00.064766965 1648 0x1dee2400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "capsfilter" [ 1331.531275] demo_8cam.sh[1648]: 0:00:00.065002725 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x1e10a2c0> adding pad 'sink' [ 1331.531583] demo_8cam.sh[1648]: 0:00:00.065064590 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x1e10a2c0> adding pad 'src' [ 1331.531867] demo_8cam.sh[1648]: 0:00:00.065119015 1648 0x1dee2400 INFO GST_STATES gstbin.c:2090:gst_bin_get_state_func:<pipeline0> getting state [ 1331.532280] demo_8cam.sh[1648]: 0:00:00.065191730 1648 0x1dee2400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<capsfilter0> completed state change to NULL [ 1331.532558] demo_8cam.sh[1648]: 0:00:00.065250535 1648 0x1dee2400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event [ 1331.533122] demo_8cam.sh[1648]: 0:00:00.065299590 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element videotestsrc0:(any) to element capsfilter0:sink [ 1331.533447] demo_8cam.sh[1648]: 0:00:00.065341410 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad capsfilter0:sink [ 1331.533734] demo_8cam.sh[1648]: 0:00:00.065387350 1648 0x1dee2400 INFO GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: videotestsrc0 and capsfilter0 in same bin, no need for ghost pads [ 1331.534012] demo_8cam.sh[1648]: 0:00:00.065442265 1648 0x1dee2400 INFO GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link videotestsrc0:src and capsfilter0:sink [ 1331.534341] demo_8cam.sh[1648]: 0:00:00.065497730 1648 0x1dee2400 INFO GST_PADS gstpad.c:4237:gst_pad_peer_query:<capsfilter0:src> pad has no peer [ 1331.534625] demo_8cam.sh[1648]: 0:00:00.065557635 1648 0x1dee2400 INFO GST_PADS gstpad.c:2585:gst_pad_link_full: linked videotestsrc0:src and capsfilter0:sink, successful [ 1331.868209] demo_8cam.sh[1648]: 0:00:00.065593620 1648 0x1dee2400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event [ 1331.868532] demo_8cam.sh[1648]: 0:00:00.065632670 1648 0x1dee2400 INFO GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<videotestsrc0:src> Received event on flushing pad. Discarding [ 1331.868796] demo_8cam.sh[1648]: 0:00:00.065685765 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element capsfilter0:src to element waylandsink0:(any) [ 1331.869077] demo_8cam.sh[1648]: 0:00:00.065724660 1648 0x1dee2400 INFO GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad capsfilter0:src [ 1331.871157] demo_8cam.sh[1648]: 0:00:00.065766950 1648 0x1dee2400 INFO GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link capsfilter0:src and waylandsink0:sink [ 1331.871457] demo_8cam.sh[1648]: 0:00:00.065914710 1648 0x1dee2400 INFO GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: capsfilter0 and waylandsink0 in same bin, no need for ghost pads [ 1331.871725] demo_8cam.sh[1648]: 0:00:00.065966030 1648 0x1dee2400 INFO GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link capsfilter0:src and waylandsink0:sink [ 1331.871989] demo_8cam.sh[1648]: 0:00:00.066070660 1648 0x1dee2400 INFO GST_PADS gstpad.c:2585:gst_pad_link_full: linked capsfilter0:src and waylandsink0:sink, successful [ 1331.872341] demo_8cam.sh[1648]: 0:00:00.066106345 1648 0x1dee2400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event [ 1331.872599] demo_8cam.sh[1648]: 0:00:00.066148895 1648 0x1dee2400 INFO GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<capsfilter0:src> Received event on flushing pad. Discarding [ 1331.872859] demo_8cam.sh[1648]: Setting pipeline to PAUSED ... [ 1331.873118] demo_8cam.sh[1648]: 0:00:00.066347340 1648 0x1dee2400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<waylandsink0> current NULL pending VOID_PENDING, desired next READY [ 1331.873406] demo_8cam.sh[1648]: Caught SIGSEGV [ 1331.873669] demo_8cam.sh[1648]: Spinning. Please run 'gdb gst-launch-1.0 1648' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core. test cmd end
but it can run by console
GST_DEBUG=4 gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720 ! waylandsink &
root@j7-evm:/opt/edge_ai_apps# GST_DEBUG=4 gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720 ! waylandsink
0:00:00.000354550 1672 0x28e45400 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.3
0:00:00.000498080 1672 0x28e45400 INFO GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib
0:00:00.000544765 1672 0x28e45400 INFO GST_INIT gst.c:605:init_pre: Linux j7-evm 5.10.153-01333-g30c6cf295792-dirty #103 SMP PREEMPT Thu Feb 9 23:14:49 PST 2023 aarch64
0:00:00.001354100 1672 0x28e45400 INFO GST_INIT gstmessage.c:128:_priv_gst_message_initialize: init messages
0:00:00.002547195 1672 0x28e45400 INFO GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
0:00:00.003071265 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:318:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.003309845 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.003352480 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:228:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.003442080 1672 0x28e45400 INFO GST_REGISTRY gstregistry.c:1733:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.042904680 1672 0x28e45400 INFO GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.039385 seconds
0:00:00.043300910 1672 0x28e45400 INFO GST_REGISTRY gstregistry.c:1592:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.050563600 1672 0x28e45400 INFO GST_REGISTRY gstregistry.c:1691:scan_and_update_registry: Registry cache has not changed
0:00:00.050630315 1672 0x28e45400 INFO GST_REGISTRY gstregistry.c:1768:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.050666845 1672 0x28e45400 INFO GST_INIT gst.c:806:init_post: GLib runtime version: 2.62.6
0:00:00.050762215 1672 0x28e45400 INFO GST_INIT gst.c:808:init_post: GLib headers version: 2.62.6
0:00:00.050795005 1672 0x28e45400 INFO GST_INIT gst.c:810:init_post: initialized GStreamer successfully
0:00:00.050897385 1672 0x28e45400 INFO GST_PIPELINE gstparse.c:336:gst_parse_launch_full: parsing pipeline description 'videotestsrc ! video/x-raw,width=1280,height=720 ! waylandsink '
0:00:00.054235325 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideotestsrc.so" loaded
0:00:00.054323840 1672 0x28e45400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "videotestsrc"
0:00:00.054884990 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x29062b50> adding pad 'src'
0:00:00.058466130 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstwaylandsink.so" loaded
0:00:00.058530600 1672 0x28e45400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "waylandsink"
0:00:00.059069690 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x2905bc30> adding pad 'sink'
0:00:00.059156230 1672 0x28e45400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "pipeline"
0:00:00.059518960 1672 0x28e45400 INFO GST_PIPELINE grammar.y:648:gst_parse_perform_link: linking some pad of GstVideoTestSrc named videotestsrc0 to some pad of GstWaylandSink named waylandsink0 (0/0) with caps "video/x-raw, width=(int)1280, height=(int)720"
0:00:00.391890255 1672 0x28e45400 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.391961390 1672 0x28e45400 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "capsfilter"
0:00:00.392198185 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x2906c2c0> adding pad 'sink'
0:00:00.392256275 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x2906c2c0> adding pad 'src'
0:00:00.392308525 1672 0x28e45400 INFO GST_STATES gstbin.c:2090:gst_bin_get_state_func:<pipeline0> getting state
0:00:00.392382750 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:00.392436220 1672 0x28e45400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.392482560 1672 0x28e45400 INFO GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element videotestsrc0:(any) to element capsfilter0:sink
0:00:00.392522265 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:00.392559830 1672 0x28e45400 INFO GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: videotestsrc0 and capsfilter0 in same bin, no need for ghost pads
0:00:00.392613070 1672 0x28e45400 INFO GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link videotestsrc0:src and capsfilter0:sink
0:00:00.392667085 1672 0x28e45400 INFO GST_PADS gstpad.c:4237:gst_pad_peer_query:<capsfilter0:src> pad has no peer
0:00:00.392721570 1672 0x28e45400 INFO GST_PADS gstpad.c:2585:gst_pad_link_full: linked videotestsrc0:src and capsfilter0:sink, successful
0:00:00.392755535 1672 0x28e45400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.392790170 1672 0x28e45400 INFO GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<videotestsrc0:src> Received event on flushing pad. Discarding
0:00:00.392839630 1672 0x28e45400 INFO GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element capsfilter0:src to element waylandsink0:(any)
0:00:00.392876735 1672 0x28e45400 INFO GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad capsfilter0:src
0:00:00.392916545 1672 0x28e45400 INFO GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link capsfilter0:src and waylandsink0:sink
0:00:00.393062480 1672 0x28e45400 INFO GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: capsfilter0 and waylandsink0 in same bin, no need for ghost pads
0:00:00.723150760 1672 0x28e45400 INFO GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link capsfilter0:src and waylandsink0:sink
0:00:00.723330305 1672 0x28e45400 INFO GST_PADS gstpad.c:2585:gst_pad_link_full: linked capsfilter0:src and waylandsink0:sink, successful
0:00:00.723366820 1672 0x28e45400 INFO GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.723405430 1672 0x28e45400 INFO GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<capsfilter0:src> Received event on flushing pad. Discarding
Setting pipeline to PAUSED ...
0:00:00.723658800 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<waylandsink0> current NULL pending VOID_PENDING, desired next READY
0:00:00.725281680 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<waylandsink0> completed state change to READY
0:00:00.725349525 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.725411900 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 2(READY) successfully
0:00:00.725465810 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<capsfilter0> current NULL pending VOID_PENDING, desired next READY
0:00:00.725508165 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:00.725546435 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.725593920 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) successfully
0:00:00.725635590 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<videotestsrc0> current NULL pending VOID_PENDING, desired next READY
0:00:00.725676725 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<videotestsrc0> completed state change to READY
0:00:00.725714090 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<videotestsrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.725759865 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'videotestsrc0' changed state to 2(READY) successfully
0:00:00.725807285 1672 0x28e45400 INFO GST_STATES gstelement.c:2660:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.725845220 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:01.056718120 1672 0x28e45400 INFO GST_STATES gstelement.c:2668:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:01.056800460 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<waylandsink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.056864435 1672 0x28e45400 INFO GST_STATES gstbin.c:2959:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' is changing state asynchronously to PAUSED
0:00:01.056907850 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<capsfilter0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.056960775 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:01.056999890 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:01.057045925 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) successfully
0:00:01.057085720 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<videotestsrc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.057208680 1672 0x28e45400 INFO basesrc gstbasesrc.c:1373:gst_base_src_do_seek:<videotestsrc0> seeking: time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:01.057325150 1672 0x28e45400 INFO task gsttask.c:460:gst_task_set_lock: setting stream lock 0x29056130 on task 0x29077050
0:00:01.057363905 1672 0x28e45400 INFO GST_PADS gstpad.c:6159:gst_pad_start_task:<videotestsrc0:src> created task 0x29077050
0:00:01.057721960 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<videotestsrc0> completed state change to PAUSED
0:00:01.057767745 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<videotestsrc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:01.057818015 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'videotestsrc0' changed state to 3(PAUSED) successfully
Pipeline is PREROLLING ...
0:00:01.058002720 1672 0x2902a280 INFO GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'sink' in element "videotestsrc0"
0:00:01.058118900 1672 0x2902a280 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:01.059154460 1672 0x2902a280 INFO GST_EVENT gstevent.c:820:gst_event_new_caps: creating caps event video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:01.390169195 1672 0x2902a280 INFO basetransform gstbasetransform.c:1317:gst_base_transform_setcaps:<capsfilter0> reuse caps
0:00:01.390282200 1672 0x2902a280 INFO GST_EVENT gstevent.c:820:gst_event_new_caps: creating caps event video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:01.425011705 1672 0x2902a280 INFO GST_EVENT gstevent.c:900:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:01.425120455 1672 0x2902a280 INFO basesrc gstbasesrc.c:2962:gst_base_src_loop:<videotestsrc0> marking pending DISCONT
0:00:01.426563890 1672 0x2902a280 WARN waylandsink wlvideoformat.c:137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not found
0:00:01.426913785 1672 0x2902a280 INFO GST_STATES gstbin.c:3421:bin_handle_async_done:<pipeline0> committing state from READY to PAUSED, old pending PAUSED
0:00:01.426959155 1672 0x2902a280 INFO GST_STATES gstbin.c:3444:bin_handle_async_done:<pipeline0> completed state change, pending VOID
0:00:01.426998730 1672 0x2902a280 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:01.427829165 1672 0x28e45400 INFO GST_EVENT gstevent.c:1449:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:01.427899355 1672 0x28e45400 INFO bin gstbin.c:2783:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
0:00:01.427956570 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<waylandsink0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:01.428025295 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<waylandsink0> completed state change to PLAYING
0:00:01.428073510 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:01.428123645 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 4(PLAYING) successfully
0:00:01.428170950 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<capsfilter0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:01.428215075 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<capsfilter0> completed state change to PLAYING
0:00:01.428255110 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:01.461173595 1672 0x2902a280 WARN waylandsink wlvideoformat.c:137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not found
0:00:01.756949220 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 4(PLAYING) successfully
0:00:01.757009845 1672 0x28e45400 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state:<videotestsrc0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:01.757059560 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<videotestsrc0> completed state change to PLAYING
0:00:01.757100745 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<videotestsrc0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:01.757150560 1672 0x28e45400 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'videotestsrc0' changed state to 4(PLAYING) successfully
0:00:01.757196135 1672 0x28e45400 INFO GST_STATES gstelement.c:2688:gst_element_continue_state:<pipeline0> completed state change to PLAYING
0:00:01.757234405 1672 0x28e45400 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
New clock: GstSystemClock
0:00:01.861174980 1672 0x2902a280 WARN waylandsink wlvideoformat.c:137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not found