The FFDec project intends to build a simple programming interface as one single DLL for video/audio-decoding using the FFmpeg library, so that it can be easily used in other programing languages - especially in Delphi and Free Pascal.
Hi, thanks for the source. It is very useful. However, you would like to know that there is a little bug in the example code. A small memory leak happens due to not releasing packet. I use it this way: Res := True; while Res do begin packet := ffCreateAVPacket(True); Res := ffRead(decoder, packet, FFDEC_RAW_FRAME_TYPE_ANY); // do your job here ffFreeAVPacket(packet); end;