977 questions
1 vote
0 answers
108 views
how to resolve pixel jittering in javacv generated video
I am trying to generate video using images, where image have some overlays text and png icons. I am using javacv library for this. Final output video seems pixelated, i don't understand what is it ...
1 vote
1 answer
56 views
JavaCV frame reading not working on Raspberry Pi
i am currently developing an application to scan QR codes with Java and JavaCV. On my mac, it works just fine. Opens the camera, reads the frames and detects + decodes the QR code. When i run the code ...
2 votes
2 answers
4k views
Failed to Acquire Lock Downloading Maven Dependancy
I have this single project dependandcy and every time it tries to download it it downloads stuff for about 2 minutes and then fails with just "Could not acquire lock(s)" <dependencies&...
1 vote
0 answers
65 views
Error when trying to build an android bundle 'File 'root/lib/arm64-v8a/include/cvkernels.h' uses reserved file or directory name 'lib'.'
Error when trying to build an android bundle when applying javacv dependencies in android studio. implementation 'org.bytedeco:javacv:1.4.4' implementation 'org.bytedeco.javacpp-presets:opencv:...
1 vote
0 answers
792 views
How to pass fps_mode option when recording rtsp stream?
I am trying to record RTSP stream and store it into hls so that I can stream it to UI as and when it is required. But the rtsp stream is having a variable frame rate and as per requirement I have to ...
0 votes
0 answers
512 views
Error recording audio with FFmpegFrameGrabber
I am attempting to combine an Audio source with Buffered images to create a video like so: public static void compileVideo(BufferedImage[] bufferedImages, String audioPath , String savePath) throws ...
0 votes
1 answer
504 views
Cannot open RTMP stream with FFMPEG Java Cannot assign requested address
I am trying to open an RTMP stream with avformat_open_input and for some reason i keep getting Cannot assign requested address error. My RTMP URL is correct because i can watch the stream using VLC ...
4 votes
1 answer
668 views
How to Gradle load JavaCV binaries only for current platform?
I'm building a Java desktop app using JavaCV. When my app builds, it's supermassive (1.2GB which is almost all unused JavaCV dependencies). I'm trying to pare down the deps that get loaded, since all ...
1 vote
1 answer
554 views
JavaCV error AAC with no global headers is currently not supported
I'm trying to transcode dhav (one of the container format) to RTSP By JavaCV(FFmpegFrameGrabber + FFmpegFrameRecorder) , It's fine when i transcoding dhav to RTMP , but when I change to RTSP ,error ...
0 votes
1 answer
323 views
Is it feasible to create FFmpegFrameGrabber one by one for single FFmpegFrameRecorder and maintain video stream keep alive?
The reason why I ask these question is I got byte [] of container data(name is dhav) one by one and I need to push that data continuously to RTMP to play。 What's the current progress I made? For now ,...
1 vote
0 answers
263 views
JavaCV DNN RetinaFace Model how to get the face and landmark information
I am using the JavaCV DNN module to build a face detector using the RetinaFace model. Here is the model: https://github.com/serengil/retinaface I am referring to the OpenCV C++ version to develop the ...
0 votes
0 answers
441 views
Failed to decode h264 key frame with DXVA2.0 because returned buffer is to small
I hava a strange problem on Windows with DXVA2 h264 decoding. I recently figured out a ffmpeg decoding limitation for DXVA2 and D3D11VA on Windows and how to solve it, this solution completly fixes ...
0 votes
1 answer
7k views
FFmpeg invalid data found when processing input with D3D11VA and DXVA2 hw acceleration
I'm currently porting my Android streaming app to Windows and for decoding the h264 video stream I use FFmpeg with possible hardware acceleration. Last two weeks I was reading a lot of documentation ...
2 votes
0 answers
975 views
FFMPEG Video conversion
Working on a project which requires conversion from video of quicktime to mp4 format Using the javacv maven library <dependency> <groupId>org.bytedeco</groupId> <...
1 vote
1 answer
1k views
How to Set up JavaCV for Android Studio?
I am trying to implement these techniques and algorithms: Image Filtering, Edge Detection, Image Binarization, Contour Detection, Cell Segmentation using JavaCV But I don't know how to set up JavaCV ...