How to convert mov file to mp4

780 views
Skip to first unread message

Raghu

unread,
May 14, 2009, 8:55:31 AM5/14/09
to xuggler-users
Hi
I'm writing a simple java application to convert mov file to mp4 or
3gp using xuggler.
I'm able to convert mov to mp4 using ffmpeg :

ffmpeg -i in.mov -f mp4 out.mp4

I want to implement same using xuggler java api(Converter).

Please let me know the arguments to pass to the converted calss.

thanks
raghu

Art Clarke

unread,
May 14, 2009, 9:55:14 AM5/14/09
to xuggle...@googlegroups.com
Did you try java -jar %XUGGLE_HOME%\share\java\jars\xuggle-xuggler.jar in.mov out.mp4

And to use a user-supplied (rather than guessed) video codec, pass "--vcodec libx264" for H264 video, or "--acodec libfaac" for AAC audio.

- Art


--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFMPEG in Java.
Reply all
Reply to author
Forward
0 new messages