Comments (2)
Thank you for your contribution @husen-hn 🤝
The cause is that Android does not support avi
as standard.
you will need to change the out put file format to one that is supported. Like mp4
.
String outputPath = ' /storage/emulated/0/Movies/fmkr/video.mp4';
This is a screenshot of the result of saving the same file to a file with the same code.
When I save the file as avi
, the thumbnails do not show up and when I open the file, it jags and does not play properly.
![](https://private-user-images.githubusercontent.com/50433979/278846730-31f4d28d-3bea-4e42-b598-058b80594e1b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI3MDY2NjUsIm5iZiI6MTcxMjcwNjM2NSwicGF0aCI6Ii81MDQzMzk3OS8yNzg4NDY3MzAtMzFmNGQyOGQtM2JlYS00ZTQyLWI1OTgtMDU4YjgwNTk0ZTFiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDA5VDIzNDYwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdhZDU1MzEzMDc2NGZhMWJhYjZkZjM1ZDZiY2Y5Njk1NWVlOWU4OGMyNTZjM2M2ZmQxNzM2NWUyZGMyMzA1MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RlGs5GTFErVUebJQYC-HHnv-oT_61OYDnFvp8rSv6tY)
If you get the error even with mp4
, then it is most likely a codec problem.
Please see wiki for more.
from gal.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, Thanks for your contribution.
from gal.
Related Issues (20)
- Consider add some functions to save incoming bytes stream directly to gallery HOT 4
- [iOS] cannot save to target album HOT 11
- Expansion of supported version range of macOS HOT 1
- Add support for Linux desktop platform HOT 13
- Windows platform cannot compile HOT 6
- Open Gallery to album HOT 3
- Allow building macOS apps targeting 10.14 or 10.15 macOS version HOT 3
- Many of my android users report me this error - An unexpected error has occurred HOT 18
- Can't compile for windows in lower than C++ 20 HOT 5
- Android: Failed to build unique file HOT 10
- Can "Gal.putImage" return the path of the saved image, instead of void?
- Adding a name parameter in putImageBytes HOT 1
- 2.3.0 not compatible with gal_linux HOT 1
- Next Breaking Change Candidates
- Macos App is crashing when saving image/video from url/asset path HOT 1
- Warning: The plugin gal requires Android SDK version 34. HOT 3
- Retrieve saved image path after saving to Gallery HOT 3
- An unexpected error has occurred while saving the webp format. HOT 2
- Compliance with Apple's Privacy Manifests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gal.