Want to create custom audio effect in native c/c++ for android - android-mediaplayer

I am working on project which deals with audio video playback in Android KitKat. I am able to play video using video view and it's MediaPlayer helps to modify the audio track of video. I know about Playbackparams which can be used for pitch and tempo shifting but it's available from API 23.
I heard about a library called Sound touch which can be used for pitch and tempo pitching but the source code available for the same shows that it works for WAV files.
I am interested in using sound touch library as a audio effect library which I can place in Android's /system/etc/audio_effects.conf and place the SO file in /system/lib.
But I don't know how to turn this sound touch library in order to make it read audio from Android MediaPlayer as I am planning to call this library in the same as we use presetreverb/equalizer?
Kindly help me out if anyone has done such an implementation.

Related

Change brightness of video and save in photo library in Objective-C, XCode

I am developing and app for iOS platform. The app is about video editing, I want to give users option to change the brightness of the video before saving. I am using GPUImage library for video editing, is there any way I can change the brightness of the video and save it in the photo library. Thanks
P.S. I tried finding the similar issue, sorry if the answer to this question already exist, i could not find that.

Can watch from watchkit run videos?

Is there any way to run videos on Apple watch using Watchkit within my app? I tried finding any video player, but there was nothing. Thanks!
No - there's currently no way to run video on Apple Watch using Watchkit.
Depending on your desired outcome, you may be interested in the Animation capabilities of WatchKit. By adding a series of images into your Watch App bundle, WatchKit allows you to cycle through them at up to 120 fps or slower when fetching images from iPhone.
You could accomplish some pretty amazing results by animating images, although bare in mind image resources need to be kept to a minimum.
I suggest this tutorial on WatchKit Animation
and this Swift framework for rendering UIViews as image sequences in WatchKit.

AVPlayer Video Playback No Sound

I'm using AVPlayer to play back some embedded (.mov) video clips in the bundle and I can't get the audio to playback. Any advice on how to get the audio to play? All I see is the video playing with no audio.
Make sure that the audio in the movie is using one of the support audio codecs. These are listed in the Multimedia Programming Guide if you're using iOS. If you're using OS X, then this list might be more appropriate.

How to embed a video player in NSView?

I want to embed a video player in an NSView. I also want to play different files, passing the path of these files. Is it possible to implement in a Mac application?
For QTKit, the QTKit Application Tutorial - Creating a Simple QTKit Media Player Application takes you through the basic steps.
Take a look at the AVFoundation frameworks now in 10.7 - AVPlayer looks like a good start.

Play video files on iPad

I am on the lookout for some sample code to help me learn how to play movie files (.mp4) on the iPad.
Can anyone help? I can only find a iPhone sample which doesn't work.
See the AVFoundation framework, particularly AVPlayer. There’s also a higher-level class called MPMoviePlayerController that offers simple video playback (it’s easier to use but cannot be customized).