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

Decode video example throws errors. #52

Open
zSoNz opened this issue Jul 8, 2021 · 4 comments
Open

Decode video example throws errors. #52

zSoNz opened this issue Jul 8, 2021 · 4 comments

Comments

@zSoNz
Copy link

zSoNz commented Jul 8, 2021

Hi I tried to execute decode example from lib (link bellow) and got this error. Maybe someone know why it's happens?

Снимок экрана 2021-07-07 в 15 24 30

https://github.com/sunlubo/SwiftFFmpeg/blob/master/Sources/SwiftFFmpegExamples/decode_video.swift

@zSoNz
Copy link
Author

zSoNz commented Jul 8, 2021

And it throws errors on this line

) throws {
try codecCtx.sendPacket(pkt)

@sunlubo
Copy link
Owner

sunlubo commented Aug 4, 2021

Your h264 file may be invalid.

@zSoNz
Copy link
Author

zSoNz commented Aug 6, 2021

@sunlubo , you mean file what I try to decode?

@sunlubo
Copy link
Owner

sunlubo commented Sep 20, 2021

sorry for the delay, can you share your video file?

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

2 participants