Popping sound and visual glitches in exported videos

Well, thank you for your time. I do appreciate it.

For anyone still interested, I do have an update on the nature of this bug. While it consistently did not play in the editor (see above video), it DOES play in the editor if the timeline is zoomed out enough. It might just have something to do my CPU usage.

Either way, I did manage to fix the popping by re-recording the popping sections in the editor (zoomed in so they don’t pop), then re-attaching them to muted sections of the export. The video is complete.

Now if only my other topic about the warping playback bar would get a reply…

This topic hasn’t been locked yet, so I’m just gonna make another post here instead of making a new topic.

The popping sounds and visual glitches still occur. I thought that maybe splitting my projects into smaller chunks to make rendering less CPU-heavy might work, but it’s done nothing. I’ve exported this same project 20 times now, using different settings. The visual glitches don’t always appear, but the popping sounds are consistent and always in the same spots. Again, these don’t occur during playback in the editor.

In a previous message you concluded that the audio glitch occurs at the end of a sound effect clip. Can you try to apply an “Audio Fade Out” filter on that single clip and see if that helps? The fade out could be as short as two frames.

I tried your suggestion. First, I added audio fade in AND audio fade out to one of the present clips. Exporting gave the same result. Second, I made an extra cut in one of the other audio sources, and applied audio fade out to the first half. Export, no change. Third, I added audio fade in to the second half of the split audio. Export, still pops.
If only Shotcut had an option for merging clips. I think all the separations might be the cause.

One thing you could do to understand the problem better:

  1. Open the exported file in Shotcut
  2. Open the Audio Waveform Scope.
  3. Play the file until you hear the glitch
  4. Back up a little and step frame-by-frame to find the exact frame the glitches
  5. Inspect the audio waveform of the glitching frame(s)
  6. Do the same process with the original project and identify the same frame
  7. Compare the audio waveform for the clean (non-glitch in the preview) and the glitch (exported file)
  8. Paste screenshots here so we can see, too.

Alright, I’ve got my screenshots, but something weird is happening now. When I’m zoomed in all the way, I now hear the popping in the editor, too. In the exported file, the pop plays at the point shown by the playback bar:

https://api-da.wixmp.com/_api/download/file?downloadToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsImV4cCI6MTU4NjU5NjgwMiwiaWF0IjoxNTg2NTc1MTkyLCJqdGkiOiI1ZTkxMzc2MmEyZDA0Iiwib2JqIjpudWxsLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdLCJwYXlsb2FkIjp7InBhdGgiOiJcL2ZcLzQxNDVjNTQyLWE0ZmItNDRlOS1iY2Y3LTk0Y2RlNWQ1ZjdjNFwvZGR1azI2Zi1lNDJkNmNkYi1kYzU3LTRhMDktYmQzMy1iMDBkMDM1MjM3MzAucG5nIn19.7Xt23A-kHfRFjzrkFAwypkXwCpGiufkx7cT_PanhGTw

And in the original project, popping sounds occur both at the beginning and the end of the “Rayman Clear Throat” sound.

It would be helpful if we could see the audio waveform scope on the frame that has the glitch (View->Scopes->Audio Waveform)

Sorry, didn’t know about that window:

I’m almost certain this is the correct frame. I hear the pop every time I click on it with the playback arrowhead.

For an audio pop, I would expect to see a dramatic change in the audio waveform. Does the waveform you show look dramatically different than the previous or next frame? Can you step through the frames and visually inspect to look for an abrupt change in the waveform?

I uploaded a video of the occurence. It’s kind of hard to hear the pop over the sound effect, though.

To the left of the player there is a time code control where you can see the exact frame being displayed. It allows you to step frame by frame. Try to go slower and inspect more closely

Here are 3 screenshots. The 1st is the frame before the pop, 2nd is the pop, 3rd is after the pop.

Based on the pictures, I think at the pop is being caused by this discontinuity:
image

The frame timecode is 00:05:45:23.

Is that frame the last frame of the sound effect?

When you view the audio waveform for that frame in your original project, can you see the same discontinuity?

I can’t find that same dip in the original project, though I was once was able to get it to change shape completely by dragging the playback head back and forth.

EDIT: Just throwin this idea out there… I’m gonna be home all day and am not opposed to discussing this over a Discord call. I could share my screen to make the troubleshooting go faster.

I think so too. You should not split clips to define the start and end of a filter. Again, use filter trimming for that

And you do not need an explicit merge when you can simply lift (delete) one clip and and extend the other. Copy and paste filters from one to the other if you need.

Almost all of the divides are because they’re separate files. This project draws from about 200 different video files and a couple dozen animatic images.

I will not be available for that. But between Dan’s suggestions and the Waveform Scope, you have some tools at your disposal to try to find a work-around.

For example, try changing the order of the narration, background and sound effects tracks. Unfortunately, there is not a feature to reorder tracks. But it would not be too difficult to shuffle the clips around as an experiment.

What other variations can you try to accomplish the same result in a different way?

Well, what I did before was just record the audio directly from the playback using Audacity (in which there are no pops) and attach it to it’s muted counterpart in the export. Kind of like patching it up. It wouldn’t be hard to do, but it sure would be nice if I could figure out how to prevent popping entirely.

Well, the sound effect track seems to be the cause of almost all the popping. So, as my current solution to the problem, I’ll just eliminate it and add SFX to the narration audio when I record/edit it in Audacity. Having less audio tracks in general may even prevent more popping. So for now, I’m considering this issue solved.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.