I am making an application in which i need to make the video of the screen of user interaction with app.
I searched a lot and found that some are able to make videos by using javacv and set of images but they are not able to record sound.
can I want example code of how to create a video from a set of images
EDITED :
i want to make a video from a set of images.
is that possible ?
Related
I want to implement screencast feature in my Android app, i.e. Recording the audio and the screen video at the same time and converting it to a .mp4 file.
I got to know that there are some Media Codecs inbuilt in the Android SDK, but the issue with those ones is that I will need to record video and the audio separately and then stitch both of the elements together to create a complete video.
I want to know if a library exists which can directly record both the Audio and Video without the need to stitch them later on.
Thanks in advance!
this project can help you get started here
I want to capture images when the video is being played in the android app. It will be great if anyone can please let me know the libraries for the application
What you can do is capture the video and the do some sort of post-processing that splits the video file into the frames that you want.
There are a few libraries/tools available that enable you to do this in java.
https://bigflake.com/mediacodec/
http://www.xuggle.com/xuggler/
https://github.com/jcodec/jcodec
Is their any source code or sample project which allows to record video of the running screen of application.
I have to make an application which has ability to record video of the application screen in android devices.
I search about this, but haven't find anything.
I have developed it.
For that you have to make background service and programmatically capture screenshot on every second and after that combine all images and make video using FFMPEG.
I hope it will work for you.
Let me know if you need more help in same.
i am developing an android app for my ip camera, and the camera has some specific api commands that it can respond to. the problem i am stuck on is that i want to display a list of videos available on the memory card of the camera. I am getting the file list but i also want to get the thumbnails of those files.
The problem in getting the thumbnail is that i don't have any direct IP address of the video, the camera only provides me two things for accessing the video
1. RTSP URL of the video
2. Data stream of the video, so that i can download it in my code.
Can someone tell me how can i get the thumbnail of the videos if i have the above mentioned available options?
Note: there's also one API available in the camera for providing the thumbnail of the video, when i send that command it returns me one frame of the video, currently it is sending me the corrupt frame and this method is not working, that's why i am focusing on getting the thumbnail from the other two available options.
any help will be highly appreciated.
Thanks
You could open a socket and stream a few seconds from each video, saving the file locally on your Android device.
Once you have it there, so long as it is a recognisable video format, you should be able to create a thumbnail in the usual way (http://developer.android.com/reference/android/provider/MediaStore.Video.Thumbnails.html).
You would need to be careful to make sure that your app actually did not try to play these truncated videos, and went instead to the proper stream URL if someone wanted to view them. You could actually deleted the file after creating the thumbnail if you wanted to be sure.
Doing this may take a little time initially if your camera has a lot of videos, but you should be able to set it up to only create thumbnails for new videos once it has run once which should speed things up.
It is also possible to create thumbnails from streams directly using ffmpeg or VLC (e.g. https://superuser.com/q/592160) but I think you may find the above approach is simpler for your needs and it avoids you having to integrate ffmpeg etc with your app.
I would like to add one video to the main screen of my application but I want to user to be able to do other things in the app meanwhile. Think about some video animation or flash movie for some website that you can watch the video and look on other things in the website.
lets say I have buttons and more things in the same screen and I want a small video to be playing there too in a loop.
is this possible?
I thought that Flash movie could be good for that, but its only for latest versions of android then I don't want to use it.
Thanks.
You can just use the VideoView.