Michael Niedermayer
eb9841297a
doc/examples/decoding_encoding: make the buffer bigger.
...
This should be converted to the new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
2bdac29360
doc/examples: rename filtering.c into filtering_video.c.
13 years ago
Clément Bœsch
aecf0cf5ed
doc/examples: add audio decoding/filtering example.
...
Mostly based on doc/examples/filtering.c. lavfi API is still limited to
"buffer feeding" instead of "frame feeding" at the moment, so this
example code sticks with it.
13 years ago
Clément Bœsch
624c413d55
examples: add -Wall to CFLAGS.
13 years ago
Clément Bœsch
2b97be5d57
examples/filtering: fix unused variable and return value in open_input_file().
13 years ago
Clément Bœsch
b117c39237
examples/filtering: fix deprecated function calls warnings.
13 years ago
Clément Bœsch
f075537561
examples/filtering: fix implicit declarations and function mis-usage.
13 years ago
Michael Niedermayer
cb73e35660
example: Update decoding/encoding example to the new API.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
afe9105f66
example: update muxing example to purple API
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0e187fd13c
decoding example: reset pts/dts after subpacket.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cf257f30b9
doc/example/muxing: fix video timestamps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
096701d9b2
muxing example: set encoder defaults
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
2f0f9a87d0
Fix various if parenthesis misplacements.
13 years ago
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
13 years ago
Michael Niedermayer
0fd28e39ec
examples/filtering: remove #include vsink_buffer.h, the header does not exist
...
Found-by: teratorn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
107460c1e9
examples/decoding_encoding.c: test mpeg1 and h264
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
65e32eea73
examples/decoding_encoding.c: silence compiler warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
98140abe85
examples/decoding_encoding.c: set a codec private option to demonstrate how to do that
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
82d9fafbb8
examples/decoding_encoding.c: switch to h264
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
be5ac961e0
examples/encoding: rename to decoding_encoding.c as the file is an example for both.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f8e98061ec
examples/encoding: List more formats to make it more clear to the reader what is not handled in libavcodec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
c617d7b86a
examples/muxing.c: apply misc style fixes
14 years ago
Stefano Sabatini
90b043a698
examples/muxing.c: fix typo, futur -> future
14 years ago
Stefano Sabatini
00a9ac424e
examples/encoding.c: adopt a less restrictive license
...
Adopt ISC (Internet Systems Consortium) license in place of LGPL,
consistent with the other examples.
Fabrice explicitely approved the relicensing.
14 years ago
Stefano Sabatini
58174293d8
examples/muxing.c: remove doxy reference to unexisting file
14 years ago
Stefano Sabatini
fcc7d869d9
doc/examples: add decoding/filtering example program
14 years ago
Stefano Sabatini
c762f9fa2d
examples/encoding.c: remove unnecessary includes
...
Simplify.
14 years ago
Stefano Sabatini
2e5a9e580c
examples/encoding.c: use av_image_alloc() for allocating an image buffer
...
Simplify.
14 years ago
Stefano Sabatini
a7aabda267
examples/encoding.c: replace "this library" with "libavcodec" in doxy
...
So it is more clear the context of the sentence.
14 years ago
Stefano Sabatini
ffe3856de7
examples/encoding.c: remove reference to unexisting file
14 years ago
Stefano Sabatini
26f373988d
examples/muxing.c: set sample format for encoding
...
This is required, or avcodec_open() will abort because of invalid
sample format.
14 years ago
Stefano Sabatini
a953577b46
examples: move metadata-example.c to doc/examples
14 years ago
Stefano Sabatini
79f3384ce1
examples: rename "-example" suffix from examples files
...
The suffix is redundant since the containing directory itself is
called "examples". Simplify.
14 years ago
Stefano Sabatini
ca858ab77d
doc/examples: give meaningful names to the example files
...
Rename:
api-example.c -> encoding-example.c
output-example.c -> muxing-example.c
14 years ago
Stefano Sabatini
c328122a8d
api-example: uppercase first letter in "copyright"
...
Improve consistency.
14 years ago
Stefano Sabatini
f501c74d99
output-example: create @file doxy from text in the copyright header
14 years ago
Stefano Sabatini
9362b50941
examples: move API examples to a dedicated dir in doc
14 years ago