Page 1 of 1
Video Fading
Posted: Thu Oct 31, 2024 5:24 pm
by kenact
Before I start, I still have an issue with getting videos to appear on Screen 2, instead of Screen 1, but that's a different issue that's already been reported.
Video fading works on 5 beta 3, but does not fade the audio along with the video. On 4.13.1 I found a way around that by separating the audio and video into 2 different files and putting them into a collection. I've done the same in 5 beta 3 but the audio is always ahead of the video (or the video is lagging). I haven't found a way to synchronize them in 5 beta 3. In 4.13.1 playing the same collection a second time will put them in sync.
I will have to test with more videos to determine if the difference is consistent.
Re: Video Fading
Posted: Thu Oct 31, 2024 6:26 pm
by kenact
I tested with a few other files and the offset appears to be consistent. When using separate audio and video files, the audio is roughly 900ms ahead of the video. I can sync up the audio & video by adding 900ms to the audio file, and they appear to synchronize all the time.
I did find another problem. Since I can't get my videos to play on Screen 2, I moved QLC+ 5 to screen 2 so I could view the video full screen. When I click the button assigned to the fade collection, the video has 2 perceptible blackouts, just a few milliseconds long, when the fade out starts. This doesn't appear to happen when the video is set to Windowed.
I tried capturing the issue with the XBox capture function, but it won't allow me to capture the video while in full screen, and the problem doesn't occur in windowed mode.
Re: Video Fading
Posted: Mon Dec 09, 2024 7:00 pm
by mcallegari
I have implemented audio volume adjust. Please test with latest GitHub Actions build.
Have I already told you that display output is correct on Linux?
Also, please test this
https://www.qlcplus.org/downloads/test/ ... ?p=Windows
It's the first Qt 6.x build for Windows. Media playback has definitely improved (they finally decided to use ffmpeg, same al VLC)
I haven't checked yet but maybe the display output issue is fixed too.
Re: Video Fading
Posted: Tue Dec 10, 2024 3:36 pm
by kenact
Thanks Massimo. I'm on my way out, but I'll be able to test it tomorrow morning.
Re: Video Fading
Posted: Wed Dec 11, 2024 4:58 am
by kenact
I just tried that version. I'm not able to get the video to fade at all. I tried the standard method of fading audio, and I tried the using the collection that worked to an extent in the current released version 4.13.1. I also tried using the video in a chase and adding a fade out there. None of these worked. I'm not sure if I should be using some other method.
Re: Video Fading
Posted: Wed Dec 11, 2024 9:24 am
by mcallegari
I tested it with a playback slider in the virtual console. So basically you can attach it to a regular Scene fade in conjunction with loopback.
At the moment, the video function doesn't support native fade in/out settings.
I might add it to complete the feature set
Re: Video Fading
Posted: Thu Dec 12, 2024 4:40 pm
by kenact
I tested it again and I must be doing something wrong. I can play the video, but I can't get it to fade. I tried a few different videos (WMV is my default format). Some listed the video and audio codecs as Invalid, though they did play. In this example I used an MP4 which showed H264 and AAC for the codecs.
I've attached my project and a screen shot of the video properties. My video is too big to upload.
Thanks for your work on this Massimo.
Re: Video Fading
Posted: Fri Dec 13, 2024 8:41 am
by mcallegari
Hi Ken, I just downloaded the latest v4 build for Windows and installed it.
Then I downloaded this sample wmv clip
https://file-examples.com/index.php/sam ... -download/
In QLC+ created a Video function.
In Virtual Console created a slider and attached the Video function to it.
Go to operate mode, move the slider and I can correctly see the fading.
Re: Video Fading
Posted: Fri Dec 13, 2024 3:37 pm
by kenact
The version you asked me to try, QLC+_4.13.2-Qt6-GIT-20241207, doesn't fade at all. The current released version, QLC+_4.13.1, will only partially fade the video. I've attached a picture of a video with the fader down to 1. It also doesn't fade audio. We discussed it in this thread,
https://www.qlcplus.org/forum/viewtopic ... ade#p75147
Re: Video Fading
Posted: Fri Dec 13, 2024 4:21 pm
by mcallegari
Sorry for the confusion, they're two different versions to test for two different issues
The ones from GitHub actions are for audio/video fading:
https://github.com/mcallegari/qlcplus/actions
The build based on Qt6 is to test if display on secondary monitor is fixed too. Also, since the backend is based on ffmpeg, the A/V startup lag is much less compared to Qt5. So A/V cues should be much smoother
Re: Video Fading
Posted: Sat Dec 14, 2024 11:42 pm
by kenact
I haven't been able to get QLC+_4.13.2-Qt6-GIT-20241207 to fade videos. Fading still works for audio.
I downloaded QLC+-compile-qt5-4.13.2-20241212-2d87473. The video fades, but not completely, the audio does fade.
For version 5, I downloaded QLC+-compile-qt5qml-5.0.0-20241212-2d87473. For the video/audio fade, this seems to work perfectly, but I still have my video assignment problem. Set to Full Screen only plays on Screen 1, even if Screen 2 is selected. Windowed plays on Screen 1 when selected, but doesn't seem to play video when Screen 2 is selected, thought the audio does play.