floens / player Goto Github PK
View Code? Open in Web Editor NEWVideo player for Android based on mpv
Video player for Android based on mpv
Hi,Floens
When the playback pauses, rotate the screen orientation, the video display position will be misplaced.
best regards.
Hi Floens,Can not be compiled under mac os:
make: Nothing to be done for `all'.
gmkdir: cannot create directory ‘/lib’: Permission denied
gmkdir: cannot create directory ‘/lib’: Permission denied
gmkdir: cannot create directory ‘/include’: Permission denied
gmkdir: cannot create directory ‘/share’: Permission denied
gmkdir: cannot create directory ‘/share’: Permission denied
MediaCodec is the API on Android that implements hardware accelerated video encoding and decoding. FFmpeg implements it as one of their hw backends. The FFmpeg implementation calls the Java MediaCodec methods with the JNI.
A few notes:
The jni is constantly attached and detached to the native thread, causing a new Thread
object and related objects to be created multiple times per frame. This causes enormous spikes in memory that causes the GC to kick in every few seconds.
This issue is easy to resolve: don't detach the jni thread at all.
Fixed with FFmpeg/FFmpeg@376d8fb
On a Nexus 9 (or just Nougat?) the H264 profiles are not detected properly, resulting in slow playback / incorrect color profiles.
MediaCodec has a native api since Lollipop. Since this app is only supported on Lollipop or higher, we might change the FFmpeg implementation to use the native version. The author of the ffmpeg mediacodec wrapper has kept this in mind, see the note at the top of mediacodec_wrapper.h
. The api is aligned with the one of Android.
Should be doable, but it isn't high priority because it isn't going to magically fix the issues above: the code uses buffers that aren't copied between the jni and native code so the jni performance impact is minimal.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.