dipalig / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

mix audio or apply effects on video with ffmpeg options (libavfilter) #397

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Hi,

I am using ffmpeg recorder to implement touch to record like vine app, 
Now i want to apply effects like sepia, grayscale to video, from research i 
came to know that using below ffmpeg command,

command = "ffmpeg -y -i 'inputfilepath' -strict experimental -vf 
colorchannelmixer=.3:.4:.3:0:.3:.4:.3:0:.3:.4:.3 -s " + size+ " -r " + 
frameRate+ " -aspect 4:3 -ab 48000 -ac 1 -ar "+ 
recorderParameters.getAudioSamplingRate()+ " -vcodec mpeg4 -b:v "+ 
recorderParameters.getVideoBitrate() +" "+ strRotatePath;

can you please suggest me any other way to apply filters on video android 

Thanks 
Bindal

Original issue reported on code.google.com by Bindal...@gmail.com on 17 Dec 2013 at 10:41

GoogleCodeExporter commented 9 years ago
libavfilter can do that kind of thing, but the API does not support the options 
as given on the ffmpeg command line, so you'd have to figure out the API for 
what you need... Supporting the command line options of FFmpeg would be a good 
thing, I agree.

Original comment by samuel.a...@gmail.com on 23 Dec 2013 at 4:06

GoogleCodeExporter commented 9 years ago
Issue 434 has been merged into this issue.

Original comment by samuel.a...@gmail.com on 22 Feb 2014 at 1:51

GoogleCodeExporter commented 9 years ago

Original comment by samuel.a...@gmail.com on 22 Feb 2014 at 1:52