Stefano Sabatini
3b0e2763f4
examples/Makefile: apply misc minor fixes to the RM rule
Use $(RM) in place of rm, drop useless "-r" for removing files.
13 years ago
Stefano Sabatini
c0bca6425d
examples/decoding_encoding: store temporary files in current dir
Do not clutter the temporary directory with files, also "/tmp" is not
always available, e.g. in Windows.
Also add the clean-test Makefile rule, which will clean the generated
files.
13 years ago
Andrew Wason
1ef802d038
update filtering_audio example
The filtering_audio.c example needs to be updated for the new
"abuffer" filter args.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
c6bbe3c2a7
doc/examples: add debug compilation flag.
13 years ago
Clément Bœsch
136ca0e5f8
doc/examples: remove explicit rules.
These rules are already in gmake builtins.
13 years ago
Clément Bœsch
7aedfeebfb
doc/examples: add libavr to libraries to avoid link failures.
13 years ago
Clément Bœsch
be062de9d4
doc/examples: add libswresample in the libraries.
It is required for audio filtering.
13 years ago
Clément Bœsch
9188294d30
doc/examples: fix typo.
13 years ago
Clément Bœsch
5b55c7f4e9
doc/examples: add -O2 in CFLAGS.
13 years ago
Clément Bœsch
2f197a20cf
doc/examples: link decoding_encoding and muxing with math lib.
These two examples use the sin() function.
13 years ago
Clément Bœsch
9a19341e6e
doc/examples: rename LDFLAGS to LDLIBS.
13 years ago
Michael Niedermayer
0261902dac
doc/examples/Makefile: split lines up to make diffs that change them clearer
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.
14 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.
14 years ago
Clément Bœsch
624c413d55
examples: add -Wall to CFLAGS.
14 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>
14 years ago
Stefano Sabatini
fcc7d869d9
doc/examples: add decoding/filtering example program
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
9362b50941
examples: move API examples to a dedicated dir in doc
14 years ago