-
Notifications
You must be signed in to change notification settings - Fork 548
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
Audio out of sync - preferences will not save #5644
Comments
Hello @paulyingling. I need some clarification in your testing steps so I can try and replicate your issue. Step 1: Before you execute step one to import a video file are you starting openshot and opening up an existing project or are you just starting with a new project ("Untitled Project")? Step 7: When you close OpenShot, it will ask you to restart OpenShot for the change to take effect. So you click OK on that prompt and then when you close OpenShot it should ask you if you want to "Save changes to project before closing?". What do you select here (Yes or No)? I went ahead and did some testing myself in my Winodws 11 Pro environment using the latest dev daily build #12980.
This means the Preview settings are being preserved in this test. Test 02
I am wondering if you have some kind of a lock on the c:\users\username.openshot_qt\openshot.settings file. Please do this:
Let me know how things are working. |
Thanks for looking into this. To answer your questions for Step 1, I have discovered the error to replicate with both an existing project and with a new project. Therefore the error will reproduce in all cases. For Step 7 I have tried both methods you list whereas I click the OK prompt for restarting and then I have selected both Yes and No on separate occasions of saving the project before closing. Both result in the Property value not being saved to change the audio setting. I'll go ahead and perform the steps you recommend for troubleshooting then report the findings. I will post them within the next 12 hours. Thanks again for your expertise in troubleshooting. |
So here are the results and process: Test 1Step 4. Playback Audio Device is set to "Direct Sound: Primary Sound Driver" and not "Default" > Changed to Windows Audio: (...) Test Results > Audio is still delayed as originally posted with both new OpenShot build and established OpenShot build.. Playback Audio device reverted to Direct Sound unprompted. Test 2Still in Daily Build as above. Beginning at Step 4, there is still audio delay with starting and pause. Recommended Follow up steps 1-5
Test 3 ResultsCompleted Steps 1-3 And this is the problem I was originally seeing and had also attempted to troubleshoot. Continued to Step 5 and 6. Step 7. Selection has reverted to DirectSound and did not hold selection of Windows Audio. Imported video/audio fole - same results of delayed Audio. Hope this helps and isn't too confusing. Are there other steps you would recommend taking to continue troubleshooting since the problem seems to be with the retention of the Preferences? |
Thank you for the information you provided. Did you try this: "Please do this:
|
Yes, I'm sorry about the lack of clarity - that was what "Test 3 results" were. |
Hmmm....not sure why you are having this issue.
|
I'm not sure why I'm having the issue either :D
Finally, rechecked Playback Audio Device and changed: Preferences > Preview. Reverted to DirectSound: Primary Sound Driver as in previous attempts.
Thanks again for continuing to think of possible ways to resolve this issue. Cheers. |
Ok. What you are telling me is that any other changes you make in Edit | Preferences are retained/saved when you restart OpenShot with the exception of "Playback Audio Setting". Please provide me with a screen shot of your audio devices in Windows 11:
|
Everything looks good. I am running out of ideas as to why this issue is persisting on this computer. Something else to try is to reinstall the latest dev daily build by:
|
Well I certainly appreciate all the time you've taken so far to help. I ran through all of the steps you listed and the issue continues to persist on the desktop using Windows 11 and the current Dev build #12980. The preferences for playback audio setting will not save. At this point 'll probably just use it on the laptop on the road and start learning KDen Live for the desktop... Thanks again for the help. If you have any other suggestions I'll try them out as you post. |
No worries @paulyingling. It has to be something simple that we are just unable to find. I am going to keep this open in hopes the lead developer will review this and see if he can come up with other ideas. |
Hello, just wanted to chime in here! Hope that's okay. I found this thread through the bug report option, so rather than submit a brand new ticket, I thought it may be more helpful to add a comment. I'm having the exact same issue as the original poster, word for word, including the bit about the audio settings that won't save. The issue persists on any project I use in OpenShot, even old ones that worked fine before, and I never had a similar issue previously. I've tried all the troubleshooting steps above and those on similar Reddit posts without success. My exports work fine without the audio delays--it's just that OpenShot's preview that isn't syncing for some reason. I hadn't used OpenShot for a month or two prior to yesterday, so it is definitely a fairly new issue. The only change to my computer in that time that I can think of is the typical Windows updates. Fingers crossed a solution is found! It is virtually unusable for me at the moment, but I would love to keep using the software in the future. |
Hi, I'm having this identical problem too, it started when I got a Windows update this past weekend. |
Thank you @Sprinkletoe and @LettiScreams for reporting this issue as well. Please confirm and do the following so I can have all the information I need for the lead developer.
Here is another thing to try:
I have a Windows 11 Pro and I keep up with all the updates and for the life of me I am unable to replicate this problem. I also run Windows 11 Home and Windows 10 Pro in an Oracle Virtualbox environment and I can not replicate the issue there either. However, the Oracle Virtualbox guest sessions have different audio device/drivers so things behave slightly differently in those environments. Any way, I really appreciate any additional information you can provide so I can add it to the submitted issue that is in the queue. |
I came across this yesterday for the first time. I'm running OpenShot 3.2.1 on Windows 11 Home (24H2), and I went through the troubleshooting steps provided above, including removing everything and installing the latest daily build. But something keeps resetting the "Playback Audio Device" to a "DirectSound" device when opening OpenShot. I tried a couple of things and even made a video about it: https://youtu.be/m--tig2hAT8
|
Hello @paulyingling Please confirm your Windows 11 version (Home, Pro, etc.) and the version (23h2? 24h2?). From the desktop, type "about your pc", excluding the quote and run it. Provide the Edition and Version. |
Thank you @MiGrandjean for all the information you provided. I will be referencing this thread in the posted issue ticket for the lead developer to review. |
Hello @Sprinkletoe & @LettiScreams Please confirm your Windows 11 version (Home, Pro, etc.) and the version (23h2? 24h2?). From the desktop, type "about your pc", excluding the quote and run it. Provide the Edition and Version. Also, don't forget to go through the troubleshooting steps I provided above. |
Hi, I'm on Windows 11 Home and I went back to 23H2 earlier, which seems to have solved my problem. It was definitely the 24H where things went wrong. I can confirm I tried the initial troubleshooting steps mentioned in this thread. |
Hi @LettiScreams Thank you so much for the update. My system has not yet received the 24H2 update. @Sprinkletoe, @MiGrandjean, and @paulyingling Can you guys also rollback your environments back to 23H2 and see if that resolves the issue? This will help the lead developer to better understand the 24H2 upgrade and see why the conflict with OpenSHot? |
I did a quick search on Windows 11 24H2 update and it looks like Microsoft has stopped the deployment which explains why I don't have it yet. There seems to be lots of issues with 24H2 so I really would like to see you guys rolling back the 24H2 and see if the issue with OpenShot disappears. |
Can confirm, went back to 23H2 and now I can change the "Playback Audio Device" to a "Windows Sound" device and it stays that way :) No more audio lag after restarting OpenShot. For everyone else: Looks like you have to be quick, apparently you can only rollback the 24H2 update for 10 days after it gets installed. If anyone wonders how to do it (I didn't have to rollback an update since Windows 7): Go to Settings (pressing Windows + I) and then go to Windows Update > Advanced Options > Recovery > Go back. Worked like a charm for me, but please make sure to have a recent backup of your data, just in case. |
Hello @MiGrandjean Thank you so much for rolling back, testing, and posting the results. It is unfortunate that Microsoft is limiting the rollback to within 10 days only. I did a bit of research and it looks like the only way to go back to the previous version of Windows 11 (Pre 24h2) is to reinstall Win 11 from scratch. Meaning you need to make a copy of all your data, make a list of all your installed applications, and start over. Let's hope that Microsoft figures things out sooner than later. I have not heard from the OpenShot lead developers so I am not sure if he might be able to figure out what is going on but it may not be in his control to fix this issue. |
Thanks for looking into this and the posts following - I won't be home until December, so I'm going to miss that 10 day rollback window. But I'll look into things again when I return home. |
No worries @paulyingling. I'll keep this open for a while until we see something from Microsoft regarding the 24H2 update. |
My Windows 11 Pro receivd the 24H2 update and subsequently 2 more updates (.net & a follow up 24H2 https://support.microsoft.com/en-us/topic/november-21-2024-kb5046740-os-build-26100-2454-preview-2040f716-b719-482a-8aff-f7f02c79b147 update). I am happy to say that I am ALSO experiencing this exact issue ;-) Additionally, I am experiencing Microsoft Defender issue with a ENE.SYS driver and something weird happended to my c:\users\username\Desktop folder. All my icons in this folder are empty even though the icons are still visible on my screen/desktop. Google Drive is also not happy with the c:\users\username\Desktop as it thinkg it no longer exists. The bottom line is that this is good that I can replicate the issue and can work directly with the lead developer in assiting him to troubleshoot. I tried the following before I removed 24H2:
...None of the above helped.
No errors were found and the Audio out of sync and Preferences not saving persists. After uninstalling 24H2 I am back to OpenShot working again. I still have not heard from the lead developer so be patient. This is a small project and he has limited volunteer supporting OpenShot. |
Describe the bug:
Audio from imported video is delayed approximately 1 second on start and delayed 1 second after pressing pause. Changed playback audio device (preferences > preview > playback audio device) from default to windows audio: desktop speakers). when reopening Openshot the default preference for audio has not been retained
Steps to reproduce the behavior:
Expected behavior:
Expect audio to be synched with video since it is from the same source after editing playback audio device and restarting Openshot
System Details:
Windows 11
Processor Intel(R) Core(TM) i9-14900K 3.20 GHz
Installed RAM 64.0 GB (61.7 GB usable)
System type 64-bit operating system, x64-based processor
Preferences before change
Preferences after change
Closed Openshot after saving and restarted openshot. Preferences reverted to default.
The text was updated successfully, but these errors were encountered: