SwiftFFmpeg icon indicating copy to clipboard operation
SwiftFFmpeg copied to clipboard

Decode video example throws errors.

Open zSoNz opened this issue 4 years ago • 4 comments

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 avatar Jul 08 '21 06:07 zSoNz

And it throws errors on this line

https://github.com/sunlubo/SwiftFFmpeg/blob/b656c2d7a1716ad86f023ea5c62262d83378edc7/Sources/SwiftFFmpegExamples/decode_video.swift#L38-L40

zSoNz avatar Jul 08 '21 06:07 zSoNz

Your h264 file may be invalid.

sunlubo avatar Aug 04 '21 09:08 sunlubo

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

zSoNz avatar Aug 06 '21 03:08 zSoNz

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

sunlubo avatar Sep 20 '21 14:09 sunlubo