javacv
javacv copied to clipboard
Java interface to OpenCV, FFmpeg, and more
Hello, I encountered a problem while using it. I would like to process the image during transmission. What should I do, ` public FFmpegFrameRecorder(OutputStream outputStream, int imageWidth, int imageHeight, int...
package com.zjxf.hsdji.utils; import com.frank.live.FFmpegUtil; import com.zjxf.hsdji.MApplication; import org.bytedeco.ffmpeg.avutil.AVFrame; import org.bytedeco.javacv.FFmpegFrameGrabber; import org.bytedeco.javacv.FFmpegFrameRecorder; import org.bytedeco.javacv.FFmpegLogCallback; import org.bytedeco.javacv.Frame; import org.bytedeco.javacv.FrameRecorder; import org.bytedeco.javacv.OpenCVFrameConverter; import org.bytedeco.opencv.opencv_videoio.VideoWriter; import org.bytedeco.opencv.opencv_core.Size; import java.io.File; import java.io.IOException; import java.io.PipedInputStream;...
This is probably a simple answer but I am new to javacv. I am translating some python to javacv and I am having issues calling the apply2 function of the...
hello excuse me now, I need to merge the subtitle srt file with the video, using the 'subtitles' filter, but I am prompted with this error - No such filter:...
I am using FFmpegFrameGrabber to grab frame images from a video, and doing some image processing, then using FFmpegFrameRecorder to record frames to a new video file. And, I find...
hi @saudet I'm grabbing images from a live streaming, But the data tracker shows the GAP between keyframes and also happens in other frames, Any ideas why? CODE: while ((frame...
How do i add a mp3 to a mp4? Unfortunately both are of different length so can i cut the mp4 to the lenght of the mp3?
avformat_open_input() error -22 Error setting option ``` avutil.av_log_set_level(avutil.AV_LOG_ERROR); FFmpegLogCallback.set(); FFmpegFrameGrabber grabber = new FFmpegFrameGrabber("rtsp://xxxxx"); grabber.setOption("use_wallclock_as_timestamps", "1"); grabber.setOption("rtsp_transport", "tcp"); grabber.setOption("rtsp_flags", "prefer_tcp"); grabber.start(); ``` I used ffmpeg in JavaCV to pull rtsp...
I'm using FFMpegFrameGrabber to consume an rtmp live stream, that streams at 30fps, i tried to set the grabber frame rate using **setFrameRate(4)** and **setOption("framerate","4")** but neither worked. Any help...
Hi, when there is no network, in my ubuntu system, the FFmpegFrameRecorder'start method timeout with 20 seconds, I think this is relative with system? is there some method can change...