Luke Street
18c05b75f6
Add + ?Sized to AsRef<Path> generic parameters
...
Without `+ ?Sized`, `&Path` can't be used as the input parameter, since `Path` is unsized.
2024-04-01 12:58:43 -06:00
Luke Street
0e704f2bc9
Context time_base / frame_rate adjustments
...
- Moves `time_base` from `Decoder` and `set_time_base` from `Encoder` to the base `Context` to unify the API for both types.
- Adds `packet_time_base` and `set_packet_time_base` to `Decoder`.
- Moves `set_frame_rate` from `Encoder` to `Context` and adds a `frame_rate` getter.
2024-04-01 12:58:41 -06:00
Luke Street
cf12c76cbc
Add Sink::time_base
...
Calls `av_buffersink_get_time_base`.
2024-04-01 12:58:29 -06:00
Luke Street
c239937c50
Add Packet::time_base/set_time_base
...
Allows inspecting and adjusting the packet's time_base.
2024-04-01 12:58:25 -06:00
Luke Street
2ca7efd582
Add Output::add_stream_with(&Context)
...
Calls `avcodec_parameters_from_context` to set the stream attributes from an AVCodecContext.
2024-04-01 12:54:59 -06:00
Luke Street
2c38f000a5
Add Context::new_with_codec
...
Allows calling `avcodec_alloc_context3` with an AVCodec, setting the default values.
2024-04-01 12:54:59 -06:00
Luke Street
7871f3b953
Make Codec const (AVCodec is not mutable)
2024-04-01 12:54:59 -06:00
Polochon-street and GitHub
c53730e7ab
Fix raspberry pi support ( #171 )
2024-01-03 21:35:17 +01:00
AdrianEddy and GitHub
849eeb8d86
FFmpeg 6.1 support ( #165 )
2023-12-03 19:55:27 +01:00
Polochon-street and GitHub
6b84927798
Merge pull request #141 from Polochon-street/use-ffmpeg6-official-image
...
Update CI to use jrottenberg/ffmpeg6.0 image
2023-04-04 19:13:44 +02:00
Polochon-street
ff6a795479
Update CI to use jrottenberg/ffmpeg6.0 image
2023-04-04 18:58:15 +02:00
Polochon-street and GitHub
0bfca2615a
Merge pull request #133 from AdrianEddy/master
...
Add ffmpeg 6.0 support
2023-03-13 22:53:24 +01:00
AdrianEddy
57bc38162e
Update ffmpeg-sys version
2023-03-13 22:09:03 +01:00
AdrianEddy
8cfbf82e08
Fix building previous versions
2023-03-13 19:22:28 +01:00
AdrianEddy
c72dccb6ed
Remove 6.0 from build.yml
2023-03-13 16:06:46 +01:00
AdrianEddy and GitHub
64ae502f34
Merge branch 'zmwangx:master' into master
2023-03-13 16:07:38 +01:00
Polochon-street and GitHub
7118b0cd0f
Merge pull request #137 from Polochon-street/add-latest-ffmpeg-test
...
Add ffmpeg6 to the CI
2023-03-12 14:16:37 +01:00
Polochon-street
bcb2caa516
Add ffmpeg6 to the CI
2023-03-12 14:10:03 +01:00
Polochon-street and GitHub
f09c320615
Merge pull request #135 from Polochon-street/fix-clippy
...
Fix clippy (again)
2023-03-12 14:07:21 +01:00
Polochon-street
1e58806354
Fix clippy (again)
2023-03-12 13:58:15 +01:00
AdrianEddy
10733b732f
Add ffmpeg 6.0 support
2023-02-27 12:06:58 +01:00
AdrianEddy
baf16ed864
Don't crash, just warn
2022-12-14 05:57:54 +01:00
AdrianEddy
792db4cc98
Make it compile with ffmpeg-master
2022-12-01 18:10:30 +01:00
Polochon-street
022eaa28cf
Fix clippy
2022-09-07 23:49:28 +02:00
Polochon-street and GitHub
0d52510c2b
Merge pull request #107 from zmwangx/bump-ffmpeg-5-1
...
Bump to 5.1.0
2022-08-08 18:47:48 +02:00