javacv
javacv copied to clipboard
Java interface to OpenCV, FFmpeg, and more
hi, I use FFmpegGrabber to pull the rtsp stream, with parameters timeout and stimeout set to 5 seconds. If the network is connected at the beginning, the program can obtain...
Hi, I met a problem when grab local video file and remote rtmp concurrent, when the rtmp is no stream, the rtmp's grabber's start method will block in the start...
Hello, I'm trying to capture and display rawvideo stream via sdp file. There is a perfect solution with the command line but when the process is done through java ffmpegframegrabber,...
I have to admit that this might not be directly related to javacv as it might be a general ffmpeg problem but not 100% sure. There was recently a fix...
```java new Thread(){ public void run() { FrameGrabber grabber = null; try { grabber = FFmpegFrameGrabber.createDefault(cameraInfo.getRtspHD()); System.out.println(grabber.getPixelFormat()); //3 } catch (org.bytedeco.javacv.FrameGrabber.Exception e2) { e2.printStackTrace(); } grabber.setOption("rtsp_transport", "tcp"); grabber.setImageHeight(576); grabber.setImageWidth(720); String...
This is my image input pseudocode ```java int inputCount=0; whlie(true) { byte[] imageBytes = producePngImage(); if (inputBytes.length == 0) { continue; } pipeOutputStream.write(imageBytes); inputCount++; } ``` this is my FFmpegFrameGrabber's...
Hello! Hope you're doing well. I'm having some issues with FFMPEGFrameGrabber. Most of the time, when calling the `start()` method, the grabber does not grab any frames from the RTMP...
When using FFmpegFrameGrabber with a wifi camera, the images can have lots of artifacts. here's an example: ![Screenshot_20240417_151528_TRUCE](https://github.com/bytedeco/javacv/assets/33471488/2f754439-d070-4753-aecf-d0c3a48a8510) this is the code I am using ``` FFmpegLogCallback.set() log("attempting connection to...