57 Commits
Author SHA1 Message Date
Polochon-street cdd083a490 Fix clippy build 2022-03-06 16:54:51 +01:00
Polochon-street 22ad8b9598 Bump version to use ffmpeg 5 2022-02-11 17:58:42 +01:00
Zhiming Wang 69bbfb6dc8 Fix clippy::unnecessary_lazy_evaluations 2020-10-11 10:11:38 +08:00
Zhiming Wang b962e4f9f6 examples/remux: fix stream_index of copied packets 2020-08-15 10:18:56 +08:00
Maor KleinbergerandZhiming Wang c3297c9700 examples/transcode-x264: fix stream_index of copied packets
Signed-off-by: Zhiming Wang <i@zhimingwang.org>
2020-08-15 10:16:15 +08:00
Zhiming Wang f024eaea37 examples/transcode-x264: fix typo in parse_opts
Unfortunate typo when fixing a clippy warning about using &str instead of
char...
2020-08-11 00:08:05 +08:00
Zhiming Wang 0a03e745b4 examples: add transcode-x264.rs 2020-08-10 22:09:29 +08:00
Zhiming Wang e393cf0145 examples: add remux.rs 2020-08-10 21:58:11 +08:00
Zhiming Wang b139fd8d70 Remove examples/fps-filter.rs which was accidentally committed 2020-08-10 13:46:38 +08:00
Zhiming Wang fe6a9b3324 Add CHANGELOG.md 2020-08-09 13:59:18 +08:00
Zhiming Wang 10a1da9486 examples/avi-to-ppm: rename to dump-frames
The old name isn't fitting since the program isn't specific to AVI at all...
2020-08-08 00:58:18 +08:00
Zhiming Wang 93b7f58ebc examples/avi-to-ppm: reimplement with modern API
Avoid decoder.decode.
2020-08-08 00:57:44 +08:00
Zhiming Wang e1cabad5c9 examples/transcode-audio: reimplement with modern API
Avoid encoder.encode and decoder.decode.
2020-08-08 00:55:24 +08:00
Zhiming Wang 73b66ea438 Fix clippy::redundant_field_names 2020-07-26 01:01:13 +08:00
Zhiming Wang 48bca3e610 examples/avi-to-ppm: fix frame indexing 2020-07-23 10:07:07 +08:00
Zhiming Wang 3e9c83ec4e examples/avi-to-ppm: allow more than one stream in the input file
Only decode packets in the best video stream.

See #17.
2020-07-22 20:45:50 +08:00
abhijeetbhagat 3df1a1c209 Add example to convert AVI frame to RGB24 frame 2020-06-10 00:01:33 +05:30
Zhiming Wang 307f52c002 Reformat code with latest cargo fmt 2020-06-02 17:54:31 +08:00
Zhiming Wang fdea9d77e7 Fix examples 2020-06-02 17:54:01 +08:00
Tadas Barzdžiusandmeh 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
fengalinandmeh 28b7a82ac1 format: add support for Chapters
Read chapters from an input context and add chapters to an output context.

Note: unlike avformat_new_stream, the equivalent function for chapter is private:
avpriv_new_chapter (part of libavformat/internal.h). I couldn't find any other
solution but re-implementing it in format::context::output::add_chapter.
2017-09-23 20:42:51 +02:00
Tae-il Limandmeh edb6d91f59 codec/context: more Into 2016-12-03 01:44:56 +01:00
Tae-il Limandmeh 2ca2ff4a2c examples: fix errors 2016-12-03 01:43:34 +01:00
Tae-il Limandmeh 4df56b516f codec/parameters: impl AsRef for all codec::Context wrappers 2016-12-03 01:43:23 +01:00
Tae-il Limandmeh 36ac2513c1 codec/parameters: make api more flexible and consistent 2016-12-03 01:43:21 +01:00