Ffmpeg task

Ffmpeg task

Description

Task to process the cross-platform solution to record, convert and stream audio and video.

Ffmpeg task parameters

Attribute Description Value Required
file The input file yes
todir The output dir no
alias feature alias rename-by-datetime no

Examples

<project name="ffmpeg task">
	<taskdef name="ffmpeg"
		classname="net.sourceforge.ant4x.taskdefs.media.FfmpegTask"
		classpath="PATH/TO/ant4x.jar"/>
		
	<target name="rename-by-datetime">
		<ffmpeg file="video.mp4" todir="res" alias="rename-by-datetime" />
	</target>
</project>