ubuntu-rockchip icon indicating copy to clipboard operation
ubuntu-rockchip copied to clipboard

Qt v4l2 sound issue

Open Lolmc0587 opened this issue 1 year ago • 6 comments

when running the console show ALSA lib pcm.c:8568:(snd_pcm_recover) overrun occurred

Lolmc0587 avatar Jan 19 '24 10:01 Lolmc0587

I'm not really sure what this is, can you please provide a way to reproduce the issue?

Joshua-Riek avatar Jan 19 '24 14:01 Joshua-Riek

sure. i already made v4l2 working by #307 but when i use the audio configuration is hdmirx. sound output is corrupted with that error image i have tried another output sound devices but that still happen.

Lolmc0587 avatar Jan 20 '24 05:01 Lolmc0587

how to fix this issue?

Lolmc0587 avatar Jan 25 '24 07:01 Lolmc0587

I know it works with gstreamer, but I have no idea what is needed to fix this on v4l2.

Joshua-Riek avatar Jan 25 '24 15:01 Joshua-Riek

Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: Output window was closed Additional debug info: ../sys/xvimage/xvimagesink.c(568): gst_xv_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage Execution ended after 0:00:05.860196956 Setting pipeline to NULL ... Freeing pipeline ...

i use this command gst-launch-1.0 v4l2src device=/dev/video0 io-mode=auto do-timestamp=true ! video/x-raw,framerate=60/1 ! videoconvert ! autovideosink

Lolmc0587 avatar Mar 12 '24 11:03 Lolmc0587

the hdmirx is really slow

Lolmc0587 avatar Mar 12 '24 11:03 Lolmc0587