javacv
javacv copied to clipboard
Java interface to OpenCV, FFmpeg, and more
Exception in thread "main" org.bytedeco.javacv.FFmpegFrameRecorder$Exception: av_write_frame() error -22 while writing video packet
How to solve this problem
For FFmpegFrameGrabber, setFrameRate is invalid. When grabImage is still decoding, this method can be optimized.
Hi, I am trying to generate stream of frames after reading it in Java 8. ``` FFmpegFrameGrabber gb = new FFmpegFrameGrabber (videoFile); Stream.iterate(grabber.grabImage(), x - { try { return grabber.grabImage()...
Hello I was trying to check if there is cuda gpu but I get this error \modules\core\src\cuda_info.cpp:62: error: (-217:Gpu API call) unknown error in function 'cv::cuda::getCudaEnabledDeviceCount'
When I attempt to create the following filter: "zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=mobius:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p,scale=1920:1080" the filter throws an exception when attempting to start: org.bytedeco.javacv.FrameFilter$Exception: avfilter_graph_parse_ptr() error -22 The filter in question works fine from ffmpeg...
There seems to be a problem with the FFmpegFrameRecorder that worked fine from 1.5.1 to 1.5.3. It seems that there is no problem if the codec is mpeg4, but when...
Hello, I would like to ask if javacv has an interface to detect video clip frame, snow field or color bar detection
In my application I use the `FFmpegFrameRecorder` with the following configuration: ```java recorder.setFormat("matroska"); // mp4 doesn't support streaming recorder.setAudioCodec(AV_CODEC_ID_NONE); recorder.setVideoCodec(AV_CODEC_ID_H264); recorder.setPixelFormat(AV_PIX_FMT_YUV420P); recorder.setFormat("mp4"); recorder.setVideoQuality(24); recorder.setFrameRate(fps); ``` Setting the video quality (`recorder.setVideoQuality(24);`)...
not enough frames to estimate rate;consider increasing probersize