Clément Bœsch
fb10b43fc4
doc/examples: rename demuxing to demuxing_decoding.
...
That example shows how the decoding process works, not only the
demuxing.
11 years ago
Clément Bœsch
dc8f732292
doc/examples: fix lib math dep for resampling_audio.
...
It uses at least sin()
11 years ago
Stefano Sabatini
c58d535b2f
examples/Makefile: disable -O2 optimizations
...
There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.
12 years ago
Stefano Sabatini
89920387da
examples: add resampling_audio.c file
12 years ago
Stefano Sabatini
3b34cbce19
examples/scaling_video: write to rawvideo file
...
This is more useful for testing purposes. Also allow to specify the name
of the output file.
12 years ago
Stefano Sabatini
c8ef309379
examples: add demuxing.c example
12 years ago
Stefano Sabatini
e53becc70f
examples/Makefile: give priority to pkg-config flags
...
In case CFLAGS/LDLIBS are already defined and conflicting with the
pkg-config flags, give priority to the latter since they are used to
detect compilation flags.
This should fix for example the case where there are many different
instances of a library, CFLAGS=-I/foo/include and pkg-config cflags say
-I/bar/include.
12 years ago
Stefano Sabatini
2cbffc6706
examples/Makefile: remove duplicated -f switch
...
$(RM) already includes that flag.
Spotted-by: ubitux
12 years ago
Stefano Sabatini
74419fcf45
examples: add scaling_video example
...
This example should be useful to show the basic functionality of the
libswscale API.
More advanced features (scaling options etc., colorspace tweaking) may be
added later.
12 years ago
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.
12 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.
12 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.
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
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
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