openshot-qt icon indicating copy to clipboard operation
openshot-qt copied to clipboard

Sound glitches when transitioning from one recording to another

Open BlueScreenOfREKT opened this issue 1 year ago • 9 comments

Describe the bug: Only time I to use OpenShot is when I want to merge multiple videoclips recorded on my Xiaomi smartphone. When I try to preview or export video of those merged clips there are often weird sound glitches right where one clip ends and another starts. It doesn't happen in Kdenlive so files are probably not damaged. Though I might add that when I was recording I usually stopped one and immedietally (like double-tap) started recording another of those clips (my phone camera crashed a few times when the recordings where longer than cca 30 mins, maybe due to some file size restrictions). I also found similar or same complaints on the internet like this one on Reddit. As my files are cca 2.5 GB each I uploaded them to Google Drive

Steps to reproduce the behavior:

  1. download my original video recordings from my Google Drive
  2. add video files to Project Files
  3. add them into a single Track
  4. preview or export the Project (Youtube Full HD profile)

Expected behavior: A clear sound transition between clips (which rarely happened)

System Details:

  • Phone (Camera) Model: Xiaomi Mi 9 Lite
  • OpenShot Version: 3.1.1
  • Operating System: Windows 11

BlueScreenOfREKT avatar May 03 '24 14:05 BlueScreenOfREKT

Hello @BlueScreenOfREKT I was able to replicate this issue in my Windows 11 Pro environment as well using the latest DEV Daily build of v3.1.1 (thank you for sharing your files).

The lead developer will have to look into this for a resolution.

However, I found a workaround for now. I used ShutterEncoder to convert these two files back to .mp4 again. After importing those two new converted files into OpenShot the sound glitch disappeared. You probably can use VLC or HandBrake as well to convert.

Let us know if after converting your file you had a positive experience as well.

Colorjet3 avatar May 08 '24 13:05 Colorjet3

@BlueScreenOfREKT Thanks for reporting this! These audio related issues are always a nightmare to track down, lol. But it's always useful when an issue is reproducable!

jonoomph avatar May 09 '24 04:05 jonoomph

@Colorjet3 Hello again. Sorry for my very late response, I had some important stuff to take care of (school, doctors, etc.) I can confirm no audio glitch with files converted through VLC (didn't even know VLC had this feature - yeah I'm a total amateur in video editing).

I'll be deleting those files from my Google Drive now. Just write me an email if anyone would need some files where this audio glitch is happening.

btw ... @jonoomph your profile pic made my day just a bit better

BlueScreenOfREKT avatar Jul 03 '24 16:07 BlueScreenOfREKT

Hello @BlueScreenOfREKT There has been many bug fixes in the latest dev daily build #12980. Before I ask you to share them with me again, instead, please tell what the name of the files were. I may still have them to test with. If not, I will then ask you to share them with me if you are willing to do so.

Thank you in advance.

Colorjet3 avatar Oct 13 '24 23:10 Colorjet3

@Colorjet3 Hello again, I think those files I've sent you were simply named "1.mp4" and "2.mp4". They were recordings of sorroundings through the train window. If you can't find them just let me know and I will upload again.

I installed the latest daily build, added these files to a new project and unlucky the glitch still seems to be present.

BlueScreenOfREKT avatar Oct 15 '24 11:10 BlueScreenOfREKT

Hello @BlueScreenOfREKT Unfortunately I am unable to find those 2 files. Please share them with me. Thank you in advance!

Colorjet3 avatar Oct 16 '24 02:10 Colorjet3

@Colorjet3 Sure. Here is the new link: https://drive.google.com/drive/folders/1Gguw9d6dk7Sz8lFlzVTGiyZEPZeGeFNH?usp=sharing

BlueScreenOfREKT avatar Oct 16 '24 15:10 BlueScreenOfREKT

Thank you @BlueScreenOfREKT I will play with these 2 files and get back to you with my results and the next steps.

Colorjet3 avatar Oct 16 '24 20:10 Colorjet3

Hello @BlueScreenOfREKT I was able to replicate your issue but unfortunately unable to find a workaround at this time. Obviously this just doesn't happen with every video/audio file and I am unable to figure out what is different about these two files. There are several audio issues like this that are in the queue to be fixed. I am going to add this posting (the link) to the existing open issues for the lead developer to review and make it a priority to fix it.

Update: Please keep the two files around in your Google share for the lead developer to download and test with.

Colorjet3 avatar Oct 18 '24 02:10 Colorjet3