-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
intersink/intersrc - A/V delay #56
Comments
Hello @hjanuschka #55 Covers some of this as well. Are you able to share any of the aspects of the file and system you are running it on ? We have a version that now uses interpipe to solve some of the issue of intersink/intersrc due to the way they split buffers and create a new clock. Sadly I've not had time to backport these changes. But we have had much more success with them. |
As for the CPU problem you could run brave with one of the GST_DEBUG option running to identify if there are buffers that are get stuck. https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c |
debugging didnt bring any light, it show sometimes dropped frames, sometimes high latency. sometimes, frames are missing in the V pipeline, and sometimes they are stuck for a couple of i'v been trying to hlssink the whole thing, with a 3-5s delay, and kept restarting the tcp/mixer on a regular basis :o - but that feels way too hacky. any chances i can give the interpipe branch? thx for your feedback. details: resolution: 1920x1080 when testing, with TCP output, it sometimes is "just" client issue, like vlc is lagging. |
system: 8 cores, nvidia card (although no nvdec is used and stuff like that) - using nvdec, might reduce the issue a bit, since it might free a couple of cpu resouces, although it won't solve the problem :/ |
I can't promise an ETA but when i can find some time to work on this I'll push some changes.
Brave uses playbin3 for files, this elements combines many smaller elements together to achieve de-muxing and decoding of the streams in the file. Should you have HW acceleration and the correct libraries installed it should use. |
@moschopsuk really would appreciate, to see how it can be ported to interpipes, let me know when there is something, i can look at, would also love to contribute to it. ohh, yeah, thats correct about playbin3, anyway, cannot get rid of the occasianal stutters and resulting delays. |
There's discussion on replacing intersrc and intersink with Ridge Runs interpipe? Is therre any update here? |
having a simple input
file
running in a loop, and producing a TCP output.produces - over time, like 12h+ a significant A/V delay.
it is not really about the time/hours, it seems once the cpu usage on the host is peaking/blocking the x264 encoder, audio continues flawless but video lags slightly behind.
folks at voc2mix, also have suffered that issue, they somehow overcome it with restructuring their pipelines. voc/voctomix#58
however, they cut out the tcp input - for that to work, and don't really support dynamic inputs (in general they drift more in a SDI-only direction)
currently i am playing around with: https://github.com/RidgeRun/gst-interpipe
you have any idea how to solve the problem (overscaling CPU is one thing, but its no guarantee that even the biggest cpu is working 100% of the running time) - restarting (stop/play) the mixer/output solves it but interrupts the service.
The text was updated successfully, but these errors were encountered: