-
Notifications
You must be signed in to change notification settings - Fork 242
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
Keep the video resolution (dimensions) #42
Comments
Compression is literally the reduction of frames per second and frame size. |
It is not. See Wikipedia they talk about lossless, lossy, machine learning, image differencing, inter-frame compression, but not about reduction of fps or frame size. That is not compression, you are not compressing anything, just throwing data out. |
Apple has pre-defined compression models. AVAssetExportPresetLowQuality Perhaps if the concept of native compression is not enough for you, you need to create your own algorithm for this. |
Just don't call it compression it will confuse many users. Apple doesn't
call it compression either, these are quality presets.
You can compress a cake: make it occupy less volume (size) with the same
mass (data) by pushing (compressing) it against something. Or you can throw a
slice of the cake to the garbage which will free-up some size in your
fridge, but it is not called compression.
…On Wed, 23 Sep 2020 at 13:33, Jonny Borges ***@***.***> wrote:
Apple has pre-defined compression models.
AVAssetExportPresetLowQuality
AVAssetExportPresetMediumQuality
AVAssetExportPresetHighQuality
Perhaps if the concept of native compression is not enough for you, you
need to create your own algorithm for this.
We simply use what the native code (and standard recommendations) offers
us.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASCMU4YUE6QPOTN5AOF6NTSHHTKNANCNFSM4RW3SYGQ>
.
|
Is there a way to keep the video dimensions? I want to compress a video not change its dimensions.
The text was updated successfully, but these errors were encountered: