Skip to content
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 will not play through headphones #5717

Open
dban532 opened this issue Mar 6, 2025 · 4 comments
Open

Audio will not play through headphones #5717

dban532 opened this issue Mar 6, 2025 · 4 comments
Assignees
Labels
🐞 bug A bug, error, or breakage of any kind

Comments

@dban532
Copy link

dban532 commented Mar 6, 2025

Describe the bug:
The latest Daily Build will not play audio through the headphones when plugged in.

Steps to reproduce the behavior:

  1. Make Sure the Audio Preference is set to "Default"
  2. Plug in Headphones (It really does not matter if they are plugged in before launch or after - hint from an old bug a few years ago)
  3. Launch Openshot
  4. Have at least 1 video that has audio in it; on the timeline
  5. Play Preview
  6. Sound will only come out of the speakers
  7. Check Windows Control Panel>Hardware and Sound>Sound>Manage Audio devices. With Headphones plugged in, they should be (and are), marked as "Default Device"

Expected behavior:
When the headphones are plugged in, I expect sound to come through the headphones. When disconnected, I expect sound to come from the speakers.

System Details:

  • OpenShot Version: OpenShot-v3.3.0-daily-13379-76d6a9a7-8d9fd63a
  • Operating System / Distro: Windows 11 Home 24H2 Build 26100.3194
  • Lenovo Legion 5i
  • Intel i9-14900HX
  • 32GB DDR5
  • Nvidea RTX 4070 laptop
  • External monitor Dell SE222H, 1920x1080p,60Hz, connected via HDMI, output is from Nvidea 4070
  • Speaker Drivers Realtek High Definition Audio (SST) 6.0.9679.1 5/7/24
    • Allow applications to take exclusive control....ON
    • Give exclusive mode applications priority...ON
    • Allow hardware acceleration...ON
    • Enable audio enhancements...OFF

Log Files:
libopenshot.zip
openshot.zip
openshot-qt.zip

Exception / Stacktrace:
If you are experiencing a crash or strange output on the command line, please attach a small snippet of the exception here, but please keep it as small as possible (for readability).

Screenshots: (Optional)
If applicable, add screenshots to help explain your problem. To include screenshots, copy/paste them here, drag the image(s) into this form, or click the link below this edit field to load images saved to your computer. All images are public, so please don't post screenshots containing personal information.

Image Image
@Colorjet3
Copy link
Collaborator

  1. OpenShot sometimes struggles with headphones.
  2. It definitely matters when to plug/unplug an audio device. Never do it while Openshot is open/running. It does not handle changes like that gracefully.
  3. If you let your computer go to sleep while Openshot is open, then upon waking up the audio will stop working until you restart OpenShot.
  4. Close OpenShot.
  5. Plug your headphones.
  6. Make a backup of c:\users\username.openshot_qt folder.
  7. Delete c:\users\username.openshot_qt folder.
  8. Start OpenSHot and test audio. If still having issues continue with step 9.
  9. With your headphones plugged in, start OpenShot and test the audio. If not audio then try this:
    a. Go to Edit | Preferences | Preview tab and change the "Playback Audio Device" from Default to "WindowsAudio: yourheadphone". Restart OpenShot and see if the audio works. if not, go to step 9.b.
    b. Go to Edit | Preferences | Preview tab and change the "Playback Audio Device" to "DirectSound: yourheadphone". Restart OpenShot and see if the audio works.

@dban532
Copy link
Author

dban532 commented Mar 7, 2025 via email

@Colorjet3
Copy link
Collaborator

Most likely you are right about the Nvidia card and audio related issue. OpenShot even sturggles with hardware acceleration with NVIDIA cards and currently if you enable hardware acceleration in Edit | Preferences | Performance tab you will experience even more issues so it is absolutely recommended that you do NOT enable/change Performance tab settings.

This is something that requires the lead developer to look into (@jonoomph )

@Colorjet3 Colorjet3 added the 🐞 bug A bug, error, or breakage of any kind label Mar 8, 2025
@dban532
Copy link
Author

dban532 commented Mar 8, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug A bug, error, or breakage of any kind
Projects
None yet
Development

No branches or pull requests

3 participants