Hi,
When I have show set up with audio files, whenever the show gets to the end of the audio track the show freezes for an instant. It is not just the UI, the lights stop mid transition as well.
I have attached the show, and one of the audio files, and a link to a video here: https://imgur.com/a/2wrF8Oq
This is with QLC+ 4.12.6 on windows 10, macos, and windows 11 (tried 3 different machines)
Thanks!
Show freezes for an instant at end of audio track
- cnf
- Posts: 14
- Joined: Sat Sep 24, 2022 6:15 pm
- Location: Belgium
- Real Name: Frank
- Attachments
-
- Mario Kart Race Start.mp3
- (75.94 KiB) Downloaded 328 times
-
- PSKM.qxw
- (12.04 KiB) Downloaded 383 times
- cnf
- Posts: 14
- Joined: Sat Sep 24, 2022 6:15 pm
- Location: Belgium
- Real Name: Frank
I have found the following threads that might or might not be related? I am not certain:
viewtopic.php?f=33&t=13748
viewtopic.php?f=33&t=15809
viewtopic.php?f=22&t=15574
viewtopic.php?f=33&t=13748
viewtopic.php?f=33&t=15809
viewtopic.php?f=22&t=15574
- mcallegari
- Posts: 4697
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Please check if the latest test version fixes the issue
viewtopic.php?f=12&t=3135
viewtopic.php?f=12&t=3135
- cnf
- Posts: 14
- Joined: Sat Sep 24, 2022 6:15 pm
- Location: Belgium
- Real Name: Frank
4.12.7 22 behaves exactly the same, i'm afraidmcallegari wrote: ↑Mon Sep 26, 2022 5:27 pm Please check if the latest test version fixes the issue
viewtopic.php?f=12&t=3135
-
- Posts: 430
- Joined: Thu Apr 23, 2015 6:43 am
- Real Name: Ken Coughlin
I was able to download your project to another machine and test it. In the SHOW Window, it does APPEAR to stop, but I captured the screen to video, and looked at it in Sony Vegas. The screen does stop for approximately 2ms, but there isn't any time lost.
I tested this with an audio clip that is 1m10s. The display appears to freeze at 1m10s1ms, but when the display continues, it picks up at 1m10s4ms.
I tested the Show in the VC windows, putting up a button to play the show, and another to play a different audio file. At the point where the audio track in the Show ended, the other track continued playing.
I "THINK" you're seeing a video hiccup, that shouldn't effect how your cues actually function.
I tested this with an audio clip that is 1m10s. The display appears to freeze at 1m10s1ms, but when the display continues, it picks up at 1m10s4ms.
I tested the Show in the VC windows, putting up a button to play the show, and another to play a different audio file. At the point where the audio track in the Show ended, the other track continued playing.
I "THINK" you're seeing a video hiccup, that shouldn't effect how your cues actually function.
- cnf
- Posts: 14
- Joined: Sat Sep 24, 2022 6:15 pm
- Location: Belgium
- Real Name: Frank
Hi, thanks for testing my show!kenact wrote: ↑Wed Sep 28, 2022 2:29 pm I was able to download your project to another machine and test it. In the SHOW Window, it does APPEAR to stop, but I captured the screen to video, and looked at it in Sony Vegas. The screen does stop for approximately 2ms, but there isn't any time lost.
I tested this with an audio clip that is 1m10s. The display appears to freeze at 1m10s1ms, but when the display continues, it picks up at 1m10s4ms.
I tested the Show in the VC windows, putting up a button to play the show, and another to play a different audio file. At the point where the audio track in the Show ended, the other track continued playing.
I "THINK" you're seeing a video hiccup, that shouldn't effect how your cues actually function.
If the hickup happens in the middle of a light transition, the transition stops as well. It does appear to go to the right time as soon as the hickup ends, but any transitions during the hickup freeze. Can you confirm this?
Thanks!
-
- Posts: 430
- Joined: Thu Apr 23, 2015 6:43 am
- Real Name: Ken Coughlin
- edogawa
- Posts: 629
- Joined: Thu May 07, 2015 10:34 am
- Real Name: Edgar Aichinger
I've tried with your project in both Windows 10 and Linux, and I see the issue in Windows only.
In the Show editor, start the show. I can see a very short hiccup/freeze while the playhead enters the audio "block", introducing a delay in starting the sound, and a very noticable halt/stutter when the audio finishes, like you describe.
The lights from track 1 which should flash up the moment the audio starts, in the 2d monitor appear delayed as well, and this delay is different each time I start the show.
I've managed to obtain the second soundfile (the maniac laughing) from Soundbible.com, and the same thing happens there - audio and lights delayed by different amounts, so becoming out of sync.
Next I converted both audio files from mp3 to wav. Tried in the IO page / audio tab to change the samplerate to 48kHz instead 44,1 as it was, and tried setting the output device to my Connexant HD device instead "default", nothing of these actions changed anything noticable.
So II suspect it has to do with Qt5's windows specific audio implementation - if I understand the code in engine/audio/src/audio.cpp correctly, for Qt5 builds the same audo backend (audiorenderer_qt5.cpp) is used on all three platforms.
In Linux the show plays exactly in time, in sync and without stuttering, regardless if started from Show editor or Virtual console.
In the Show editor, start the show. I can see a very short hiccup/freeze while the playhead enters the audio "block", introducing a delay in starting the sound, and a very noticable halt/stutter when the audio finishes, like you describe.
The lights from track 1 which should flash up the moment the audio starts, in the 2d monitor appear delayed as well, and this delay is different each time I start the show.
I've managed to obtain the second soundfile (the maniac laughing) from Soundbible.com, and the same thing happens there - audio and lights delayed by different amounts, so becoming out of sync.
Next I converted both audio files from mp3 to wav. Tried in the IO page / audio tab to change the samplerate to 48kHz instead 44,1 as it was, and tried setting the output device to my Connexant HD device instead "default", nothing of these actions changed anything noticable.
So II suspect it has to do with Qt5's windows specific audio implementation - if I understand the code in engine/audio/src/audio.cpp correctly, for Qt5 builds the same audo backend (audiorenderer_qt5.cpp) is used on all three platforms.
In Linux the show plays exactly in time, in sync and without stuttering, regardless if started from Show editor or Virtual console.
- cnf
- Posts: 14
- Joined: Sat Sep 24, 2022 6:15 pm
- Location: Belgium
- Real Name: Frank
Thanks for testing!edogawa wrote: ↑Wed Sep 28, 2022 3:15 pm I've tried with your project in both Windows 10 and Linux, and I see the issue in Windows only.
In the Show editor, start the show. I can see a very short hiccup/freeze while the playhead enters the audio "block", introducing a delay in starting the sound, and a very noticable halt/stutter when the audio finishes, like you describe.
The lights from track 1 which should flash up the moment the audio starts, in the 2d monitor appear delayed as well, and this delay is different each time I start the show.
I've managed to obtain the second soundfile (the maniac laughing) from Soundbible.com, and the same thing happens there - audio and lights delayed by different amounts, so becoming out of sync.
Next I converted both audio files from mp3 to wav. Tried in the IO page / audio tab to change the samplerate to 48kHz instead 44,1 as it was, and tried setting the output device to my Connexant HD device instead "default", nothing of these actions changed anything noticable.
So II suspect it has to do with Qt5's windows specific audio implementation - if I understand the code in engine/audio/src/audio.cpp correctly, for Qt5 builds the same audo backend (audiorenderer_qt5.cpp) is used on all three platforms.
In Linux the show plays exactly in time, in sync and without stuttering, regardless if started from Show editor or Virtual console.
I have not yet tried it in Linux, only on windows and MacOS.
I’ll see if I can get a Linux machine with a GUI installed going here.