javacv
javacv copied to clipboard
Java interface to OpenCV, FFmpeg, and more
I want to get multiple frames in a row, but the grabber.grabImage() method is too slow, can it be optimized? Below is my code `int flag = 1; List lists...
Hi everyone,I'm having an unsolvable problem when trying to take a screenshot of a video The version number I use : 1.5.6 my code ``` java private static void cutOutFirstOfVideo(String...
The sound goes well for about 100 seconds and then breaks off. FFmpegFrameGrabber grabber = new FFmpegFrameGrabber("file.mkv"); grabber.start(); FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("rtmp://live-fra.twitch.tv/app/live_", 1920, 1080, 2); recorder.setInterleaved(true); recorder.setVideoOption("tune", "zerolatency"); recorder.setVideoOption("preset",...
How to assign specific video bitrate and audio bitrate values ? When I try to the code in the below, I take wrong response. void processVideo() { System.setProperty("org.bytedeco.javacpp.logger.debug", "true"); FFmpegLogCallback.set();...
Can I cut the audio? For example, how can I cut a 10 minute audio file to 5 minutes
I couldn't get the code to compile due to some missing imports and other errors, but I hope this works. Can you by any chance test this? #1876
Hi everyone, I'm trying to record&play only audio but i keep getting the same error. org.bytedeco.javacv.FFmpegFrameRecorder$Exception: No audio output stream (Is audioChannels > 0 and has start() been called?) (For...
I'm building a local video player and I'm currently trying to create the feature similar to youtube where it shows little preview frames when hovering on the seekbar/slider at the...
hi , I have a lot of videos that need to extract audio, the service often crashes, I try to add synchronized, but it still appears, there is no error...
When using ffmpegframegrabber decoding, I want to get only one frame of data per second. I want to ask if ffmpegframegrabber provides such parameter settings. I use setframerate, but it...