Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Video processing video is faster. how to fix that ? #24

Open
iharshb opened this issue Nov 16, 2017 · 3 comments
Open

After Video processing video is faster. how to fix that ? #24

iharshb opened this issue Nov 16, 2017 · 3 comments

Comments

@iharshb
Copy link

iharshb commented Nov 16, 2017

After Applying shader on video and Processing video by FFmpeg with your sample code which in Wiki page .

Issue : FFmpeg Recording Issue video is faster after video processing with channelmixer .

@muhammad-umair-khan
Copy link
Collaborator

This is happening because you might be missing frames while re-encoding video. If you had some other problem and got it resolved please mention that here to help out other people.
Thanks...

@iharshb
Copy link
Author

iharshb commented Nov 21, 2017

During video processing.

videoRecorder = FFmpegFrameRecorder.createDefault(path, VIDEO_GRABBER.getImageWidth(),     VIDEO_GRABBER.getImageHeight());
videoRecorder.setVideoCodec(AV_CODEC_ID_MPEG4); 

 //If your video is faster than set Frame rate as your VIDEO.
 videoRecorder.setFrameRate(VIDEO_GRABBER.getFrameRate());

//for quality video
videoRecorder.setVideoCodec(AV_CODEC_ID_MPEG4);

@iharshb
Copy link
Author

iharshb commented Nov 21, 2017

Please look at my another open issue #23 still issue is not resolving!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants