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

Don't use amerge when exporting a single audio clip #1775

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

scribblemaniac
Copy link
Member

In versions of ffmpeg < 3.2, passing a single audio track to the amerge filter is not allowed. This simply skips the amerge step when there is only one audio clip.

This was causing issues for exporting projects with a single audio clip in the Linux AppImage nightly builds where an older version of ffmpeg is currently being bundled.

In versions of ffmpeg < 3.2, passing a single audio track to the
amerge filter is not allowed. This simply skips the amerge step
when there is only one audio clip.
@MrStevns
Copy link
Member

LGTM, thanks for fixing this! I assume it is related to this thread? https://discuss.pencil2d.org/t/nb-cant-export-movies-with-sound/7277/7

@MrStevns MrStevns merged commit f5a6060 into pencil2d:master Jul 18, 2023
4 checks passed
@scribblemaniac
Copy link
Member Author

I assume it is related to this thread? https://discuss.pencil2d.org/t/nb-cant-export-movies-with-sound/7277/7

Yes that is correct. Thanks for reviewing. I'm going to have to go through and check what versions of ffmpeg we need to support for legacy builds as there appears to be yet another issue with ffmpeg 2.x and it would be nice to use a newer version if we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants