As far as I can tell, this is a return of this issue that was fixed in previous kernel versions.
Yet, on my Raspberry Pi 4 with latest updates (RpiOS, Bookworm, 6.12.34+rpt-rpi-v8) I encountered it again. In a more complex pipeline, but minimal pipeline from that issue shows similar symptoms.
The problem: when v4l2h264enc encounters a complex frame (?) it fails to encode and hangs without any error when bitrate is set.
With GST_DEBUG=6 I see repeating lines that suggest there is some kind of a loop, but it is way over my head to analyze this much logs.
It can be reproduced like this:As far as I tested, video formats and other encoder parameters do not affect this. The value of the bitrate doesn't affect it either.
I am not convinced that this is caused specifically by the amount of noise in the frame, as in my original pipeline it hangs with regular 1080p frame received from libcamerasrc and overlayed with 360p frame from v4l2src (still a 1080p frame in the end).
I've shortened some logs to keep it readable, so feel free to ask for additional information - I'm not sure what can be useful.
Specks and logs:Repeating part of gstreamer log:
Yet, on my Raspberry Pi 4 with latest updates (RpiOS, Bookworm, 6.12.34+rpt-rpi-v8) I encountered it again. In a more complex pipeline, but minimal pipeline from that issue shows similar symptoms.
The problem: when v4l2h264enc encounters a complex frame (?) it fails to encode and hangs without any error when bitrate is set.
With GST_DEBUG=6 I see repeating lines that suggest there is some kind of a loop, but it is way over my head to analyze this much logs.
It can be reproduced like this:
Code:
gst-launch-1.0 videotestsrc pattern=1 ! video/x-raw,format=RGB,width=640,height=480 ! v4l2h264enc extra-controls="s,video_bitrate=1000000," ! video/x-h264,level="(string)4.1" ! fakesink I am not convinced that this is caused specifically by the amount of noise in the frame, as in my original pipeline it hangs with regular 1080p frame received from libcamerasrc and overlayed with 360p frame from v4l2src (still a 1080p frame in the end).
I've shortened some logs to keep it readable, so feel free to ask for additional information - I'm not sure what can be useful.
Specks and logs:
Code:
pi@streamer:~ $ gst-launch-1.0 --versiongst-launch-1.0 version 1.22.0GStreamer 1.22.0Code:
pi@streamer:~ $ apt list gstreamer* --installedListing... Donegstreamer1.0-gl/stable,now 1.22.0-3+rpt1+deb12u4 arm64 [installed]gstreamer1.0-libav/stable,now 1.22.0-2 arm64 [installed]gstreamer1.0-libcamera/stable,now 0.5.0+rpt20250429-1 arm64 [installed]gstreamer1.0-plugins-bad-apps/stable-security,now 1.22.0-4+deb12u6 arm64 [installed]gstreamer1.0-plugins-bad/stable-security,now 1.22.0-4+deb12u6 arm64 [installed]gstreamer1.0-plugins-base-apps/stable,now 1.22.0-3+rpt1+deb12u4 arm64 [installed]gstreamer1.0-plugins-base/stable,now 1.22.0-3+rpt1+deb12u4 arm64 [installed]gstreamer1.0-plugins-good/stable,now 1.22.0-5+rpt2+deb12u2 arm64 [installed,automatic]gstreamer1.0-plugins-rtp/stable,now 1.14.4.1 arm64 [installed]gstreamer1.0-plugins-ugly/stable,stable-security,now 1.22.0-2+deb12u1 arm64 [installed]gstreamer1.0-rtsp/stable,now 1.22.0-2 arm64 [installed]gstreamer1.0-tools/stable,stable-security,now 1.22.0-2+deb12u1 arm64 [installed]gstreamer1.0-x/stable,now 1.22.0-3+rpt1+deb12u4 arm64 [installed,automatic]Code:
pi@streamer:~ $ raspinfo System Information------------------Raspberry Pi 4 Model B Rev 1.5PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"Raspberry Pi reference 2025-05-13Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5dabc7dc940059dfbc46af5d97b60a1e812523dd, stage2Linux streamer 6.12.34+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) aarch64 GNU/LinuxRevision : c03115Serial : 10000000fe2d3898Model : Raspberry Pi 4 Model B Rev 1.5Throttled flag : throttled=0x0Camera : supported=0 detected=0, libcamera interfaces=0Videocore information---------------------Apr 30 2025 13:33:39 Copyright (c) 2012 Broadcomversion 5560078dcc8591a00f57b9068d13e5544aeef3aa (clean) (release) (start)alloc failures: 0compactions: 0legacy block fails: 0Package version information---------------------------raspberrypi-ui-mods: Installed: (none)raspberrypi-sys-mods: Installed: 20250605~bookwormopenbox: Installed: (none)lxpanel: Installed: (none)pcmanfm: Installed: (none)rpd-plym-splash: Installed: (none)...config.txt----------arm_64bit=1arm_boost=1arm_freq=1800audio_pwm_mode=514auto_initramfs=1config_hdmi_boost=5core_freq=500core_freq_min=200disable_commandline_tags=2disable_fw_kms_setup=1disable_l2cache=1disable_overscan=1display_auto_detect=1display_hdmi_rotate=-1display_lcd_rotate=-1dvfs=3enable_gic=1force_eeprom_read=1force_pwm_open=1framebuffer_ignore_alpha=1framebuffer_swap=1gpu_freq=500gpu_freq_min=250init_uart_clock=0x2dc6c00initial_turbo=60lcd_framerate=60mask_gpu_interrupt0=3072mask_gpu_interrupt1=25699max_framebuffers=2over_voltage_avs=-30000pause_burst_frames=1pciex4_reset=1pmic_turbo_threshold=600program_serial_random=1total_mem=4096hdmi_force_cec_address:0=65535hdmi_force_cec_address:1=65535hdmi_pixel_freq_limit:0=0x11e1a300hdmi_pixel_freq_limit:1=0x11e1a300device_tree=-overlay_prefix=overlays/hdmi_cvt:0=hdmi_cvt:1=hdmi_edid_filename:0=hdmi_edid_filename:1=hdmi_timings:0=hdmi_timings:1=cmdline.txt-----------coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0 snd_bcm2835.enable_hdmi=0 numa=fake=2 system_heap.max_order=0 smsc95xx.macaddr=D8:3A:DD:FD:E4:66 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=dc64cb2e-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=US...EEPROM------BOOTLOADER: up to date CURRENT: Thu 8 May 15:21:35 UTC 2025 (1746717695) LATEST: Thu 8 May 15:21:35 UTC 2025 (1746717695) RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2711/default) Use raspi-config to change the release. VL805_FW: Using bootloader EEPROM VL805: up to date CURRENT: 000138c0 LATEST: 000138c0Code:
0:00:10.747077545 1300 0x558fa68e00 DEBUG videoencoder gstvideoencoder.c:1482:gst_video_encoder_src_query:<v4l2h264enc0> received query 5123, duration0:00:10.747199803 1300 0x558fa68e00 LOG videoencoder gstvideoencoder.c:1418:gst_video_encoder_src_query_default:<v4l2h264enc0> handling query: duration query: 0x558fd265e0, GstQueryDuration, format=(GstFormat)time, duration=(gint64)-1;0:00:10.747292043 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:3519:gst_pad_query_default:<v4l2h264enc0:src> forwarding 0x558fd265e0 (duration) query0:00:10.747325969 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:2973:gst_pad_iterate_internal_links_default:<v4l2h264enc0:src> Making iterator0:00:10.747365172 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3082:gst_pad_forward:<v4l2h264enc0:src> calling forward function on pad v4l2h264enc0:sink0:00:10.747406838 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3455:query_forward_func:<v4l2h264enc0:sink> query peer 0x558fd265e0 (duration) of v4l2h264enc0:sink0:00:10.747442560 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<v4l2h264enc0:sink> peer query 0x558fd265e0 (duration)0:00:10.747475449 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<capsfilter0:src> doing query 0x558fd265e0 (duration)0:00:10.747509652 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<capsfilter0:sink> peer query 0x558fd265e0 (duration)0:00:10.747542559 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<videotestsrc0:src> doing query 0x558fd265e0 (duration)0:00:10.747579448 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1141:gst_base_src_default_query:<videotestsrc0> duration query in format time0:00:10.747614003 1300 0x558fa68e00 LOG basesrc gstbasesrc.c:1166:gst_base_src_default_query:<videotestsrc0> duration -1, format time0:00:10.747651651 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1386:gst_base_src_default_query:<videotestsrc0> query duration returns 10:00:10.747685873 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<videotestsrc0:src> sent query 0x558fd265e0 (duration), result 10:00:10.747721354 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter0:src> sent query 0x558fd265e0 (duration), result 10:00:10.747759502 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<v4l2h264enc0:src> sent query 0x558fd265e0 (duration), result 10:00:10.747795205 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter1:src> sent query 0x558fd265e0 (duration), result 10:00:10.747826853 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5538:default_element_query:<fakesink0> query duration returns 10:00:10.747857612 1300 0x558fa68e00 DEBUG bin gstbin.c:4074:bin_query_duration_fold:<fakesink0> got duration -10:00:10.747893260 1300 0x558fa68e00 DEBUG bin gstbin.c:4098:bin_query_duration_done:<pipeline0> max duration -10:00:10.747928500 1300 0x558fa68e00 DEBUG bin gstbin.c:4318:gst_bin_query:<pipeline0> query 0x558fd265e0 result 10:00:10.845226672 1300 0x558fa68e00 DEBUG query gstquery.c:679:gst_query_new_custom: creating new query 0x558fac9f20 position0:00:10.845327467 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element pipeline00:00:10.845407670 1300 0x558fa68e00 DEBUG bin gstbin.c:4295:gst_bin_query:<pipeline0> Sending query 0x558fac9f20 (type position) to sink children0:00:10.845485095 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter1 is not sink0:00:10.845558131 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter0 is not sink0:00:10.845660223 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child fakesink0 is sink0:00:10.845733667 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element fakesink00:00:10.845806185 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5419:default_element_query:<fakesink0> position query in format time0:00:10.845872480 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5215:gst_base_sink_get_position:<fakesink0> no sync or no clock0:00:10.845947739 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5237:gst_base_sink_get_position:<fakesink0> in PAUSED using last 0:00:00.0000000000:00:10.846019016 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5271:gst_base_sink_get_position:<fakesink0> using last seen timestamp 0:00:00.0000000000:00:10.846092015 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5341:gst_base_sink_get_position:<fakesink0> res: 1, POSITION: 0:00:00.0000000000:00:10.846165015 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5538:default_element_query:<fakesink0> query position returns 10:00:10.846230551 1300 0x558fa68e00 DEBUG bin gstbin.c:4118:bin_query_position_fold:<fakesink0> got position 00:00:10.846302439 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child v4l2h264enc0 is not sink0:00:10.846373272 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child videotestsrc0 is not sink0:00:10.846443605 1300 0x558fa68e00 DEBUG bin gstbin.c:4136:bin_query_position_done:<pipeline0> max position 00:00:10.846511808 1300 0x558fa68e00 DEBUG bin gstbin.c:4318:gst_bin_query:<pipeline0> query 0x558fac9f20 result 10:00:10.846588548 1300 0x558fa68e00 DEBUG query gstquery.c:679:gst_query_new_custom: creating new query 0x558fac9e80 duration0:00:10.846652251 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element pipeline00:00:10.846725398 1300 0x558fa68e00 DEBUG bin gstbin.c:4295:gst_bin_query:<pipeline0> Sending query 0x558fac9e80 (type duration) to sink children0:00:10.846797083 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter1 is not sink0:00:10.846866656 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter0 is not sink0:00:10.846935174 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child fakesink0 is sink0:00:10.847003285 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element fakesink00:00:10.847069414 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5470:default_element_query:<fakesink0> duration query in format time0:00:10.847139117 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<fakesink0:sink> peer query 0x558fac9e80 (duration)0:00:10.847211116 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<capsfilter1:src> doing query 0x558fac9e80 (duration)0:00:10.847280560 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<capsfilter1:sink> peer query 0x558fac9e80 (duration)0:00:10.847347819 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<v4l2h264enc0:src> doing query 0x558fac9e80 (duration)0:00:10.847417262 1300 0x558fa68e00 DEBUG videoencoder gstvideoencoder.c:1482:gst_video_encoder_src_query:<v4l2h264enc0> received query 5123, duration0:00:10.847527002 1300 0x558fa68e00 LOG videoencoder gstvideoencoder.c:1418:gst_video_encoder_src_query_default:<v4l2h264enc0> handling query: duration query: 0x558fac9e80, GstQueryDuration, format=(GstFormat)time, duration=(gint64)-1;0:00:10.847607149 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:3519:gst_pad_query_default:<v4l2h264enc0:src> forwarding 0x558fac9e80 (duration) query0:00:10.847672019 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:2973:gst_pad_iterate_internal_links_default:<v4l2h264enc0:src> Making iterator0:00:10.847743833 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3082:gst_pad_forward:<v4l2h264enc0:src> calling forward function on pad v4l2h264enc0:sink0:00:10.847809685 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3455:query_forward_func:<v4l2h264enc0:sink> query peer 0x558fac9e80 (duration) of v4l2h264enc0:sink0:00:10.847841832 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<v4l2h264enc0:sink> peer query 0x558fac9e80 (duration)0:00:10.847871054 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<capsfilter0:src> doing query 0x558fac9e80 (duration)0:00:10.847900295 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<capsfilter0:sink> peer query 0x558fac9e80 (duration)0:00:10.847928961 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<videotestsrc0:src> doing query 0x558fac9e80 (duration)0:00:10.847962794 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1141:gst_base_src_default_query:<videotestsrc0> duration query in format time0:00:10.847993590 1300 0x558fa68e00 LOG basesrc gstbasesrc.c:1166:gst_base_src_default_query:<videotestsrc0> duration -1, format time0:00:10.848025720 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1386:gst_base_src_default_query:<videotestsrc0> query duration returns 10:00:10.848055368 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<videotestsrc0:src> sent query 0x558fac9e80 (duration), result 10:00:10.848085867 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter0:src> sent query 0x558fac9e80 (duration), result 10:00:10.848118497 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<v4l2h264enc0:src> sent query 0x558fac9e80 (duration), result 10:00:10.848148274 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter1:src> sent query 0x558fac9e80 (duration), result 10:00:10.848175978 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5538:default_element_query:<fakesink0> query duration returns 10:00:10.848203181 1300 0x558fa68e00 DEBUG bin gstbin.c:4074:bin_query_duration_fold:<fakesink0> got duration -10:00:10.848232940 1300 0x558fa68e00 DEBUG bin gstbin.c:4098:bin_query_duration_done:<pipeline0> max duration -10:00:10.848262421 1300 0x558fa68e00 DEBUG bin gstbin.c:4318:gst_bin_query:<pipeline0> query 0x558fac9e80 result 10:00:10.945527371 1300 0x558fa68e00 DEBUG query gstquery.c:679:gst_query_new_custom: creating new query 0x558fac7370 position0:00:10.945663684 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element pipeline00:00:10.945764072 1300 0x558fa68e00 DEBUG bin gstbin.c:4295:gst_bin_query:<pipeline0> Sending query 0x558fac7370 (type position) to sink children0:00:10.945853127 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter1 is not sink0:00:10.945938015 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter0 is not sink0:00:10.946020533 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child fakesink0 is sink0:00:10.946102699 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element fakesink00:00:10.946183772 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5419:default_element_query:<fakesink0> position query in format time0:00:10.946259512 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5215:gst_base_sink_get_position:<fakesink0> no sync or no clock0:00:10.946346993 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5237:gst_base_sink_get_position:<fakesink0> in PAUSED using last 0:00:00.0000000000:00:10.946430770 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5271:gst_base_sink_get_position:<fakesink0> using last seen timestamp 0:00:00.0000000000:00:10.946516213 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5341:gst_base_sink_get_position:<fakesink0> res: 1, POSITION: 0:00:00.0000000000:00:10.946600972 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5538:default_element_query:<fakesink0> query position returns 10:00:10.946677119 1300 0x558fa68e00 DEBUG bin gstbin.c:4118:bin_query_position_fold:<fakesink0> got position 00:00:10.946760526 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child v4l2h264enc0 is not sink0:00:10.946843321 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child videotestsrc0 is not sink0:00:10.946926561 1300 0x558fa68e00 DEBUG bin gstbin.c:4136:bin_query_position_done:<pipeline0> max position 00:00:10.947007894 1300 0x558fa68e00 DEBUG bin gstbin.c:4318:gst_bin_query:<pipeline0> query 0x558fac7370 result 10:00:10.947098689 1300 0x558fa68e00 DEBUG query gstquery.c:679:gst_query_new_custom: creating new query 0x558fac7370 duration0:00:10.947173207 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element pipeline00:00:10.947259503 1300 0x558fa68e00 DEBUG bin gstbin.c:4295:gst_bin_query:<pipeline0> Sending query 0x558fac7370 (type duration) to sink children0:00:10.947341669 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter1 is not sink0:00:10.947423816 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child capsfilter0 is not sink0:00:10.947503556 1300 0x558fa68e00 DEBUG GST_STATES gstbin.c:1956:bin_element_is_sink:<pipeline0> child fakesink0 is sink0:00:10.947583148 1300 0x558fa68e00 DEBUG GST_ELEMENT_PADS gstelement.c:2098:gst_element_query: send query on element fakesink00:00:10.947661147 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5470:default_element_query:<fakesink0> duration query in format time0:00:10.947743517 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<fakesink0:sink> peer query 0x558fac7370 (duration)0:00:10.947811886 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<capsfilter1:src> doing query 0x558fac7370 (duration)0:00:10.947849349 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<capsfilter1:sink> peer query 0x558fac7370 (duration)0:00:10.947883145 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<v4l2h264enc0:src> doing query 0x558fac7370 (duration)0:00:10.947918163 1300 0x558fa68e00 DEBUG videoencoder gstvideoencoder.c:1482:gst_video_encoder_src_query:<v4l2h264enc0> received query 5123, duration0:00:10.947996496 1300 0x558fa68e00 LOG videoencoder gstvideoencoder.c:1418:gst_video_encoder_src_query_default:<v4l2h264enc0> handling query: duration query: 0x558fac7370, GstQueryDuration, format=(GstFormat)time, duration=(gint64)-1;0:00:10.948043569 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:3519:gst_pad_query_default:<v4l2h264enc0:src> forwarding 0x558fac7370 (duration) query0:00:10.948074458 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:2973:gst_pad_iterate_internal_links_default:<v4l2h264enc0:src> Making iterator0:00:10.948111698 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3082:gst_pad_forward:<v4l2h264enc0:src> calling forward function on pad v4l2h264enc0:sink0:00:10.948153124 1300 0x558fa68e00 LOG GST_PADS gstpad.c:3455:query_forward_func:<v4l2h264enc0:sink> query peer 0x558fac7370 (duration) of v4l2h264enc0:sink0:00:10.948186883 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<v4l2h264enc0:sink> peer query 0x558fac7370 (duration)0:00:10.948219623 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<capsfilter0:src> doing query 0x558fac7370 (duration)0:00:10.948254771 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4310:gst_pad_peer_query:<capsfilter0:sink> peer query 0x558fac7370 (duration)0:00:10.948287345 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4183:gst_pad_query:<videotestsrc0:src> doing query 0x558fac7370 (duration)0:00:10.948324178 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1141:gst_base_src_default_query:<videotestsrc0> duration query in format time0:00:10.948359955 1300 0x558fa68e00 LOG basesrc gstbasesrc.c:1166:gst_base_src_default_query:<videotestsrc0> duration -1, format time0:00:10.948396492 1300 0x558fa68e00 DEBUG basesrc gstbasesrc.c:1386:gst_base_src_default_query:<videotestsrc0> query duration returns 10:00:10.948430788 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<videotestsrc0:src> sent query 0x558fac7370 (duration), result 10:00:10.948466325 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter0:src> sent query 0x558fac7370 (duration), result 10:00:10.948503676 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<v4l2h264enc0:src> sent query 0x558fac7370 (duration), result 10:00:10.948538157 1300 0x558fa68e00 DEBUG GST_PADS gstpad.c:4206:gst_pad_query:<capsfilter1:src> sent query 0x558fac7370 (duration), result 10:00:10.948570602 1300 0x558fa68e00 DEBUG basesink gstbasesink.c:5538:default_element_query:<fakesink0> query duration returns 10:00:10.948601027 1300 0x558fa68e00 DEBUG bin gstbin.c:4074:bin_query_duration_fold:<fakesink0> got duration -10:00:10.948636120 1300 0x558fa68e00 DEBUG bin gstbin.c:4098:bin_query_duration_done:<pipeline0> max duration -10:00:10.948670767 1300 0x558fa68e00 DEBUG bin gstbin.c:4318:gst_bin_query:<pipeline0> query 0x558fac7370 result 10:00:00.0 / 99:99:99.Statistics: Posted by Karakurt — Wed Jul 23, 2025 10:31 am