Simplest form: ffmpeg -i foo.gif -c:v libx264 -crf 22 foo.mp4
You can vary crf to change the size to quality trade-off.
11–20 of 46 posts
Simplest form: ffmpeg -i foo.gif -c:v libx264 -crf 22 foo.mp4
You can vary crf to change the size to quality trade-off.
this looks amazing! (beware on mobile for giant gif size) SwifUI is a breath of fresh air compared to xcode builder, that giant unmergeable xml and the constraint madness where really clumsy to work with.
I'm always very careful whenever apple release new technologies for devs. They promote it heavily but actually nobody uses it inside, and it's up to the community to go through all the bugs.
this looks amazing! (beware on mobile for giant gif size) SwifUI is a breath of fresh air compared to xcode builder, that giant unmergeable xml and the constraint madness where really clumsy to work with.
Are you using it for actual apps in production ? I'm always very careful whenever apple release new technologies for devs. They promote it heavily but actually nobody uses it inside, and it's up to the community to go through all the bugs.
this looks amazing! (beware on mobile for giant gif size) SwifUI is a breath of fresh air compared to xcode builder, that giant unmergeable xml and the constraint madness where really clumsy to work with.
Are you using it for actual apps in production ? I'm always very careful whenever apple release new technologies for devs. They promote it heavily but actually nobody uses it inside, and it's up to the community to go through all the bugs.
Large chunks of macOS 11 and iOS 14 are built with SwiftUI, and it's the only way you can build the newer style of widgets on both platforms. They're actually pretty aggressively dogfooding it.
They were slow to pick up Swift internally because they needed ABI stability, but no such barriers exist for internal adoption of SwiftUI.
Very nice! I know you want to show off the buttery smoothness of your animations, but do you really need to dump >200MBs of gifs on that single page? Holy laptop fan smoke!
Maybe safari is more optimized for gifs?
FYI you can use ffmpeg to encode gif as h264/h265 mp4 videos of varying quality or convert to webm which can be played from an img tag, all of which will be orders of magnitude smaller. Simplest form: ffmpeg -i foo.gif -c:v libx264 -crf 22 foo.mp4 You can vary crf to change the size to quality trade-off.
FYI you can use ffmpeg to encode gif as h264/h265 mp4 videos of varying quality or convert to webm which can be played from an img tag, all of which will be orders of magnitude smaller. Simplest form: ffmpeg -i foo.gif -c:v libx264 -crf 22 foo.mp4 You can vary crf to change the size to quality trade-off.
You know you can give feedback without phrasing a question implying that he already should know that, right?