Michael Niedermayer
e6ea75c5e6
doc/examples/decoding_encoding: fix storing all channels
...
Fixes Ticket3355
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lou Logan
88f2586adb
fix various typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
bf411fffd4
examples: rename avcodec.c to decoding_encoding.c
...
Restore the old name, which was more meaningful and consistent with the
names of the other examples.
11 years ago
Anshul Maheshwari
6d25e90262
doc/examples/avcodec: information regarding gop_size ignored if frame->pic-type is AV_PICTURE_TYPE_I
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
b339182eba
Move all example programs to doc/examples
...
Also drop support for building examples in library directories.
11 years ago
Anton Khirnov
48d17ee6dc
api-example: remove an unneeded call to avcodec_get_frame_defaults().
...
avcodec_decode_audio4() resets the frame itself.
11 years ago
Anton Khirnov
eb891b3114
Replace all uses of avcodec_free_frame with av_frame_free().
11 years ago
Anton Khirnov
5b9c3b4505
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
11 years ago
Peter Meerwald
dfcbe8cbd7
doc: Fix best_nb_channells typo
...
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
11d1ca4b2c
Use avcodec_free_frame() to free AVFrames.
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
661454aa28
api-example: use new video encoding API.
12 years ago
Anton Khirnov
5702c8670e
api-example: update to new audio encoding API.
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Luca Barbato
aac63cef20
examples: unbreak compilation
...
Update api so it will compile again.
13 years ago
Justin Ruggles
0bafe04917
api-example: update to use avcodec_decode_audio4()
13 years ago
Anton Khirnov
71a861cf40
lavc: make avcodec_alloc_context3 officially public.
...
Deprecate avcodec_alloc_context/2.
14 years ago
Reinhard Tartler
d7537a6fce
doxygen: Include libavcodec and libavformat examples into the documentation
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