У меня есть небольшой проект go webrt c с сервером сигнализации websocket и частью webrt c с pion.
Но создать поток vp8 или vp9 с помощью gstreamer не удается -> высокий latency
Это конвейер
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=320,framerate=10/1 ! videoconvert ! vp9enc ! decodebin ! autovideosink
, но видео очень запаздывает, и из gst
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
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:
../gstreamer/libs/gst/base/gstbasesink.c(3003): 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:
../gst-plugins-base/sys/xvimage/xvimagesink.c(554): gst_xv_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
Execution ended after 0:00:13.282962300
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
* 1010 печатаются некоторые ошибки * Мой компьютер - i5 с 16G RAM ... должно быть что-то еще