Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion desc failed at libswscale/swscale_internal.h:670 #7

Open
dwaal opened this issue Apr 6, 2021 · 2 comments
Open

Assertion desc failed at libswscale/swscale_internal.h:670 #7

dwaal opened this issue Apr 6, 2021 · 2 comments

Comments

@dwaal
Copy link

dwaal commented Apr 6, 2021

I tinkered a little bit with your nice ffmpeg4j and used some home videos as source. With ~10% of the videos I had problems.

  1. 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));

  1. 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)
@shoeoffhead
Copy link

I also have these issues.

@AntonKomir
Copy link

Currently "Assertion desc failed at libswscale/swscale_internal.h:734" :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants