-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I tinkered a little bit with your nice ffmpeg4j and used some home videos as source. With ~10% of the videos I had problems.
- Assertion desc failed at libswscale/swscale_internal.h:670
The error happens when I call FFmpegSourceStream.registerStreams()
More precisely in FFMpegInput.registerStream(FFmpegSourceStream sourceStream, int stream_index) at this line:
FFmpegError.checkError("avcodec_open2", avcodec.avcodec_open2(ctx, codec, (avutil.AVDictionary) null));
- Exception in thread "main" com.github.manevolent.ffmpeg4j.FFmpegException: unsupported codec type: 3
at com.github.manevolent.ffmpeg4j.stream.source.FFmpegSourceStream.registerSubstream(FFmpegSourceStream.java:212)
at com.github.manevolent.ffmpeg4j.FFmpegInput.registerStream(FFmpegInput.java:136)
at com.github.manevolent.ffmpeg4j.stream.source.FFmpegSourceStream.registerStreams(FFmpegSourceStream.java:80)
at incubator.FFmpeg4jExperiments.openVideo(FFmpeg4jExperiments.java:44)
at tool.FFmpeg4jTree.main(FFmpeg4jTree.java:65)
Metadata
Metadata
Assignees
Labels
No labels