views:

169

answers:

7

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.

+1  A: 

You can simply upload 3gp directly to youtube. There is no need for a converter.

Professor_Calculus
But he wants an album art for the video channel.
Martijn Courteaux
Isn't he ok just showing a blank screen? He really just wants the audio upload right?
Professor_Calculus
@Professor_Calculus: The album art is required too.
Samuh
+1  A: 

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.

Patrick Auld
+1  A: 

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.

Justin L.
+2  A: 

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.

Samuh
A: 

Aunsoft Video Converter helps you convert between various formats. It is the must-have conversion tool for video lovers, and enables you to enjoy movies on computer, to further edit video for creation, to present video on HDTV, and to publish video online in web-friendly format. You can control your video and music on popular portable devices including iPad, Nexus One, HTC Hero, Zune, iPod, PSP, Apple TV, iPhone anytime anywhere.

With this powerful converter, you can also convert videos for video editing software like Adobe Premiere, Windows Movie Maker, Sony Vegas, and upload video to YouTube and MySpace to share videos.

http://www.aunsoft.com/video-converter/

carlalva01
A: 

Aunsoft Video Converter helps you convert between various formats. It is the must-have conversion tool for video lovers, and enables you to enjoy movies on computer, to further edit video for creation, to present video on HDTV, and to publish video online in web-friendly format. You can control your video and music on popular portable devices including iPad, Nexus One, HTC Hero, Zune, iPod, PSP, Apple TV, iPhone anytime anywhere.

With this powerful converter, you can also convert videos for video editing software like Adobe Premiere, Windows Movie Maker, Sony Vegas, and upload video to YouTube and MySpace to share videos.

http://www.aunsoft.com/video-converter/

carlalva01
A: 

hi guys,

Why not Try iSkysoft video converter for mac to convert iPad, iPhone, iPod and more video formats & almost all popular audio formats to mac.

marrysen