decord icon indicating copy to clipboard operation
decord copied to clipboard

Decord got error when decoding av1 video using ffmpeg with libdav1d decoding library

Open chencuber opened this issue 1 year ago • 2 comments

I compile ffmpeg 4.4 version with dav1d 1.1 version, and the compiled ffmpeg bin can decode av1 video. Then I compile decord with the above ffmpeg with dav1d, and the compilation is passed, However when I get frame from an av1 video with decord, there is an error in the libdecord.so saying "avcodec_send_packet(dec_ctx_.get(), pkt.get()) >= 0 (-11 vs. 0) Thread worker: Error sending packet".

Can decord support dav1d decoding, and what 's the problem?

BTW,the compiled decord can decode 254/265 video, therefore it seems the compilation is ok but the av1 function call has something wrong

chencuber avatar Apr 16 '23 07:04 chencuber

meet same problems, any suggestion?

wnzhyee avatar Apr 25 '23 09:04 wnzhyee

meet same problems, any suggestion?

Just compile ffmpeg with libaom other than libdav1d until someone has fixed it ...

chencuber avatar Apr 25 '23 09:04 chencuber