Are there any examples on how to encode animated WebP for Android,
or maybe someone was successful and can guide me through it?
I have a batch of webP images, and I want to create an animated one from them,
There is the libwebp library, however, it does not support animated webP, If I understood correctly from what I read, I need to use 'webpmux' and I have no idea how to integrate and use it.
I saw this post from 08/11, it's not relevant for me because I need to create an animated webP, not a single one.
Even if there is any GIF to webP library, that's good enough.
Thanks in advance, any help will be greatly appreciated!
Amongst its many capabilities, ffmpeg will encode a series of PNGs as a webp animation with alpha.
In this eample, files 0001.png to XXXX.png, where all the images are the same size.
ffmpeg -i %04d.png animation.webp
Related
I tried many things so far, is here anyone who knows how I can encode a animated webp file?
I tried to rename a gif into a webp file (sometimes this helps) but that doesn't convert it. I need a real animated webp file.
Thanks in advance
I am making an app that generates GIF from images taken on camera.
I have used two libraries to generate GIF, this one and this one, but both generate GIF with awful quality. Image is posterized.
For example, here is the original image:
and here is the image generated by Gifflen library:
There are some apps on Google Store that generate GIF and don't destroy image quality. Is there a way to increase GIF quality (generation time increase is ok) or is there another library that can generate GIF?
EDIT
Like Wildopper said in the comment, it is probably dithering of the image that is causing the problem. Here is the explanation on Wikipedia, but I don't know how to implement it.
I have this interesting problem. I need to convert animated SVG or just plain SVG to a video format either on the client side (iOS/Android) or on the server side (.NET).
There does not seems to be a way to accomplish it.
My initial approach was to animate SVG using Core Animation (on iOS) and convert that to a video, but a similar solution does not exist in the Android world.
My next approach was to use FFMPEG, but that too fell short. then I shifted my focus to .NET, but that too, nothing came out of it.
I'm looking for some general direction. Can it be done?
The idea is to take multiple SVGs and convert them to a video file along with some audio.
Thanks in advance!
I would like to use WebP format to animate GIFs as the alternative to native GIF format or MP4, but I have no clue how to actually decode it in Android and show it in the view.
The Giphy app could be used as the reference. I would like to achieve similar result with the webp animation.
I found a 3rd party library - Fresco (Facebook). It provides a view for the animation as well as animates it. But this library increases the build size by several(!) megabytes.
Does anybody have a solution or suggestion how to display the animated WebP animation on native Android (not in WebView)?
Thanks in advance!
The "several" megabytes of Fresco become one megabyte if you ship separate APKs for different CPUs. See the instructions.
I am using the PanoramaGL to render some Spherical images in my App.
My images are more than 3000 pixels larger. I tried using PLSpherical2Panorama of PanoramaGL that supports 2048x2048 but the quality is not good.(I resized my images)
Then I split my panoramas into cubic images, each face got 1527x1527px. I edited the panoramaGL library to support cubic images of 2048x2048px(originally it supported only 1024x1024). The quality was better than spherical2, but yet was not what I expect, and the performance got horrible too.
A friend is making the same app for iOS and he used that library: https://bitbucket.org/javieralonso/japanoview
The result was perfect.
So, my question is: anyone knows any android library that renders spherical or cubic images and have the hotspot feature?
I have found PanoDroid(http://www.frank-durr.de/panodroid.html) that is a library to download Flickr images and transform them into a panorama image.
I had to change a lot of things in the library and just use her kernel, but the result was very good. Panodroid do a great job with big images.
But unfortunatelly Panodroid don't implement Hotspots. I will have to add this feature into the library.
--EDIT--
Frank Durr had transformed PanoDroid into a open source project.
Here is the link to his explanations: http://www.frank-durr.de/?p=26
And here is the link for the OpenPanoDroid: https://github.com/duerrfk/OpenPanodroid
You can also now use Google VR's VrPanoramaView
https://developers.google.com/vr/android/reference/com/google/vr/sdk/widgets/pano/VrPanoramaView