François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Matthijs Douze
8d74e55b83
Print error message instead of crashing when combining -vcodec copy and -vhook.
...
patch by Matthijs Douze, Matthijs.Douze inrialpes fr
Originally committed as revision 7901 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
928e00948a
happy new year
...
Originally committed as revision 7895 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
ab1c6dc95c
Directly access av_log_level instead of calling av_log_{set, get}_level()
...
(which will be removed at the next avutil version increment)
Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
57b7e784d0
Force stereo in target vcd.
...
Patch by Michel Bardiaux, mbardiaux mediaxim be.
Originally committed as revision 7826 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5d55e966e1
use avcodec_decode_audio2()
...
Originally committed as revision 7792 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
e3e3be5346
do not force output audio channels
...
Originally committed as revision 7705 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
bd31a388db
AVOption is now const, removes a few warnings
...
Originally committed as revision 7662 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
079e8cb962
do not override rc_buffer_occupancy if set
...
Originally committed as revision 7641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
27571d3de9
Segmentation fault fix when no video device is specified.
...
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Originally committed as revision 7445 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
f58f4ce19d
Original X11 device demuxer patch from Clemens Fruhwirth
...
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
structure for libavformat registration is renamed to
match build system integration.
Originally committed as revision 7302 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
83c547a4a1
revert broken commit of x11 device demuxer patch
...
Originally committed as revision 7301 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
e519b02c10
Original X11 device demuxer patch from Clemens Fruhwirth
...
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
structure for libavformat registration is renamed to
match build system integration.
Originally committed as revision 7293 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
386c88de74
print a more correct message when container frame rate differs from codec frame rate
...
Originally committed as revision 7264 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
f27a726809
use standard INT64_MAX instead of MAXINT64 (and MIN)
...
Originally committed as revision 7241 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
3c13202396
fix memleak, free stream codec allocated by av_new_stream
...
Originally committed as revision 7225 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
d86b83f8ab
add interactive support for MinGW
...
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Orignial thread:
date: Nov 5, 2006 1:55 AM
subject: [Ffmpeg-devel] [PATCH] MinGW interactive support
Originally committed as revision 7155 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f889d3f9e4
also set strict_std_compliance for stream copy, its needed for the bitstream filters
...
Originally committed as revision 6959 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4408e75e02
2nd try for -vcodec copy timebase selection last one choose 1fps due to broken opendivx stream in avi (avi had the correct 15fps)
...
Originally committed as revision 6920 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
8a7bde1ca9
move check for output file streams num in av_encode
...
Originally committed as revision 6907 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
f932cdf209
kill AVImageFormat
...
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Steve L'Homme
949b1a13bf
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
...
patch by Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d29de719a0
better timebase selection heuristic for video stream copy
...
fixes -ss -t -vcodec copy
Originally committed as revision 6847 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
borat@subsense.com
39a94d24f7
support for sub-only streams; patch by borat subsense com
...
Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 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
4bef236ba8
Fix quantiSer --> quantiZer typo.
...
Originally committed as revision 6523 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
3e66a74072
Update copyright year and mention other copyright holders.
...
Originally committed as revision 6408 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
720442981b
Remove the "mblmax" OptionDef. The equally named AVOption takes over its
...
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.
Originally committed as revision 6370 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
93b26b6381
Remove the "mblmin" OptionDef. The equally named AVOption takes over its
...
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.
Originally committed as revision 6369 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
0eba70acab
Remove the "lmin" OptionDef. The equally named AVOption takes over its function.
...
A unit change is involved, but as AVOption parameters are now parsed with
ff_eval2(), you can use the QP2LAMBDA constant to ease the change, f.e.:
ffmpeg -i src.ext -lmin 21*QP2LAMBDA dst.ext
Originally committed as revision 6368 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
494cf83702
Remove the "lmax" OptionDef. The equally named AVOption takes over its function.
...
A unit change is involved, but as AVOption parameters are now parsed with
ff_eval2(), you can use the QP2LAMBDA constant to ease the change:
ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
Originally committed as revision 6367 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
4156a436e3
Handle possible failure of ff_eval.
...
Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
22565f5d7e
Remove the "error" OptionDef. The equally named AVOption takes over its
...
function.
Originally committed as revision 6322 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
cccb4c966b
Remove the "mepc" OptionDef. The equally named AVOption takes over its function.
...
Originally committed as revision 6321 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
f4ea01dcd1
Remove the "skip_exp" OptionDef. The equally named AVOption takes over its
...
function.
Originally committed as revision 6320 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
f17ec19b5b
Remove the "skip_factor" OptionDef. The equally named AVOption takes over its
...
function.
Originally committed as revision 6319 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
7c1d662a0c
Remove the "skip_threshold" OptionDef. The equally named AVOption takes over its
...
function.
Originally committed as revision 6318 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
bf08081389
Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
...
function.
Originally committed as revision 6317 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
f5a478f65d
* Moving FifoBuffer out of libavformat/avformat.h and
...
libavformat/utils.c into libavutil
Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
56f68a4112
The "video_rc_buffer_aggressivity" variable is not being used anymore in
...
ffmpeg.c.
Originally committed as revision 6302 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
8cd019bdca
Remove the "sc_threshold" OptionDef variable.
...
Originally committed as revision 6301 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
c6dafae954
Remove the "bug" OptionDef used for setting the workaround_bugs variable.
...
Originally committed as revision 6300 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
58bba31e3f
Remove the "qsquish" OptionDef. The AVOption min/max value is changed to match
...
the removed range check in ffmpeg.c.
Originally committed as revision 6299 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6bacd250f4
Remove the "qmax" OptionDef.
...
Originally committed as revision 6298 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
5687a2f4cc
Remove the "qmin" OptionDef.
...
Originally committed as revision 6297 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
315b0f9742
Remove the "bf" OptionDef parameter so the equally named AVOption will take
...
over. Move over ffmpeg.c constraint checking, but allow value of zero to disable
B-frame.
Originally committed as revision 6296 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
4ff8fcefd2
Migrate the "packetsize" OptionDef option to become an AVOption.
...
Originally committed as revision 6293 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
09a455764b
Migrate the "muxrate" OptionDef option to become an AVOption.
...
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
81d0618fa4
Remove the "bufsize" OptionDef option from ffmpeg.c. The equally named "bufsize"
...
AVOption takes over its function with a change in unit from kilobytes to bits.
Postfix "KiB" is available to ease the discomfort.
Originally committed as revision 6288 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago