wpesrc: audio/video muxing will block forever
The pipeline below will be blocked forever:
gst-launch-1.0 wpesrc name=wpe location=https://youtube.com wpe. ! queue ! autovideosink wpe. ! queue ! autoaudiosink
log:
gst.log
but this one will work:
gst-launch-1.0 wpesrc name=wpe location=https://youtube.com wpe. ! queue ! autovideosink wpe. ! queue ! autoaudiosink async-handling=true
This is a problem when i try to use mpegtsmux. Pipeline will not start.
gst-launch-1.0 mpegtsmux name=mux ! filesink location=/tmp/test.ts wpesrc name=wpe location=https://youtube.com wpe. ! queue ! videoconvert ! x264enc tune=zerolatency ! mux. wpe. ! queue ! opusenc ! mux.
log:
gst.log
with a sink set to async=false pipeline will work:
gst-launch-1.0 mpegtsmux name=mux ! filesink location=/tmp/test.ts wpesrc name=wpe location=https://youtube.com wpe. ! queue ! videoconvert ! x264enc tune=zerolatency ! mux. wpe. ! queue ! opusenc ! fakesink async=false
It is impossible to save video along together with audio.
OS: Ubuntu 20.04
Gstreamer: main (14.01.2022)
libwpe: 1.12.0
wpebackend-fdo: 1.12.0
wpewebkit: 2.32.4