Skip to content

Files

Latest commit

author
Hugo Ramos Freire Neto
Feb 23, 2017
66e51b9 · Feb 23, 2017

History

History
18 lines (16 loc) · 498 Bytes

README.mkd

File metadata and controls

18 lines (16 loc) · 498 Bytes

##Titanium Appcelerator Wrapper for Android FFMPEG Module (https://github.com/WritingMinds/ffmpeg-android-java)

USAGE

var ffmpeg = require('com.badoque.ffmpeg.android')
var cmd = "-y -i " +  inputVideoPath + " -strict experimental -s 160x120 -r 25 -vcodec mpeg4 -b 150k -ab 48000 -ac 2 -ar 22050 "+ outputVideoPath; //comand to compress video
ffmpeg.execute({
	cmd: cmd,
	successCallback: function(e){
		//sucesss
	},
	errorCallback: function(e){
		//error
	}
});