v4l2src doesn't launch always - seems to be a clock issue
Nicolas Dufresne
nicolas at ndufresne.ca
Fri Sep 15 22:42:53 UTC 2023
Le vendredi 15 septembre 2023 à 17:18 -0400, Dwight Kulkarni via gstreamer-devel
a écrit :
> Hi all,
>
> With regards to earlier post about v4l2src, we have narrowed down the problem
> to one set of logs.
>
> Going through the logs, I am finding this DEBUG message keeps repeating when
> the pipeline stream isn't playing.
>
> 0:00:18.777042366 1895 0xaaaafba09600 DEBUG basesink
> gstbasesink.c:5408:default_element_query:<autovideosink0-actual-sink-wayland>
> position query in format time
> 0:00:18.777067992 1895 0xaaaafba09600 DEBUG basesink
> gstbasesink.c:5342:gst_base_sink_get_position:<autovideosink0-actual-sink-
> wayland> position in wrong state, return -1
>
>
> When the pipeline is working properly, I get the following message, instead
>
> 0:00:13.244891490 1917 0xaaab01cec600 DEBUG basesink
> gstbasesink.c:5408:default_element_query:<autovideosink0-actual-sink-wayland>
> position query in format time
> 0:00:13.244928990 1917 0xaaab01cec600 DEBUG basesink
> gstbasesink.c:5200:gst_base_sink_get_position:<autovideosink0-actual-sink-
> wayland> using clock and base time 0:41:42.435970707
>
>
> Can anyone comment on what this error might mean ? Seems like the stream is
> not able to initialize the clock for some reason ?
Its application fault, it means a position query was issued before the sink
reached PAUSED state. Some application will just retry later, some actually wait
properly for playing state to be reached. Maybe you could help us understand
what your application is doing with this query ?
Nicolas
>
>
>
>
> --
> Sincerely,
>
> Dwight Kulkarni
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230915/58c77a04/attachment.htm>
More information about the gstreamer-devel
mailing list