- util: fix Windows compatibility due to unavailable errnos. (#30)
-
util: add
util::log
module to expose FFmpeg's logging facilities. -
filter: add method
Source::close()
to exposeav_buffersrc_close
. (#23) -
codec: add new encoding/decoding APIs
send_frame()
/send_eof()
,receive_packet()
toencoder::{Audio, Video}
andsend_packet()
/send_eof()
,receive_frame()
todecoder::{Audio, Video}
based on modern send/receive APIs (instead ofavcodec_decode_video2()
/avcodec_decode_audio4()
/avcodec_encode_video2()
/avcodec_encode_audio2()
which have been deprecated since FFmpeg 3.1). Users should consider switching to the new APIs. See documentation inlibavcodec/avcodec.h
for details. (#28) -
util: introduce new
Error
variantError::Other { errno }
for wrapped POSIX error codes (see theAVERROR
macro inlibavutil/error.h
), and reexport common POSIX error codes underutil::error
. (#24)
- crate: FFmpeg version detection is now automatic, obseleting feature flags
ffmpeg4
,ffmpeg41
,ffmpeg42
andffmpeg43
. The flags are kept as noop for now, will be removed in 5.0.