501 Commits

Author SHA1 Message Date
Tadas Barzdžius
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
Ivan Molodetskikh
8cf47c7ec6 format/pixel: implement FromStr for Pixel 2017-06-28 10:53:24 +02:00
Ivan Molodetskikh
8b4693d04c frame/video: get linesize through self.stride() 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
27d1e7a3fa frame/video: add plane_width() 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
403407bf2c format/pixel: add Descriptor::{name, log2_chroma_w}() 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
1095c8842e format/pixel: add Descriptor::nb_components() 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
a5a112713c util: fix formatting 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
1dd672546d util: fix code style 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
62739b803d util: fix formatting 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
0f48e9472b frame/video: make plane_height() public 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
c873287eb8 frame/video: use correct height in video frame data getters 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
c0327cebdc format/pixel: add format::pixel::Descriptor 2017-06-22 22:16:46 +02:00
Ivan Molodetskikh
471b48ddd4 format/stream: add avg_frame_rate accessors 2017-06-14 13:02:19 +02:00
Ivan Molodetskikh
9e933fa4fb codec/encoder/video: add colorspace and color_range accessors 2017-06-14 13:01:59 +02:00
Ivan Molodetskikh
b14dd01126 frame/audio: fix return type of frame::Audio::plane_mut() 2017-06-14 13:01:15 +02:00
Ivan Molodetskikh
6ad3d42482 software: fix typo in #[cfg] 2017-06-14 13:00:49 +02:00
Tadas Barzdžius
b67e4eb6d9 format/context: close AVIOContext before freeing AVFormatContext 2017-04-27 17:58:37 +02:00
meh
ef11b2bec4 format/context/output: return the Dictionary on write_header_with 2017-02-25 19:30:08 +01:00
meh
8562de8e44 format/context/ouptut: revert pass muxer options to avformat_write_header"
This reverts commit e04e9da29806271ed4cd956e3084f3b9145c748a.

There's already a function for that, `write_header_with`.
2017-02-25 19:28:02 +01:00
meh
b48521108e *: update dependencies 2017-02-19 01:45:05 +01:00
meh
575b440267 dictionary/owned: impl Default 2017-02-01 17:21:31 +01:00
meh
38d1e882f2 crate: update dependencies 2017-02-01 17:20:29 +01:00
main()
e04e9da298 format/context/output: pass muxer options to avformat_write_header 2017-02-01 17:18:19 +01:00
panicbit
2aebc761dd util/format: add CUDA pixel format 2017-01-05 16:21:28 +01:00
meh
90291de572 frame/video: add stride() getter 2016-12-28 23:42:29 +01:00
Tae-il Lim
edb6d91f59 codec/context: more Into 2016-12-03 01:44:56 +01:00
Tae-il Lim
2ca2ff4a2c examples: fix errors 2016-12-03 01:43:34 +01:00
Tae-il Lim
8609619a5d codec: impl AsMut for all Context wrappers 2016-12-03 01:43:30 +01:00
Tae-il Lim
4df56b516f codec/parameters: impl AsRef for all codec::Context wrappers 2016-12-03 01:43:23 +01:00
Tae-il Lim
36ac2513c1 codec/parameters: make api more flexible and consistent 2016-12-03 01:43:21 +01:00
Tae-il Lim
f1ce26a137 codec/parameters: add medium and id methods 2016-12-03 01:42:40 +01:00
Tae-il Lim
606847cc50 codec: introduce Parameters
As of ffmpeg 3.1, a new `AVCodecParameters` type and related API introduced.
This commit contains minimal changes to support new API.
2016-12-03 01:41:29 +01:00
Tae-il Lim
00ff69021d build/travis: use yasm 2016-11-30 14:51:24 +01:00
TR Lim
e1c132bd08 codec/packet: add set_pts/dts methods 2016-11-29 01:07:26 +01:00
Tae-il Lim
981eb2a801 format/format: make description() to return long_name 2016-11-28 23:50:33 +01:00
Tae-il Lim
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
8aabd018f5 crate: use general 2.8 version of ffmpeg-sys 2016-07-19 00:08:24 +02:00
meh
0c2962c573 software/resampling: add some documentation 2016-05-24 18:01:55 +02:00
meh
9fb581884d software/resampling: rename next to flush 2016-05-24 18:01:46 +02:00
meh
fc693f8bfc util/channel_layout: add default constructor 2016-05-23 23:06:00 +02:00
meh
9f87ecf5fa crate: fix some warnings 2016-05-23 23:05:41 +02:00
lummax
859c01f268 codec/encoder/video: add missing feature flag (quant_bias) 2016-05-20 14:08:32 +02:00
lummax
e4fcdad658 codec/encoder/video: add missing feature flag (motion_est) 2016-05-20 14:08:32 +02:00
lummax
75ef14c45c format/pixel: fix missing feature flags (xvmc/vaapi) 2016-05-20 14:08:22 +02:00
Euan Rochester
fafcf1d433 *: check unsafe slice creation 2016-05-01 02:01:00 +02:00
meh
ca907c57f3 crate: bump version 2016-04-15 18:35:35 +02:00
rundrop1
06497cc6bf LICENSE: add license file 2016-04-03 17:32:34 +02:00
Ed Barnard
f5941792f9 codec/id: fix voxware feature name 2016-03-30 22:51:44 +02:00
Peter Rebholz
c8fd7d411f device/output: fix infinite iterator loop 2015-12-11 23:14:20 -06:00
meh
1fc9e03d6f crate: use feature set by ffmpeg-sys 2015-12-03 19:15:32 +01:00