Michael Niedermayer
0e187fd13c
decoding example: reset pts/dts after subpacket.
...
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
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
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
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
9362b50941
examples: move API examples to a dedicated dir in doc
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
8ac942d8f5
Cosmetics: reindent after the previous commit
...
Originally committed as revision 23324 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
11f6181af1
api-example: Try to avoid decoding incomplete frames
...
Use a larger input audio buffer, refill it when it has less than 4 KB data
left.
Originally committed as revision 23323 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
1c38da85e6
Allow building api-example from outside of libavcodec and also
...
make it more consistent with libavformat/output-example.
Originally committed as revision 20176 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Thilo Borgmann
4f313925ec
Use the new avcodec_decode_* API.
...
Patch by Thilo Borgmann name.surname AT googlemail.com.
Originally committed as revision 18409 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7c17abaf9d
Rename apiexample.c --> api-example.c to be consistent with other example files.
...
Originally committed as revision 18216 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
29e455081f
Update apiexample.c to use the newer avcodec_decode_audio2() API. This also
...
fixes compilation.
Originally committed as revision 18176 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
14660b0814
Use M_PI from libavutil/mathematics.h instead of defining PI ourselves
...
in libavcodec/apiexample.c.
Originally committed as revision 15520 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
c9823f0577
Improve understanding ofavcodec_find_decoder()
...
patch by Carl Eugen Hoyos: ! cehoyos ag or at !
Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
b24daebf22
The memsetting of the end of buffer is not needed for audio.
...
Originally committed as revision 8070 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
f6618b0f43
Stray comment, probably copy & pasted from audio_encode_example().
...
Originally committed as revision 8066 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
9b2bb40341
Remove a non-C dependency (being M_PI) from the libavcodec example.
...
Originally committed as revision 8025 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a7cc43047f
apiexample fix by (Chip: szarlada, freemail hu)
...
Originally committed as revision 4357 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
c0df9d75bd
switch to native time bases
...
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
40c5fa2689
AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>)
...
with minor changes from me
Originally committed as revision 4019 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
François Revol
3e459e39fa
use av_free() instead of free() where it's meant to.
...
Originally committed as revision 3971 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2fc8ea249f
dissallow sprintf
...
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Matthias Fritschi
1c0e205fab
writing corrupt files on MinGW patch by (Matthias Fritschi <choi at netlabs dot org>)
...
Originally committed as revision 2988 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Fabrice Bellard
d99ce8d7de
spelling fix
...
Originally committed as revision 2172 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
6a686d58b4
FF_INPUT_BUFFER_PADDING_SIZE
...
Originally committed as revision 2100 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
17d71fb922
last frames & b frames encoding fix
...
Originally committed as revision 2075 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
14bea432f1
per context frame_rate_base, this should finally fix frame_rate related av sync issues
...
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
bec89a840f
* more generic avoption_parse
...
* reused help ptr for sub ptr
Originally committed as revision 1642 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
fe1b62fb3e
* still unfinished code for Options
...
* demo code - awating more comments
Originally committed as revision 1569 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago