Android : Build a video - android

I'm trying to develop an app on Android and I would like to know if it's possible to build a video with photos.
I actually have several pictures (Bitmap), and I would like to create a video (programmatically) by animating these pictures I have. At the end, I would have a video file..
Is that even possible?

Yes it is definitely possible in android and can be achieved in two ways.
First and most common one, that most of the apps in android follow is to let users select certain images and then upload them to a server where you can use any video maker tool to create your desired slideshow and then send the video back to user's phone by provide a download link.
Second method is to create the video locally on the device which would require a native library like ffmpeg compiled for android which provides basic functionality of creating video but it doesn't provide any way to apply transition effects between images for that you can use another library ImageMagick. you need to have knowledge about NDK for this
follow this links for more details on how to import native lib in android

Related

Making an app like Udacity - How to host video files?

I'm building an Android app that works similar to Udacity app.
My requirements
All my videos should only be viewed via the app.
I will be using my own video player inside the app, and I want the
option to choose quality of video (Like in YouTube app)
Offline download option
Considering these requirements, how would I want to host the videos?
I'm familiar with the Android app side of things, but the rest I know nothing.
Did 3 hours of googling before posting this question here, and found out udemy is using AWS and Brightcove.
Can anybody explain the procedure of hosting and encoding videos for my requirements.
Firstly, big organizations like Udemy, Coursera and Udacity design and develop their own video encoding tool to show in the application. Udacity, for instance, has two modes - YouTube and their own player which the user can set based on their preference.
You can't develop your own codec or player in a jiffy, it needs a lot of dedication and more work which one person cannot develop in days.
For your query, you can use ExoPlayer, YouTube Embed, Vimeo Player, related kinds of open source or publically available players.

React Native - Is this possible to access the camera by using the CameraRoll Api?

I am working on my app project which also deals with the camera, photos & videos.
I want to use the standard APIs not third party developers APIs, by standard APIs i mean those APIs which are documented on the react native official website.
I found CameraRoll API in the documentation and my question is whether it is possible to achieve the following using this API?
Access Photos & Videos
Select Photos & Videos
Open camera and take Photos & Record Videos
I am sure about the first two that we can achieve, but doubtful about the third. Can anyone tell that can we achieve the third by using CameraRoll API?
Yes
No
No
The documentation clearly says what the API can and can't do. getPhoto() will only return a promise containing an array with image information, no actual images. You'd have to implement a custom viewer.
And it can't access the camera, only stored files.
If that's what you want to do react-native-image-picker is your best friend.

Taking target image from camera using Vuforia

I have an idea to make an AR android app using Vuforia and Unity3d with Android Studio. I have never worked with Vuforia so i don't know if it is possible or not.
Basically in app user can set target for Vuforia through mobile camera and he can also assign which object is displayed on that target. For example user takes a picture of a glass as a target and he also sets a video of how glass is made (from uploading or through youtube link). And then video is augmented on glass target.
i don't know if its possible? and how?
any tutorials and guidance would be appreciated.
thanks :)
In order to track an image target you have to create database in your case a user defined one. And this database should be created using Target Manager from Vuforia webpage. Then you have to download this database and add it to your Unity project like this. Therefore, I do not think you can create image targets while your game is running.

Display Vector-based pdf's within a self-contained Android songbook app

I want to create an Android version of an iOS songbook app titled ELS Hymnbook.
It displays vector based sheet music. I am having trouble finding a way to display the PDF files in Android without using a 3rd party viewer. Can Android display a pdf within the app based on a search result or song list selection? We are working in conjunction with the iOS developer of this app. I do not want to use a web view - I want the app to be completely self-contained.
There are built-in APIs to render PDFs

Communication between two apps in Android

I have a question regarding the communication between two apps in Android. Below is my question,
Let's say I'm watching a video using any mobile browser or a native android app. Firstly, Can I Use something like an snipping tool (or an alternative tool) to crop a persons face in the video (and this should not send my video running application to background)? and Secondly, Can I send the cropped image to another native android app (my own created app) running in the background?
Is this possible, please let me know.
First of all you need to download the video you are watching and then you can edit/crop video but while editing your video player app will go in back ground.
And yes you can definately share video with other app, for that you ca nuse MediaStore class.
http://developer.android.com/reference/android/provider/MediaStore.html

Categories

Resources