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

Convert .gif to .mp4 for preview #6

Open
ShoshinNikita opened this issue Jun 4, 2023 · 0 comments
Open

Convert .gif to .mp4 for preview #6

ShoshinNikita opened this issue Jun 4, 2023 · 0 comments
Labels

Comments

@ShoshinNikita
Copy link
Owner

With the following command we can convert .gif to mp4. (source):

ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4

.mp4 files take up much less space. However, this operation can be quite slow and CPU intensive. And it is not very clear whether this feature would be useful at all.

@ShoshinNikita ShoshinNikita added the 🤔 thinking Not sure label Jun 19, 2023
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

1 participant