Search code examples
javaaudiovideojmf

how can i extract audio from a video file through java program


i want to extract audio from video file and save as a audio file of any audio format,is it possible through java program.can i use JMF for this purpose,if yes how?,how can i use JMF in my program code,is there any better way?please post a sample code


Solution

  • See http://www.xuggle.com/. It provides an API that can extra audio and video data from pretty much any file. Lots of examples and demos are provided.