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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
avcodec_open2() error -542398533: Could not open video codec.
via GitHub by alicanalbayrak
, 2 years ago
avcodec_open2() error -22: Could not open video codec.
via GitHub by kostyaev
, 2 years ago
avcodec_open2() error -22: Could not open audio codec.
via GitHub by yesong
, 2 years ago
via GitHub by jananiarvind
, 1 year ago
avcodec_open2() error -22: Could not open video codec.
org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error -542398533: Could not open video codec.
at org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe(FFmpegFrameRecorder.java:590)
at org.bytedeco.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:294)
at undefined.VideoPlayer.start(VideoPlayer.java:48)
at undefined.VideoEditorFrame$6.run(VideoEditorFrame.java:310)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.