Interesting. Had not thought of that. Would be interesting to see how well cameras support it.
Hello Everyone, You must have heard the Meme about Compiler that says "If Compiler knows there's missing semicolon on Line 16, then why don't it put one there ! " . I got one idea from the meme . I started developing a tool called "Autocompiler " which will automatically solve common java errors such as missing symbols and brackets. Its on Github if you'r interested Please do contribute . https://github.com/pawarashish564/AutoCompiler
so can anyone tell me that what's the difference between FFmpeg and OpenCV? Can I say that FFmpeg is a tool which is developed with OpenCV library?
@YvesZHI : nope. These are completely different libs. ffmpeg is for video de/encoding (ok, it has a few filters), OpenCV is a generic computer vision lib
OK got it
Can anyone please me how to use ffmpeg command line along with javacv in Android . I am new to this. I am trying to use both writingminds repository and javacv but writingmminds not works.
I've a question about RTSP stream. Let's say we have one RTSP sender and one RTSP receiver. So who decides the speed of sending / receiving?
It seems that I can send RTSP without any receiver, so I think the sender can decide the speed of sending.
But, it seems that we can use the function setFrameRate at the side of receiver, does this mean that the receiver can also control the receiving speed?
so which side decides the speed of data sending and data receiving?
The receiver might be able to set the frame rate, but I don't believe that's supported by FFmpeg: bytedeco/javacv#1121
I'm using ffmpeg to send a RTSP stream, and use javacv to receive this stream. But when I execute my java receiver, I always get an error:
[rtsp @ 0x7f35b0e3cd80] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, rtsp, from 'rtsp://18.104.22.168/video/file/01': Metadata: title : No Name Duration: N/A, bitrate: N/A Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc [IMGUTILS @ 0x7f35b9b2d4c0] Picture size 0x0 is invalid [IMGUTILS @ 0x7f35b9b2d4a0] Picture size 0x0 is invalid Processing frame 0... Exception in thread "main" java.lang.NullPointerException: Pointer address of argument 1 is NULL. at org.bytedeco.opencv.global.opencv_imgcodecs.imencode(Native Method)
"Consider increasing the value for the 'analyzeduration' and 'probesize' options"?
Mohamd J Alanbaki
Hello every one
I want someone to help me
with and trusted ocr api or mrz
to use it
@mehmetanbaki Its a bit unreasonable to expect someone to write your code for you. Have you tried tesseract?
I won't claim it trusted though. You need to evaluate it and potentially retrain it for your use case.
I'm trying to use FFmpegFrameGrabber, FFmpegFrameRecorder and FFmpegFrameFilter to encode video
but duration of result video(12 seconds) is different with the original video(10 seconds)
anyone know how to resolve this? please help, thank so much
even I don't use FFmpegFrameFilter, duration of result video is still different
any help? :)
oh I recognize when I change frameRate then video duration is also changed
any way to keep video duration?
You'll need to use the same frame rate, yes, try to call FFmpegFrameRecorder.setFrameRate(FFmpegFrameGrabber.getFrameRate())
but if I use ffmpeg, it still keep duration, maybe ffmpeg automatically duplicate/drop some frames to keep duration
any simple way to keep duration if I change frame rate with javacv?