Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Brad Hards
    @bradh
    Interesting. Had not thought of that. Would be interesting to see how well cameras support it.
    pawarashish564
    @pawarashish564
    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
    Yves
    @YvesZHI
    Thanks @saudet
    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?
    mifritscher
    @mifritscher
    @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
    Yves
    @YvesZHI
    OK got it
    SuryaChundawat
    @SuryaChundawat
    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.
    Samuel Audet
    @saudet
    There is a bug that was fixed recently for Android though, so you'll to use 1.5.4-SNAPSHOT: http://bytedeco.org/builds/
    Yves
    @YvesZHI
    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?
    Samuel Audet
    @saudet
    The receiver might be able to set the frame rate, but I don't believe that's supported by FFmpeg: bytedeco/javacv#1121
    Yves
    @YvesZHI
    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://170.36.52.200/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)
    Samuel Audet
    @saudet
    "Consider increasing the value for the 'analyzeduration' and 'probesize' options"?
    Mohamd J Alanbaki
    @mehmetanbaki
    Hello every one
    I want someone to help me
    with and trusted ocr api or mrz
    to use it
    ???
    Brad Hards
    @bradh
    @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.
    vspirit777
    @vspirit777
    Hi everyone
    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
    vspirit777
    @vspirit777
    even I don't use FFmpegFrameFilter, duration of result video is still different
    vspirit777
    @vspirit777
    any help? :)
    vspirit777
    @vspirit777
    oh I recognize when I change frameRate then video duration is also changed
    any way to keep video duration?
    Samuel Audet
    @saudet
    You'll need to use the same frame rate, yes, try to call FFmpegFrameRecorder.setFrameRate(FFmpegFrameGrabber.getFrameRate())
    vspirit777
    @vspirit777
    oh
    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?
    Samuel Audet
    @saudet
    You can still use the ffmpeg program from Java if that does what you need: http://bytedeco.org/javacpp-presets/ffmpeg/apidocs/org/bytedeco/ffmpeg/ffmpeg.html
    vspirit777
    @vspirit777
    thanks for the reply
    vspirit777
    @vspirit777
    but if we use the ffmpeg program from Java, it seems no way to get output as an OutputStream instead of File
    Samuel Audet
    @saudet
    It's not impossible, but... anyway, to use the fps filter with JavaCV, you'll need to use FFmpegFrameFilter, yes.
    sieme97
    @sieme97
    Hi, I came across JavaCV api just today. I have the following questions.
    1. OpenCv official site also have Java documentation, so which one is the better option JavaCv or Opencv official Java api?
    2. I am interested in android development. Can I use all the features of JavaCv on android?
    3. Does JavaCv provides GPU support?
    HashMap
    @huangxinjian
    Has anyone ever used face-API.js ? :(
    Samuel Audet
    @saudet
    Aashish
    @aashishamrute
    Hi, Any one using JavaCV with sbt ? is sbt-javacv plugin dead ? there is no update from 2018, is there any alternative plugin or workaround to avoid loading all platform jar in sbt build ?
    Samuel Audet
    @saudet
    Aashish
    @aashishamrute
    thanks @saudet I will check this
    izrh
    @izrh
    Who has a guide? Thank you
    @sieme97 Have you found the answers to your three questions?
    izrh
    @izrh
    How many video formats does javacv support?
    Samuel Audet
    @saudet
    @izrh For FFmpeg, we can list them using the ffmpeg program: http://bytedeco.org/javacpp-presets/ffmpeg/apidocs/org/bytedeco/ffmpeg/ffmpeg.html