Commit Graph

31 Commits

Author SHA1 Message Date
251c09e732 Add utils for ptr->&str conversion 2024-10-23 14:44:13 -04:00
814f8b9464 FFmpeg 7.1 support (#74)
* Add new build-lib features

* Update CI to use 7.1

jrottenberg/ffmpeg does not have 7.1 yet

* Add libavcodec version for 7.1

* Add FF_API flags for 7.1

* Update crate versions, bump MSRV to 1.65

* Add new audio channel masks

* Add new AVColorSpace variants

* Add new AVFrameSideDataType variants

* Add new AVCodecID variants

* Add new AVPacketSideDataType variants
2024-10-18 00:06:01 -04:00
fd44dd339b Drop support for FFmpeg < 4.2
Check https://ffmpeg.org/download.html#releases
and https://trac.ffmpeg.org/wiki/Downstreams

to see the FFmpeg versions that are considered supported or EOL.
2024-10-16 13:25:53 -04:00
7a8643f2cc Migrate crates to Rust edition 2021 (#24)
* Migrate ffmpeg-sys to Edition 2021

* Migrate ffmpeg to Edition 2021

* Remove now-redundant imports

* Reorder imports after edition migration
2024-04-06 21:31:36 -04:00
30aabf9033 Add FFmpeg 6.1 support (#14)
Co-authored-by: Rafie <simulping@protonmail.com>
2024-04-02 08:47:59 -04:00
c6dd54003e Support ffmpeg 6.0
Closes #6
2023-03-07 13:21:43 -05:00
ed9703b739 Fix an issue where compilation may fail on some non-x64 platforms 2023-02-02 13:29:08 -05:00
fe89e158c0 Add serialize support for enums 2023-01-24 02:38:11 -05:00
cff28ba207 Fix things from renaming and clippy 2023-01-23 10:22:10 -05:00
92a8c6a9d8 add feature non-exhaustive-enums 2023-01-23 09:53:56 -05:00
28c356dd98 add wildcard branches for matches on enums 2023-01-23 09:53:52 -05:00
b6b2311fcf Bump to 5.1.1 2022-08-08 18:37:14 +02:00
22ad8b9598 Bump version to use ffmpeg 5 2022-02-11 17:58:42 +01:00
19ab5f67ad Fix linting errors 2021-07-07 16:52:30 +02:00
9c7ecb9b53 Initial ffmpeg 4.4 support 2021-05-06 17:08:45 -04:00
b28e852eb0 Implement automatic FFmpeg version detection
Based on ffmpeg-sys-next 4.3.2.
2020-08-02 11:44:13 +08:00
73b66ea438 Fix clippy::redundant_field_names 2020-07-26 01:01:13 +08:00
15c87a7837 Add FFmpeg 4.3 specific code 2020-06-17 01:51:38 +08:00
fcca68ae5e Add FFmpeg 4.2 specific code 2020-06-01 14:42:39 +08:00
a69a457e3a Add FFmpeg 4.1 specific code 2020-06-01 14:15:33 +08:00
0e05c0bb29 Mark new macros introduced in 2c5abbf as ffmpeg4 2018-09-19 16:54:16 -04:00
2c5abbfe33 Add missing macros (FFmpeg 4.0.2) 2018-09-10 16:22:16 -04:00
0bcd4550b8 *: format code with rustfmt and fix clippy suggestions
* Add avformat_close_input call to clean up AVFormantContext
* Format code with rustfmt
* Fix clippy lint double_parens
* Fix clippy lint deref_addrof
* Fix clippy lint identity_conversion
* Fix clippy lint match_ref_pats
* Fix clippy lint cast_lossless
* Fix clippy lint cmp_null
* Fix clippy lint clone_on_ref_ptr
* Fix clippy lint map_clone
* Fix clippy lint needless_borrow
* Fix clippy lint needless_pass_by_value
* Fix clippy lints for examples
* Fix clippy lint unused_io_amount
* Fix clippy lint new_without_default
* Ignore inline_always clippy lint
* Add vim temp files to .gitignore
2018-04-10 16:06:42 +02:00
94ebdf143c *: add the newest enum values from ffmpeg-sys 2017-11-29 20:49:54 +01:00
5ac0527bdc *: use latest ffmpeg-sys using bindgen
* Update bindings to newest ffmpeg version for new ffmpeg-sys, which is mostly generated by bindgen
* Bring back removed feature flags
* Fix whitespace formating
* Remove prepended enum names to enum variants
* Remove unneeded allows
2017-07-08 17:00:27 +02:00
2ed824aaac *: upgrade to 3.2
Fix errors when built with https://github.com/meh/rust-ffmpeg-sys/pull/35.
2016-11-27 23:16:47 +01:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
meh
e063da22a4 frame/side_data: add inline attributes 2015-08-14 19:33:06 +02:00
meh
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
e07c7ec4cd util/frame: use lifetime elision 2015-05-12 20:00:56 +02:00
meh
2ff14a2043 util/frame: add Frame, frame::Video and frame::Audio 2015-05-12 03:25:29 +02:00