问题
I need to make video player on Android that is able to play in slow motion and with different playback speeds. I still cannot find a native API or some code to do this. Does Android 2.2 - 2.3 support to video slow-motion and can we control the video playback speed?
回答1:
Yes, from API 23 android has PlaybackParams class .It supports adjustment of playback speed of video briefly given here .
回答2:
You can try exploring libVLC for this. VLC player for Android is almost due. Check their website.
Check this thread that discusses how you do it.. http://forum.videolan.org/viewtopic.php?f=14&t=89296
libVLC developer documentation here with normal playback sample. You need to modify this sample to play the video frame by frame or slow down the frame rate.
来源:https://stackoverflow.com/questions/7618239/does-android-support-slow-motion-video-playback