chrisnp / javacv

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

How to apply sepia effect on grabed frame before record it #506

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am able to grab video frames and record them. But i want to apply effect over 
each frame and reencode video

Original issue reported on code.google.com by umair.sh...@virtual-force.com on 17 Aug 2015 at 11:48

GoogleCodeExporter commented 8 years ago
If you're talking about avfilter, sure, we're looking for contributions!
Duplicate of https://github.com/bytedeco/javacv/issues/164

Original comment by samuel.a...@gmail.com on 17 Aug 2015 at 12:18

GoogleCodeExporter commented 8 years ago
thx samuel for reply.I am using javacv in android.I am able to get frames and 
reencode video. Now i want to apply filters over video. Kindly Help me in this 
regard.Here is a snippet of my code

 FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(Environment.getExternalStorageDirectory()+"/Download/Vi.mp4");
                    AndroidFrameConverter converter=new AndroidFrameConverter();
                    grabber.start();
                    recorder = FFmpegFrameRecorder.createDefault(f,grabber.getImageWidth(), grabber.getImageHeight());

                    recorder.start();
                    recorder.record(frame);

Original comment by umair.sh...@virtual-force.com on 18 Aug 2015 at 4:44