648 Commits

Author SHA1 Message Date
meh
3f282a8202 util/frame: make set_pts take an Option 2015-09-09 16:44:58 +02:00
meh
bc5ef9cdcf examples/transcode-audio: add audio transcoding example 2015-09-09 14:31:26 +02:00
meh
3fd11a4c99 dictionary/immutable: fix to_owned lifetime 2015-09-09 14:19:08 +02:00
lummax
c6b6f3720a dictionary/mutable: fix set() implementation 2015-09-09 13:49:59 +02:00
lummax
7c42d6a2e9 util/frame: implement set_pts() 2015-09-09 13:49:20 +02:00
lummax
87ea1bd196 format: refactor format handling 2015-09-09 13:48:10 +02:00
lummax
d1e693965c filter/sink: add set_frame_size() 2015-09-08 19:11:18 +02:00
lummax
29450c4260 {en,de}coder/audio: add frame_size() method 2015-09-08 19:11:18 +02:00
lummax
ced43fe83b format/context: implement set_metadata() 2015-09-08 18:46:40 +02:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
lummax
620958d684 util/dictionary: implement Clone for Dictionary 2015-09-04 17:14:55 +02:00
lummax
c1e907ad70 util/dictionary: implement get() 2015-09-04 17:09:36 +02:00
lummax
9cc2d28223 util/dictionary: implement set() 2015-09-04 17:04:47 +02:00
meh
2a3a4e6169 filter: add avfilter wrapper 2015-09-04 16:36:04 +02:00
meh
67a2c60a33 util/option: add some basic options handling 2015-09-04 16:34:02 +02:00
meh
ffb193ac68 examples/metadata: update to new format API 2015-09-04 16:32:39 +02:00
meh
1f80007e5e format: split input and output formats 2015-09-04 16:30:19 +02:00
meh
fbf5cd94eb codec: make lifetimes saner 2015-09-04 16:28:56 +02:00
lummax
a2979c828d encoder/audio: add getters for fields where setters exist 2015-09-02 16:15:02 +02:00
lummax
34cbb9b1e6 format/context: add write_trailer() method 2015-09-02 16:14:53 +02:00
lummax
a082998e48 format/context: add write_header{_with}() methods 2015-09-02 16:14:38 +02:00
lummax
a48233cbfe format/context: add new_stream() method 2015-09-02 16:13:31 +02:00
lummax
471a768b8e format/context: implement Context opening as output 2015-09-02 14:52:02 +02:00
lummax
9b612fc90f format: rename open* function to open_input* 2015-09-02 14:51:56 +02:00
lummax
b5c7d27f96 frame/video: implement From<Frame> 2015-09-02 12:43:52 +02:00
lummax
71d14e15ba frame/audio: implement From<Frame> 2015-09-02 12:43:44 +02:00
lummax
0e83f8a0c4 encoder/audio: add set_channels()
For this a method for `ChannelLayout` to retrieve the number of channels was
also added.
2015-08-31 22:59:35 +02:00
lummax
5332dabffa util/frame/video: set alignment to 32 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on a video
frame in the ffmpeg sources the value `32` was used as an alignment.
2015-08-31 22:47:29 +02:00
lummax
c0049beaba util/frame/audio: set alignment to 0 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on an audio
frame in the ffmpeg sources the value `0` was used as an alignment.

Also [1] states the value `0` as the default alignment.

[1]: http://www.ffmpeg.org/doxygen/2.7/group__lavu__sampfmts.html#gaa7368bc4e3a366b688e81938ed55eb06
2015-08-31 22:43:46 +02:00
lummax
3091e20f2d codec/packet: fix pts(): return Option 2015-08-30 22:15:20 +02:00
lummax
edcddc91e7 format/stream: add set_time_base() 2015-08-30 16:39:28 +02:00
lummax
2d3b77f43b codec/encoder/audio: add set_channel_layout() 2015-08-30 16:39:00 +02:00
lummax
0d80d5e3de codec/encoder/audio: add set_format() 2015-08-30 16:38:32 +02:00
lummax
370890d1cf codec/encoder/audio: add set_rate() 2015-08-30 16:38:00 +02:00
lummax
f2fc59f25d codec/packet: add rescale_ts() method 2015-08-30 16:37:39 +02:00
lummax
40c13a7238 codec/encoder: remove deprecated set_time_base() 2015-08-30 16:26:26 +02:00
lummax
c867dd6259 codec: improve encoder state transitions
This commit improves the state transitions for the `codec::*` structs as
discussed in #7.
2015-08-29 21:19:14 +02:00
lummax
ac5d8cfbe8 examples/metadata: adapt example to new decoder state transitions 2015-08-29 21:10:25 +02:00
lummax
891b87f25d codec/decoder: adapt accessors to new state transitions 2015-08-29 21:09:39 +02:00
lummax
ee6004d05e codec: improve decoder state transitions
This commit improves the state transitions for the `codec::*` structs as
discussed in #7.
2015-08-29 21:08:31 +02:00
meh
8ed092c0c3 codec: use Option<_> in the getter API 2015-08-29 16:15:57 +02:00
meh
b39d8df4ee examples/codec-info: fix field names 2015-08-28 21:28:57 +02:00
meh
81badeb10d codec/video: fix style 2015-08-28 21:28:28 +02:00
meh
f223ada727 codec/video: fix style 2015-08-28 21:26:38 +02:00
meh
a85bd6d6c8 examples/codec-info: print capabilities and profiles 2015-08-28 21:25:36 +02:00
meh
a373d9bf3f codec: add profiles getter 2015-08-28 21:25:23 +02:00
meh
e8db20c86b codec/capabilities: add Capabilities and getter 2015-08-28 21:20:57 +02:00
lummax
5fff2ab123 examples/codec-info: add example 2015-08-28 20:37:36 +02:00
lummax
59b1eead16 codec: add several getters 2015-08-28 20:36:55 +02:00
meh
13c9f8e5ab examples/metadata: cleanup and find best streams 2015-08-28 16:33:19 +02:00