org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -1: Could not open video codec.

Google Groups | Tarun Singhal | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Processing Time

    Google Groups | 8 months ago | Tarun Singhal
    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -1: Could not open video codec.
  2. 0

    Encoder

    Google Groups | 6 months ago | Unknown author
    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -542398533: Could not open video codec.
  3. 0

    When I call FFmpegFrameRecorder the start () method error

    GitHub | 2 years ago | yesong
    org.bytedeco.javacv.FrameRecorder$Exception: Could not open audio codec.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -1: Could not open video codec

    GitHub | 2 years ago | jeketos
    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -1: Could not open video codec.
  6. 0

    GitHub comment 33#54805955

    GitHub | 2 years ago | NamrataBagerwal
    org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -1: Could not open video codec.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.bytedeco.javacv.FrameRecorder$Exception

      avcodec_open2() error -1: Could not open video codec.

      at org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe()
    2. org.bytedeco.javacv
      FFmpegFrameRecorder.start
      1. org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe(FFmpegFrameRecorder.java:590)
      2. org.bytedeco.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:294)
      2 frames
    3. com.ex.videooverlayes
      ServiceVideoCreater.onHandleIntent
      1. com.ex.videooverlayes.errorinfo.copy.ServiceVideoCreater.prepareRecorder(ServiceVideoCreater.java:777)
      2. com.ex.videooverlayes.errorinfo.copy.ServiceVideoCreater.onHandleIntent(ServiceVideoCreater.java:289)
      2 frames
    4. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:146)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames