Export to GitHub

javacv - issue #506

How to apply sepia effect on grabed frame before record it


Posted on Aug 17, 2015 by Helpful Elephant

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

Comment #1

Posted on Aug 17, 2015 by Happy Kangaroo

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

Comment #2

Posted on Aug 18, 2015 by Helpful Elephant

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);

Status: Duplicate

Labels:
Type-Enhancement Priority-Medium