Is there a solution to implement an "low-speed" scrubbing on Exoplayer2? - android

I'm working on an application who needs some precision when scrubbing on the videoplayer, in order to get an image from the video.
The problem is, the timebar is too imprecise.
I'm looking to implement a solution like the native iOS player, when you scrub and you swipe down your finger to slow down.
-> https://lifehacker.com/how-to-control-the-audio-and-video-scrubbing-speed-on-y-5811660
If you have a solution, it would be really cool.
Thanks in advance !

Exoplayer cannot do this for streaming. A similar discussion has been seen regarding AVPlayer - to allow the described behaviour for streaming, and some have suggested making snapshots which would also not be close to your want of getting the same behaviour as on the example you have provided.
If you are looking for this kind of experience I would recommend heading over to movi.ai to get your hands on our cross platform solution with this ready out of the box.

Related

Animate After Effects animations natively in Android

We have a team that will create AE animations (including parallax, sound effects etc.) and I need to play those animations on Android as exactly they are, triggering them by swipe. For Android and AE first thing comes into mind is Lottie, that I've tried for small stuff. But what we need is more advanced and complex.
Only thing that I need to do is taking the AE animation and play them on Android.
Maybe it's possible with Unity, but as I've never worked with Unity, it's out of my knowledge how to do it.
Any kind of help is appreciated.
There is no way you can do complex animation on android using After Effects still you can go to Unity Documentation and search Android Animation to know more. Unity Documentation Android Animation

Build a simple Android 360 videos playback app with gyroscope

I'm trying for almost a week now to find a way to build an Android app that can simply play a 360 video and to be navigated using the gyroscope sensor, No luck till now.
I just need some help to find a way to build this app using Android Studio.
Also I tried "Panframe" and I couldn't really get something out of it. Don't know if it so hard or complicated or whatever.
Thanks for your help in advance guys.
Google has introduced this VR View. It might help.
Learn more-https://developers.google.com/cardboard/vrview
Check out MD360Player4Android. This does what you want. It rotates the 360 video on Motion as well as touch basis.
Maybe this sample game from google might be a good starting point
Here is a api documentation for android if you need it.

Android SDK for determining the music being played around you?

I'm looking into creating an android app and wanted to make something that could show what people around the user are listening to. Is there any way to do this? I've been looking at the Spotify SDK and it dosen't appear to be possible, but I wanted to confirm.
Sarah Markers,
To identify the music being played around you, I would suggest you to read this article http://www.royvanrijn.com/blog/2010/06/creating-shazam-in-java/ .
I could not find anything on Spotify SDK which can help you with determining the music.

Best way to make a video merging mobile app

I am looking to make a mobile app that will allow the users to take X number of videos and it will combine them together to make a single video. Users will also be able to choose what to put in between each video recording and background music.
I have more experience with Xamarin/C# than with native Java/Obj-C but the only method I have found online that might accomplish this would be with using native with FFMPEG. Is this the case? Is FFMPEG even going to work for this? Is there a way to use Xamarin to accomplish what I need to do?
Thanks
Have a look at the AVMutableComposition and its related classes.
There's an example here, about halfway down the page: http://www.raywenderlich.com/13418/how-to-play-record-edit-videos-in-ios
It looks like it's covered by Xamarin: http://iosapi.xamarin.com/index.aspx?link=T%3AMonoTouch.AVFoundation.AVMutableComposition

drawing Media Player UI for Android

I am realizing my own media player am using ffmpeg for decoding and libjnigraphics(Bitmap,SurfaceView,...) for rendering.
I got it working now i want to get an attractive UI i want to display play/pause/stop/next buttons in the bottom of my screen with circular buttons etc like in the actual video players available in the market and in the following picture
How a similar UI is realized in android ?
I searched a lot over the net but i didn't find anything interesting
I would be thankfull if someone gives me tips about making similar UI
If I understand what you're trying to do you should take a look at this answer here:
Android: How to create video player?
by Commonsware and also to his sample application Vidtry.
Hope this helps. :)

Categories

Resources