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

Add property fileLengthLimit to YPConfigVideo #821

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MadL0rd
Copy link

@MadL0rd MadL0rd commented Sep 11, 2024

Added video config value for the AVAssetExportSession property fileLengthLimit
May be useful for exporting video with original format mp4

Sometimes AVAssetExportSession increase mp4 video bitrate
so result file might be quite bigger than original from user gallery

Usage example - setting fileLengthLimit to 10 MB:

config.video.fileLengthLimit = 1048576 * 10

For more information check this thread

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

Successfully merging this pull request may close these issues.

1 participant