the better way to trnascode the audio and video files in java? - java

i am looking for api's for trans-coding the audio video files in java,
i am currently trying out the xuggler project but can't done much with this need some recommendation which will be suitable for my requirements
audio video trans-coding
bitrate and frame rate management for media files
cut and save the parts of audio and video
burn the files to cd dvd
the above operations i need to do please guide which api's will help
currently i am looking an vlcj and handbreak the open source projects.
help required

Related

How to play an .mp3 file reversely in java

I want to develop an android application in which the user can play an .mp3 song file reversely ( playing backwards).
I have searched a lot on the web and the stackoverflow, but I haven't found anything useful and basically I'm short on the main idea behind this scenario.
So I'd like to know if there are any java libraries for manipulating .mp3 files or sample applications. Any insight is appreciated :)
A possible solution is to convert it to WAV (on the fly) and then play it using the following answer:
Play WAV file backward

Android - Play (mp3) from memory while streaming

Sorry about the weird title, I couldn't think of anything better.
In my Android App I want to stream an .mp3 file from an http server, which requires basic authentication. The task is to download the data and save it to the sdcard while playing. (Basicly streaming an mp3 from an http server but also saving the file)
I managed to download the mp3 from the server to the sdcard and to play the downloaded file with the Android MediaPlayer class. But playing only works right when the file is downloaded completely. I want my App to play WHILE downloading.
Can someone point out a good solution to this problem? I thought about using some third-party audio library to stream mp3 audio from memory but I couldn't find anything useful for my problem. Are there any good free librarys for Android that suit my needs?

Library that can extract and play video file

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 :)

Converting audio files(.3gp) to video with Album cover and uploading to YouTube

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.

Video Upload Applet

i am working on a small project that i need the ability to let users upload a video to my website or use a webcam to record a video and then upload it. i have seen this done on several sites (youtube,facebook etc) so i know that there is a java or flash applet that supports this. however i have not been able to find one.
can anyone recommend a good flash or java based video uploader with these features?
Is a video upload control different from a file upload control?
Here's a Flash file upload control.
Here's a link to a Ajax file upload control.
If you search Stack Overflow for "Ajax file uploader" or "Flash file uploader" you'll get more recommendations.
Edit:
Here's a flash recorder and uploader.
http://www.a8dropzone.com have a upload applet with built in media transcoder (based on ffmpeg so you can feed it pretty much anything)

Categories