ffmpeg - how to set effect on video in android programmatically? -
i have video save in sdcard, want apply effect black , white , etc. it's functionality editing in video in photo editor or video editor applications.
now want functionality in android programmatically? when user choose black , white color in option should response , change effect of our video , save sdcard.
i have find solution like,
https://github.com/krazykira/videffects
but has not save functionality of video , if go through in "ffmpeg" library not responding quickly?
how can change effect of video , save video in sdcard?
thank you
this link have lot of information regarding ffmpeg , have used in alot of projects use source , ask question on forum regarding ffmpeg surely answers asap
and command greyscale effect on video black & white filter (gray scale):
commandstr = "ffmpeg -y -i /sdcard/videokit/in.mp4 -strict experimental -vf hue=s=0 -vcodec mpeg4 -b 2097152 -s 320x240 -r 30 /sdcard/videokit/out.mp4";
Comments
Post a Comment