Android reverse playback and frame by frame

I am trying to create an application with the following functions:

  • normal video playback

  • slow video playback

  • frame by frame

  • reverse video playback (normal, slow, frame-by-frame)

  • to search at a specific time

  • video cleaning

  • No need for video sound

  • video is recorded using the device’s camera

The closest comparison to the app will be the UBSense Coach app for iOS and Coach Eye on Android, although there are others and they all have these features.

I considered several options:

  • First created in Android Media Player, which cannot really do anything I need.

  • Then MediaExtractor / decoder, looking at the code for Grafika ( https://github.com/google/grafika ), which cannot be played backwards.

  • Tried to pull each frame as needed with MediaMetadataRetriever, which is too slow (100 ms per frame) and the GC is on the way.

  • I looked at the library, which could potentially solve the problem, until it failed.

With MediaExtractor, I already have the ability to play video, forward frame or full speed. But I do not have this luxury in the opposite direction, and the search takes some time, since I need it without artifacts.

When you try to move in the opposite direction, even trying to find the previous synchronization and moving towards the frame, before what I had at present, this is not feasible without a huge delay (as expected).

I am wondering if there is a better codec that I could use, or a library that I haven't come across yet. And he would prefer to avoid the need to create something ordinary in his own code, if possible.

Thanks in advance

Michael

+7
android video reverse playback
source share

No one has answered this question yet.

See related questions:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to keep Android activity state by saving instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
572
Moving a list in reverse order in Python
24
Play video in Java (JMF, Fobs4JMF, Xuggler, FMJ)

All Articles