# How do I call ffmpeg from a java application to transcode a live webcam broadcast?

**URL:** <https://community.wowza.com/t/how-do-i-call-ffmpeg-from-a-java-application-to-transcode-a-live-webcam-broadcast/37649>\
**Category:** Wowza Streaming Engine\
**Created:** [December 20, 2011, 12:20pm UTC](https://community.wowza.com/t/how-do-i-call-ffmpeg-from-a-java-application-to-transcode-a-live-webcam-broadcast/37649 "2011-12-20T12:20:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Thorpe](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@Steve\_Thorpe](https://community.wowza.com/u/Steve_Thorpe)\
**Post date:** [December 20, 2011, 12:20pm UTC](https://community.wowza.com/t/how-do-i-call-ffmpeg-from-a-java-application-to-transcode-a-live-webcam-broadcast/37649/1 "2011-12-20T12:20:28Z")

</div>

I have the ffmpeg command line I will need to perform the transcoding I require but can find no information about how to call it from the java application. My searches keep bringing me back to Xuggler, but since I need to transcode audio to AAC that does not seem to be an option as Xuggler have remove AAC trascoding due to license issues.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [December 21, 2011, 12:17am UTC](https://community.wowza.com/t/how-do-i-call-ffmpeg-from-a-java-application-to-transcode-a-live-webcam-broadcast/37649/2 "2011-12-21T00:17:29Z")

</div>

Look up the Java exec() method.
