Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
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
58174293d8
examples/muxing.c: remove doxy reference to unexisting file
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
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
Stefano Sabatini
5ecdfd008b
lavf: deprecate avformat_alloc_output_context() in favor of avformat_alloc_output_context2()
...
The new function accepts a slightly more intuitive order of paramters,
and returns an error code, thus allowing applications to report a
meaningful error message.
14 years ago
Michael Niedermayer
ce62b35c31
output_example: use avformat_alloc_output_context()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API.
14 years ago
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
14 years ago
Anton Khirnov
ebb92e0768
avio: rename url_fopen/fclose -> avio_open/close.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 22a3212e32
)
14 years ago
Anton Khirnov
22a3212e32
avio: rename url_fopen/fclose -> avio_open/close.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
0ebf475494
lavf: add av_ prefix to dump_format()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 610219a598
)
14 years ago
Anton Khirnov
610219a598
lavf: add av_ prefix to dump_format()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ramiro Polla
1f1916cea2
output-example: Set sample_fmt to SAMPLE_FMT_S16.
...
Originally committed as revision 23597 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
54a4f36d6e
Remove conditional M_PI definition, it is already defined in
...
libavutil/mathematics.h indirectly included by libavformat/avformat.h.
Originally committed as revision 21388 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
a52ce57d4e
Replace deprecated guess_format() with av_guess_format().
...
Patch by Martin Storsjö reverse(<ts.nitram@nitram>).
Originally committed as revision 21387 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
073189917e
Make output-example.c handle AAC audio.
...
Patch by Martin Storsjö martin martin st
Originally committed as revision 21367 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
c15508dc93
Use enums instead of int.
...
Originally committed as revision 19568 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d95a0c67ae
Move output_example.c --> libavformat/output-example.c.
...
The libavformat directory is a better place for a libavformat API example.
Originally committed as revision 18199 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
a6f925b8f7
Make output_example use av_interleaved_write_frame() instead of av_write_frame().
...
Patch by Art Clarke (standard login name) xuggle com
Originally committed as revision 17428 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
c12b0d86ad
Set global header flag for every container that requires it.
...
Patch by Art Clarke a$(name) xuggle com
Originally committed as revision 17425 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
de43a23977
av_write_trailer() must be done before closing codecs.
...
Patch by aclarke a xuggle d com
Originally committed as revision 17422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
817a3de916
Reindent after last commit
...
Originally committed as revision 14346 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
fb34e75d2a
Do not rescale AV_NOPTS_VALUE in output_example.c
...
Originally committed as revision 14345 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2343a04092
Remove redundant #undef statements that were mistakenly committed.
...
Originally committed as revision 13099 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
364a960704
Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
...
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0afd2a92bd
cosmetics: Fix a common typo, sepErate --> sepArate.
...
Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
a40de11209
Use a more correct value for Pi.
...
Originally committed as revision 8024 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
5d915e827e
Use av_malloc instead of plain malloc where appropriate
...
Patch by Ramiro Polla % ramiro86 A hotmail.com %
Original thread:
Date: Aug 20, 2006 5:00 AM
Subject: [Ffmpeg-devel] [PATCH] plain malloc in output_example.c
Originally committed as revision 6125 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Abeni
03ae87a3e8
Move output_example.c and ffplay.c to the swscale interface
...
Originally committed as revision 5923 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
8720de5b76
fix memleak, based upon a patch by Wolfram Gloger
...
Originally committed as revision 4947 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Dieter
ceaf1909c1
add static keyword to some functions
...
patch by Dieter <freebsd at sopwith solgatos com>
Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 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
5b28c8c355
time_base description by Rich Felker | dalias, aerifal cx
...
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
b5bc8591ee
10l (!= vs. >)
...
Originally committed as revision 4468 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
01f4895c68
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
...
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Andreas Öman
002c01a6f3
fixing output_example to work with current CVS libavcodec/libavformat patch by ("Andreas U. Trottmann": andreas trottmann, werft22 com)
...
Originally committed as revision 4424 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
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
e928649b0b
pass AVPacket into av_write_frame()
...
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though
Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago