File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes extracting audio from video files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "extracting audio from video files" Watch "extracting audio from video files" New topic

extracting audio from video files

kalle svensson

Joined: Oct 05, 2009
Posts: 13
hi, salooners!

I am just wondering how to go about creating a tool that extracts audio data from videoclips like mp4's using java. I have browsed through
the Java sound api to get some inspiration, and Google's part, but has no redeeming name. Is there anyone who is or has been involved in a similar project?
Any tip, links or enlightening hints will be very much appreciated.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
If you can use QuickTime for Java (which limits you to platforms supporting QuickTime: OS X and Windows), then it's pretty easy to save the audio as an AIFF or WAV file.

On OS X, you can add QuickTime support for other formats through Perian and Flip4Mac.
I agree. Here's the link:
subject: extracting audio from video files
It's not a secret anymore!