meh
66284eb045
codec: add magic traits to get codecs by name and id
2015-09-25 21:33:08 +02:00
lummax
bde17a8bae
format: add _with()
variants to open()
2015-09-25 16:43:17 +02:00
meh
316778ccd9
error: implement From<Error> for io::Error
2015-09-22 04:03:49 +02:00
meh
1fc224fbae
codec/packet: add data access and constructor
2015-09-22 02:44:37 +02:00
meh
2ca44d08d4
*: fix UB with CString usage
2015-09-22 02:44:13 +02:00
lummax
d908df7ab8
frame/video: add set_kind()
method
2015-09-19 12:38:47 +02:00
lummax
c8a95364a2
encoder/{audio,video}: add flush()
methods`
2015-09-19 12:37:28 +02:00
lummax
4471ffc934
filter/source: add flush()
method
2015-09-19 12:32:59 +02:00
lummax
cc054229cf
decoder/{audio,video}: add max_bit_rate()
2015-09-18 21:44:58 +02:00
lummax
de8585b24d
codec/encoder: add set_max_bit_rate()
2015-09-18 21:44:35 +02:00
lummax
2366506e63
codec/encoder: rename set_rate()
to set_bit_rate()
...
This commit serves the purpose to remove ambiguity:
- The decoder actually calls the getter for this field `bit_rate()`
- The audio decoder/encoder have methods called `{set_}rate()` for the _rate`
- The encoder/audio `set_rate()` shadows the encoder/mod `set_rate()`
2015-09-18 21:44:14 +02:00
lummax
34ff7bafbf
codec/decoder: add time_base()
method
2015-09-18 21:41:45 +02:00
meh
9736980b02
codec/context: make destructors safe
2015-09-17 17:33:31 +02:00
meh
19548810dd
*: update to 2.8
2015-09-15 20:53:49 +02:00
lummax
79ecba2fad
codec/context: add set_flags()
method
2015-09-14 13:55:19 +02:00
lummax
855f3fd618
format/output: add flags()
method
2015-09-14 13:54:17 +02:00
lummax
46f198033f
codec: add Flags
(CODEC_FLAG_*
)
2015-09-14 13:53:55 +02:00
lummax
a76cdd7086
format: add Flags
(AVFMV_*
)
2015-09-14 13:53:48 +02:00
lummax
bc2a39a48b
codec/encoder: add set_time_base()
...
The documentation [1] states: `encoding: MUST be set by user`.
[1]: https://ffmpeg.org/doxygen/trunk/structAVCodecContext.html#ab7bfeb9fa5840aac090e2b0bd0ef7589
2015-09-13 20:21:07 +02:00
lummax
a84b30b3f0
codec/audio: fix ChannelLayoutIter.best()
...
Somehow the condition `cur.channels() > cur.channels()` slipped in which will
always be `false`. The correct condition is `cur.channels() > acc.channels()`.
2015-09-12 09:24:26 +02:00
lummax
c8a38a926f
codec/audio: implement ChannelLayoutIter.best()
...
Is some cases the decoder channel layout is not supported by the selected
encoder. A selection from the channel layouts supported by the encoder is
needed. For this the method `best()` is introduced.
2015-09-11 18:26:40 +02:00
lummax
056293a244
filter/graph: add dump()
method
2015-09-09 20:25:27 +02:00
lummax
91134301a5
encoder/video: add getter methods needed for video transcoding
2015-09-09 20:05:42 +02:00
lummax
45b1d9ab9b
codec/subtitle: remove unneeded import
2015-09-09 19:39:04 +02:00
meh
8d8e2aa94e
codec/subtitle: properly use Option for pts handling
2015-09-09 16:45:16 +02:00
meh
3f282a8202
util/frame: make set_pts take an Option
2015-09-09 16:44:58 +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
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