-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Loop with external clock and onSync Callback #84
Comments
The first line of log is eof of demuxing, not decoding. eof frame will be decoded several seconds later |
Hello,
I got an application with a kind of video wall output with a max of 4 simultaneous player instances, which are synchronize through the onSync callback and an external clock class. I can do all normal control stuff like play, pause, forward and backward seek, increase playback speed, etc.
The problem is the looping. We concat various video snippets prepended, appended and filled with black video snippets to first of all get the same length for all 4 streams and also fill in black video snippets, when a channel is not supplying a video material for a given timestamp. What happens now is, the looping onLoop callback is not called immediately when one channel got the video EOF. From the player logs we see that the the video eof is fired, but the audio stream eof is comming several seconds later and the player is waiting for it until its doing the loop.
I disabled the external syncronisation and the loop is done immediately. What is missing, does the external clock need to do something, but when and how to know when? Or is it the range setting thats wrong? We use setLoop(-1) and setRange(0, -1).
Following a part of the log output, started by the time the first video ends and until the onLoop callback for the first video is fired. Its about 7 seconds until the loop is processed.
I am using Version 0.19.
The text was updated successfully, but these errors were encountered: