https://github.com/skyfe79/ffmpeg-wrapper
convert ffmpeg **application** into a library for android
https://github.com/skyfe79/ffmpeg-wrapper
Last synced: 12 months ago
JSON representation
convert ffmpeg **application** into a library for android
- Host: GitHub
- URL: https://github.com/skyfe79/ffmpeg-wrapper
- Owner: skyfe79
- License: lgpl-3.0
- Created: 2015-07-30T09:14:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-30T19:39:32.000Z (about 11 years ago)
- Last Synced: 2025-02-14T21:29:49.312Z (over 1 year ago)
- Language: C
- Size: 227 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
FFMPEG is one of the most popular video/image processing library. Not only is it optimized for x86, but also for arm and
mips. Therefore not only does it run on powerful enterprise x86 servers, but also arm/mips based smartphone/tablets,
both iOS and Android.
This project mainly focus on Android platform.
=====================================
What makes this project different
=====================================
1. Works as a library, not a single process. There are quite a few of ffmpeg-for-android open source projects in github,
those project uses ffmpeg as an independent process.
2. Change the source code as little as possible. FFMPEG is a very dynamic project, which is upgraded very often. I want
to make sure the changes are very few, so that when it upgrades, I don't need to change too much.
=====================================
What was changed
=====================================
1. main() -> __main()
2. hook log_infrastrucutre to Android's
3. exit() -> longjmp()
For an Linux app, 'exit on error' is a good enough approach, but not for a library - it would crash the whole process.
So all the exit is changed to longjmp back to Java layer