Philippe Normand
Philippe Normand
Is that ffmpeg command doing the html overlay? A GStreamer-based approach would probably fit more naturally in voctomix, as I understood anyway you already rely on GStreamer for most things?...
In `OnAudioStreamPacket()` the pts from CEF is actually not used. We compute one based on the initial video framerate, incremented by audio packet duration afterwards. I wonder why?
I experimented a bit in this branch, maybe some folks would like to give feedback! https://github.com/philn/gstcefsrc/tree/audio-things
I've got a new patch in https://github.com/centricular/gstcefsrc/pull/60 -- testing welcome ;)
Might be another bug.
CI failure looks unrelated to this patch.
Test case: ```rust use gst::prelude::*; use gstreamer as gst; use sysinfo::{ProcessExt, System, SystemExt}; fn create_pipeline() -> gst::Pipeline { let pipeline = gst::Pipeline::new(None); let src = gst::ElementFactory::make("cefsrc", None).unwrap(); src.set_property( "url", &"https://webkit.org/blog-files/3d-transforms/poster-circle.html",...
I wonder about reverting e2da7ea7f54cf797a0b7723ea431d6312801aa61 and spinning a GMainLoop in a new thread, tied to the src element.
> we could refine the new approach to stop and restart the UI thread as needed, I would suggest digging in that direction :) I tried that already kindof, but...
Yes I tried moving the UI thread to element scope, not calling `CefShutdown` either, but then on second run the `MakeBrowser` task is not dispatched to the new UI thread......