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

Can't compress a video with no sound #28

Open
saulye opened this issue Jun 25, 2020 · 2 comments
Open

Can't compress a video with no sound #28

saulye opened this issue Jun 25, 2020 · 2 comments
Labels

Comments

@saulye
Copy link

saulye commented Jun 25, 2020

If I try to compress a video that has no sound in it, it crashes. Also if I try to compress a video recorded on device camera.

@piemonte piemonte added the bug label Aug 12, 2020
@eoinoconnell
Copy link

For what its worth I resolved this for myself by first checking if the asset I wanted to compress had an audio track before making one in the final composition.

In my case I wanted to combine multiple videos into one and I came across this issue as I assumed that I would always want an audio track in my composition. Adding a check and only adding an audio track if at lease one of the AVAssets I wanted to combine had an audio track solved it for me.

@nyeu
Copy link

nyeu commented Mar 2, 2022

I have the same issue, is it possible?

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

No branches or pull requests

4 participants