History | View | Annotate | Download (28.7 KB)
avio: deprecate av_protocol_next().
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
also update the multiple inclusion guards in config.h|mak
Deprecate parse_date() in favor of av_parse_time().
The new av_parse_time() is created in libavutil/parseutils.h, all theinternal functions used by parse_date are moved tolibavutil/parseutils.c and made static.
Merge libavcore into libavutil
It is pretty hopeless that other considerable projects will adoptlibavutil alone in other projects. Projects that need small footprintare better off with more specialized libraries such as gnulib or ratherjust copy the necessary parts that they need. With this in mind, nobody...
cmdutils: fix codec-specific options from preset
Using a preset file caused the address of a stack variable to be storedin opt_names/values. This change causes the strings to be dup'd thenfreed in uninit_opts.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
cmdutils: fix opt_values leak
Add free to uninit_opts and relocate opt_names to same
Make this_year static to cmdutils.c
libavcodec minor version is > 99 so fix the formating
libavcodec minor version is > 99 so when printing the library versionsthe output is a little bit broken:
libavutil 50. 36. 0 / 50.36. 0 libavcore 0. 16. 1 / 0.16. 1 libavcodec 52.108. 0 / 52.108. 0...
Use INFINITY and NAN macros instead of 1/0 and 0/0
Disable initialization of the swscale sws_opts context incmdutils.c:init_opts(), in the case libswscale compilation is notenabled.
Fix ffprobe and ffserver compilation with --disable-swscale.
Originally committed as revision 26212 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent
Originally committed as revision 26205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AVOption for muxers in ffmpeg.
Patch by Anssi Hannula, anssi d hannula d iki d fi
Originally committed as revision 26199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update current year to 2011. Happy New Year!
Originally committed as revision 26184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X],fix crash in ffprobe.
Originally committed as revision 25799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement get_preset_file() in cmdutils.h and use it to factorize codefrom ffmpeg.c and ffserver.c.
Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement a common get_filtered_video_frame(), shared between ffplay.cand ffmpeg.c.
Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize definition of the output_filter defined in both ffplay.c andffmpeg.c.Replace it with a more generic definition which can be shared.
Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add init and uninit functions to cmdutils, reduces code duplicationbetween ffmpeg and ffplay and avoids a valgrind error by freeingavformat_opts->key.
Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
User application side of Codec specific parameters.
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
All else being equal, prefer PTS over DTS in timestamp correction
Because DTS values aren't passed through decoders, they tend to beinaccurate if decoder delay doesn't match what was expected by the encoder.
In particular this improves timestamps for H.264 without num_reorder_frames...
Extract timestamp correction code from ffplay.c to cmdutils.c
Originally committed as revision 25241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add more missing checks in opt_default(), prevent a crash ifavcodec_opts0 or avformat_opts is not set.
Originally committed as revision 25186 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add missing existence checks in opt_default().
Originally committed as revision 25179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move log_callback_help to cmdutils.[hc], for allowing sharing.
Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
Extend show_protocols() to make it print information about input,output, seek support.
Originally committed as revision 24581 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize indent definition in PRINT_LIB_INFO().
Originally committed as revision 24435 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge maybe_print_config() and PRINT_LIB_CONFIG() in PRINT_LIB_INFO().
Originally committed as revision 24434 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename:PRINT_LIB_VERSION() -> PRINT_LIB_INFO()print_all_lib_versions() -> print_all_libs_info()
Originally committed as revision 24433 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent.
Originally committed as revision 24432 to svn://svn.ffmpeg.org/ffmpeg/trunk
Increase flexibility of PRINT_LIB_VERSION(), make it accept a flagsparameter. Allow a pending factorization.
Originally committed as revision 24431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add libavcore.
The new library is meant to contain the core multimedia utilities forFFmpeg, to make them shareable between more libav* libraries.
See thread:Subject: [FFmpeg-devel] [RFC] New library for shared non-generic libav* utilsDate: Fri, 9 Jul 2010 01:07:40 +0200...
Make all the numeric options accept in input an expression which isevaluated through av_strtod().
Fix roundup issue #551.
Originally committed as revision 23556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Open 2-pass logfile in binary mode for both reading and writing.This fixes a regression on Windows introduced by r22769 in which the data readfrom the file was not properly zero terminated. The file was read as text,which caused the \r characters to be suppressed. Since the zero termination...
Fix build with swscale disabled
Originally committed as revision 23062 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after the last commit.
Originally committed as revision 23034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Simplify print_error(), directly use av_strerror()/strerror() forprinting the error code associated to FF_NETERROR(EPROTONOSUPPORT).
Originally committed as revision 23033 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make print_error() use strerror() in case av_strerror() fails.
Should provide a meaningful error message for systems which do notsupport strerror_r().
Fix roundup issue #1894.
Originally committed as revision 23032 to svn://svn.ffmpeg.org/ffmpeg/trunk
AVERROR) -> FF_NETERROR(x)FF_NETERROR is implicitly an AVERROR.
Originally committed as revision 22888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement cmdutils.c:read_file(), and use it in ffmpeg.c for readingthe second pass encoding log file.
Originally committed as revision 22769 to svn://svn.ffmpeg.org/ffmpeg/trunk
Issue a more general message when the function which sets an optionfails.
It may fail not only because of an invalid value for the option, butalso for other reasons, e.g. memory problems etc.
Originally committed as revision 22738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use av_strerror() in print_error().
Originally committed as revision 22696 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove printing of frame sizes and frame rate abbreviations fromshow_protocols().
The list of abbreviations is both outdated and out of context.
Originally committed as revision 22589 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make opt_default() look for options in sws_opts only if sws_opts isdefined, fix crash.
Originally committed as revision 22232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make opt_default() print an error message and exit if the optionsupplied is not recognized.
Originally committed as revision 21960 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFmpeg is a collective effort so allowing a single name in a banner isnot nice/fair towards the community of developers.
Also this looks like the best way for resolving the debate about whichis the one person name to be put in the banner.
See the thread:...
Extend show_pix_fmts(), make it show input/output support forconversion and other information exposed by the pixdesc API.
Originally committed as revision 21751 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for setrlimit()
Originally committed as revision 21733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make parse_options() explicitely handle the case where an opt_func2function returns a negative value, rather than erroneously trigger thecode which manages the case of unknown option.
Originally committed as revision 21670 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare variable "version" in the PRINT_LIB_VERSION() macro if block,slightly simpler and more robust.
Originally committed as revision 21492 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prettify PRINT_LIB_VERSION macro
Originally committed as revision 21477 to svn://svn.ffmpeg.org/ffmpeg/trunk
Get rid of ifdeffery for printing library versions and configurations
Originally committed as revision 21476 to svn://svn.ffmpeg.org/ffmpeg/trunk
Print config of each lib if different from that of ffmpeg/ffplay/ffserver
Originally committed as revision 21448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add -timelimit option
This option limits the CPU time used by ffmpeg to the number of secondsspecified. After this time, the OS sends a SIGXCPU signal, which wehandle and attempt to exit cleanly. If the process is stuck, the OSwill deliver a SIGKILL one second later, forcibly terminating the...
Update this_year value.
Originally committed as revision 20995 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark conditionally used variable as av_unused, fixes the warning:cmdutils.c:576: warning: unused variable ‘filter’
Originally committed as revision 20943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement a -pix_fmts option for listing all the supported pixelformats.
Originally committed as revision 20909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize opt+1 out in parse_options(), simplify.
Originally committed as revision 20872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Only list libavfilter filters if libavfilter has been enabled duringconfiguration.Fix compilation if FFmpeg is not configured with --enable-avfilter.
Originally committed as revision 20813 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can beshared by the other ff* tools code.
Originally committed as revision 20812 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement a -filters option, listing all the available libavfilterfilters.Currently filters are not registered, so the option will show none.
Originally committed as revision 20807 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make show_protocols() print one protocol per line.
Originally committed as revision 20568 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split show_formats().
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make show_formats() print each bitstream filter on a separate line.Improve readability of the output.
Originally committed as revision 20549 to svn://svn.ffmpeg.org/ffmpeg/trunk
Improve compiler information code to print to the console on program startup.Remove gcc-specific hacks and allow filling relevant information for non-gcccompilers in configure.
Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Print compiler version and build date before configuration in console output.
Originally committed as revision 19962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document the output of ffmpeg -formats.
Patch by William R. Zwicky, wrzwicky pobox com
Originally committed as revision 19610 to svn://svn.ffmpeg.org/ffmpeg/trunk
Handle noX for OPT_BOOL X.
Originally committed as revision 19572 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove superfluous const.
Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move opt_loglevel() from ffmpeg.c to cmdutils.c.
Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize initial "printf(" and ");" in show_license().
Originally committed as revision 18950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement read_yesno().
Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename avctx_opts to avcodec_opts.
The new name is more meaningful and consistent with avformat_optsand sws_opts.
Originally committed as revision 17789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert part of r16593.network.h should only be included when CONFIG_NETWORK is set.
Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement a var for containing the current year number rather thanhardcode it in the banner string.
Originally committed as revision 16678 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove pointless #if around header #includes.
Originally committed as revision 16593 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Bump year number.
Originally committed as revision 16406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove calls to deprecated av_set_string2() with calls toav_set_string3().
Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix weird indent.
Originally committed as revision 16200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix opt_default(), making it exit immediately in case of an invalidargument.See the thread: "[PATCH] Fix opt_default()".
Originally committed as revision 16196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Include headers for optional libraries only when enabled.
Include the headers for libavfilter, libswscale and libpostproc whenthey are enabled (and thus linked in).
Without this change, Sun Studio will fail to link FFmpeg since twoinline functions defined in avfilter.h will have undefined references...
Use CONFIG_* macros in cmdutils.c for consistency.
Originally committed as revision 15626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò
Originally committed as revision 15547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move opt_default() and set_context_opts() to cmdutils so it can be used fromthe other tools as well.
Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make show_banner()/show_version() print the libpostproc versionnumbers if enabled.
Originally committed as revision 15149 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: vertical align in print_all_lib_versions().
Originally committed as revision 15032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make show_version()/show_banner() print the libswscale versions ifenabled.
Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make show_banner() and show_version() print both the compile-time and thelink-time/run-time libav* version numbers.
Originally committed as revision 14737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace call to deprecated avcodec_build() with avcodec_version().
Originally committed as revision 14521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Print the program_name rather than always "FFmpeg" when showing thecommandline tools license.
Originally committed as revision 14141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Simplify show_banner() so that it does not require arguments, similarto what was previously done with show_version().patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move show_formats() to cmdutils.c.Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do not pass program_name as argument to show_version(), this allows somefuture simplifications.
Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
OPT_EXIT
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk