Comments (11)
Why are you using inputStream.getFD()
instead of setDataSource(Context context, Uri uri)
or setDataSource(String path)
if the video is stored locally?
from ffmpegmediametadataretriever.
I tried that as well and it also returned nulll. I think the library can find the video source because I can extract the metadata, but I cant get the frame.
from ffmpegmediametadataretriever.
Do you have a sample video I can test with? What format is the video in?
from ffmpegmediametadataretriever.
The video is mp4, I can send one later today. I recorded using my samsung S5
from ffmpegmediametadataretriever.
Here's a link to the sample video I used https://dl.dropboxusercontent.com/u/89661846/test.mp4
from ffmpegmediametadataretriever.
I was able to extract a frame from this video using the demo app.
from ffmpegmediametadataretriever.
Hi!
Thank you for replying so quickly! I've retested using the build cloned from https://github.com/wseemann/FFmpegMediaMetadataRetriever/tree/master/fmmr-demo and it does not accept https links (it says metadata cannot be fetched). I've modified the demo app to fetch a video from the gallery and using the FFmpegMediaMetadataRetriever to fetch the bitmap and it's returning null. I pushed the modified build to https://github.com/w2ji/FFmpegMediaMetadataRetriever/tree/demo_test. I can fetch the metadata with no problem, but I just can't get the frames.
The build you've sent me works for the url but it seems like it's different than the one I found at the remote above. is it possible for you to write an example that uses video selected locally from the gallery?
Thank you so much!
from ffmpegmediametadataretriever.
The demo app I emailed you is the same codebase as the demo. Sorry, I don't really have time to make more demo apps since I already sent proof that it will work.
from ffmpegmediametadataretriever.
would you have time to take a look at https://github.com/w2ji/FFmpegMediaMetadataRetriever/tree/demo_test? I've been stuck on this for really long time. Would you happen to have another url that works for your demo?
from ffmpegmediametadataretriever.
from ffmpegmediametadataretriever.
Did you find a solution?
from ffmpegmediametadataretriever.
Related Issues (20)
- FFmpegMediaMetadataRetriever解析不了flac格式 HOT 3
- How to import FFmpegMediaMetadataRetriever();? HOT 4
- OpenSSL lower then 1.1.1i HOT 3
- Embedded coverart overwrites comment field
- it seems like the customer header not working by use method setDataSource ,please fix it ,thanks HOT 4
- getScaledFrameAtTime returns black bitmap on some videos HOT 7
- Get thumbnail from HLS VOD content HOT 2
- libavformat.so #00 pc 000b50d8
- Can not use FFmpegMediaMetadataRetriever HOT 2
- how to use it with recyclerview ? HOT 1
- What is the reason of memory increasing. HOT 1
- Can it retrieve frames of a video at 24fps rate? HOT 1
- Uncatchable crash setDataSource code -1 (SI_QUEUE) HOT 8
- FFmpegMediaMetadataRetriever does not respect video rotation in getFrameAtTime HOT 1
- Android FFmpegMediaMetadataRetriever get Frame from RTSP stream App Crash with A/libc: Fatal signal 6 (SIGABRT) HOT 10
- JNI_ERR returned from JNI_OnLoad HOT 1
- METADATA_KEY_DURATION returns 0 for mp3 on android 6.0.1 but works on other versions HOT 2
- 获取Flv视频格式的缩略图时闪退 HOT 2
- retry后socket没有释放
- App crash FFmpegMediaMetadataRetriever 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 ffmpegmediametadataretriever.