OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.16k stars 524 forks source link

Audio cutting out at 2 minutes into video #1315

Closed bopha99 closed 5 years ago

bopha99 commented 6 years ago

System Details:

Issue Description and steps to reproduce:

I've made a video with many different clippings from multiple sources. I then add a song to another track. By this time my computer is very slow so I go to export the video with the song. After the video is exported, the song always seems to stop about 2 minutes into the exported video when a new clip starts. How do I fix this problem so that the song continues to play throughout the whole video? Thanks in advance.

WolfieMar commented 6 years ago

what about me? when i try to make a vid and it hits like 1:30 mark the music stops and video lags. and hen i explort the music just stops.

peanutbutterandcrackers commented 6 years ago

@DylanC, @N3WWN and @ferdnyc - I think this problem deserves some veteran attention... Therefore calling the avengers. Please help! :)

DylanC commented 6 years ago

@bopha99 Can you try v2.4.2 and let us know if you have any success?

IzzySoft commented 5 years ago

@DylanC I'm running 2.4.2 on Linux Mint 18.3 (just installed from your PPA today) – and yes, I have the very same problem: regardless of which MP3 file I take, the music stops at 1:49 (guess it depends on some other factors than time, like number of clips or the likes; in my case, it's about the boundary after the 7th clip when counting the opening title as clip). Applies to both, preview and exported video.

If I cut the MP3 about a second before it gets "silenced", audio starts to rattle at that point. Could not do closer tests as it seems my machine is too low-spec (Dual-Core AMD A4-3400 at 2.7GHz with 8G RAM), so even the preview stutters.

Side-Note: Even when previewing the MP3, sound output stops at the very same place. Just did a fresh start of OpenShot, only imported the audio – et voila, same thing again at exactly the same place; so my above guess must be wrong.

My current work-around is using mp3splt to split the sound file into pieces slightly shorter than the "critical number" – but of course I'd prefer not to be bound to that, as it a.o. leaves a bunch of additional files cluttering around – and has an annoying crackling at the "connections".

With the bug still there, may I suggest to reopen this issue?

DylanC commented 5 years ago

@IzzySoft - Maybe try v2.4.3 first and let me know if you still have a problem.

IzzySoft commented 5 years ago

@DylanC I would, but it's not yet in the PPA. OpenShot shows me there's an update available, so I assume it has been released – but apt cannot yet find it.

PS: The 2.4.3 AppImage doesn't seem to have that issue. Still, waiting for the *.deb in the PPA to confirm.

DylanC commented 5 years ago

@IzzySoft - That sounds positive. The PPA will have a delay before getting an update as far as I know.

IzzySoft commented 5 years ago

Could as well mean something specific to some libraries (or their version). Let's wait until the PPA is updated. If that version then has the same issue while the AppImage has not, we can check library versions.

A pity that OpenShot still crashes that often – or is that just me? Had that with the 1.x versions in the past and today (the one shipping from the default repos on Mint 18 / Ubuntu Xenial still is a 1.x), and still have it with 2.4.x from your repo as well as the AppImage. Is that a known thing?

ferdnyc commented 5 years ago

Logs. Logs, logs, logs. See CONTRIBUTING.md for instructions. That document says to download the daily build, but the collection procedure is the same for installed versions.

(Don't overlook the part in CONTRIBUTING step 3, about deleting the existing logs before you start.)

Ideally you'd want to reproduce both sides of the issue as concisely as possible:

  1. Launch OpenShot
  2. Add the audio clip to the Timeline
  3. Activate the preview, and stop once it encounters playback issues (after a few seconds)
  4. Perform an export that results in a bad file
  5. Exit OpenShot

The log files will be huge as it is in debug mode, so if you can reproduce the issue with as little unrelated activity as possible it'll be a big help.

IzzySoft commented 5 years ago

@ferdnyc I happily oblige as soon as 2.4.3 is available in the PPA (which currently still has 2.4.2 as most recent) and the issue still persists. As I wrote, the issue does not exist in the 2.4.3 AppImage – so either it's solved, or some library is the culprit. No need to bloat it it's solved :wink: