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.
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.
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 will build a simple program that
Can play video file (.mp4) in my program.
Can extract the video, so that I can get the title, length, subtitle, and the audio, etc.
What is the library in Java that I should use?
I have googled, but I still can not find the best library. By the way, I have tried to download xuggler, but I can not find any file.exe that can install this library.
Please be kind because I never make a code regarding video player and video extractor.
For playing audio and video in your java program use Java Media Framework. It contains jar files that will provide you classes to play and handle audio and video files.
Use this tutorial for understanding of JMF.
I have successed to use xuggler in java. Xuggler website is suck because they don't keep good installer in their website. Every beginner who use xuggler must be have some trouble like me.
For every one who want to use Xuggler, you can follow this website
http://www.benfarahmand.com/2012/11/tutorial-using-xuggler-in-processing.html
the link to download file.exe xuggler is here: https://www.dropbox.com/s/oh7zcyilibzfoyb/xuggle-xuggler.5.1.0-win64-setup.exe
Thank you :)
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.
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.