I want to split the video into images using Java. Then, I want to convert the images into bytes. I tried finding a solution, but was not able to solve it up.
Can anyone let me know the solution or example code of the same?
Thanks
Broadcast the video via an RTP stream from the PC. Use the Daroon player on the Android to play the video.
Related
googled and found some libraries like xuggle, vlcj and how to convert video to audio. But I want to stream audio without making it as a separate audio file using java. Please help.
It might be possible to use vlcj for it even though it feels like a strange way to go since it's a library created for video playback.. but if you just don't set a video surface then it might play only the audio.. not sure if it's possible through the embeddedmediaplayercomponent but it should be possible if using the DirectMediaPlayerComponent.
Can you please tell me how to remove audio from a video. I dont want to extract audio. I want to remove the audio in android application using JAVA
If it is possible can you please tell the framework or any library from which I can do that.
Thanks in advance
Your question is quite misleading still i guess you want to remove audio from video, for that you need to use ffmpeg framework and you can remove audio https://superuser.com/a/268986 as suggested in this post.
I need to reduce size of audio and video files in an Android app.
Can I use FFMPEG library for this, if yes please help with code or some tutorial link.
Or if there exists some other way to achieve this, please suggest.
Yes, you are able to do it using FFMPEG.
Quick Google search:
Here.
I have an audio file in .3gp format on my Android device which I wish
to upload to YouTube. I know that YouTube is a video upload site and
that I need to convert this sound file to video.
I just want an image to display all the time the audio is playing.
Google tells me there are number of tools that can help me. But I want
to do this via java code from my Android device.
Please help.
Thanks.
There are tools such as FFMPEG available for free that allow you to, essentially, mix and convert heterogenous streams. That is you can add a bitmap to a video, create video from slide shows and then add sound etc. (See a related question I asked here).
These programs can be executed from within java applications by making Runtime.exec(..) calls.
Sun has an example for stitching multiple JPEGs together into a movie, you can find it here. You should be able to take this example, (its fairly robust), and add what you need to it.
I recommend looking into the Java Media Framework (FAQ)
You can find a vast collection of sample applets/code at the Sun Solutions page. You can find the API on this page. I do hope this is compatible on the Android platform, as I haven't had any personal experience developing for it. But it might be a good place to start.
Where to get streaming (live) video and audio from camera example for Android?
Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, encoding somehow, and sending LIVE stream to server. I need any Open-Source sample that will do this or something like this. Where can I get such one?
Ole have you been able to find any good examples of video or audio broadcasting yet? The best that I have found so far is the SIPDroid project (www.sipdroid.org). I haven't had a chance to review it in depth, but it looks promising.
Here are some project that you want
Ip Camera
http://code.google.com/p/ipcamera-for-android
SipDroid
http://code.google.com/p/sipdroid/source/browse/trunk/src/org/sipdroid/sipua/ui/VideoCamera.java
You can get the codes using SVN or other clients.
Yet to me, the both projects still have issues. If you get the one working well, please tell me.