dmlc / decord

An efficient video loader for deep learning with smart shuffling that's super easy to digest
Apache License 2.0
1.76k stars 151 forks source link

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

Open chencuber opened 1 year ago

chencuber commented 1 year ago

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(decctx.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

wnzhyee commented 1 year ago

meet same problems, any suggestion?

chencuber commented 1 year ago

meet same problems, any suggestion?

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