summaryrefslogtreecommitdiff
path: root/cmdutils.c
Commit message (Collapse)AuthorAge
* Allow hiding the banner.Carl Eugen Hoyos2013-12-29
| | | | Fixes ticket #3246.
* cmdutils & opencl: add -opencl_bench option to test and show available ↵Lenny Wang2013-12-09
| | | | | | | | OpenCL devices Reviewed-by: Wei Gao <highgod0401@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* build: rename version.h to libavutil/ffversion.hTimothy Gu2013-11-30
| | | | | | | | | | | | | | | | Also the libavutil/ffversion.h will be installed. Rationale: * Applications might want to know FFmpeg's version besides the individual libraries'. * Avoids file name clash between FFmpeg's ./version.h and lib*/version.h when a library source file includes both and is compiled on an out-of-tree build. Fixes #1769. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "configure: add #include "version.h" to config.h"Michael Niedermayer2013-11-28
| | | | | | | | | | This reverts commit ca21116b3f53a9bdd74364bfab9cde70a044b165. Revert suggested by Jamal: "Bad secondary effect i just noticed: Every time version.h is changed (git pull for example), anything that includes config.h will be recompiled. And that means pretty much every single file in the tree. "
* configure: add #include "version.h" to config.hTimothy Gu2013-11-27
| | | | | | | Avoid clash with version.h of the libraries. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* cmdutils: remove this_year constant, use CONFIG_THIS_YEAR insteadStefano Sabatini2013-11-26
| | | | Simplify.
* configure: define CONFIG_THIS_YEAR at the configure levelStefano Sabatini2013-11-26
| | | | The macro value can be shared between configure script and cmdutils.c.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add missing #includes for *INT64_MAX and *INT64_C Conflicts: ffmpeg.c ffmpeg_filter.c ffplay.c libavformat/assdec.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
| |
* | cmdutils&ffmpeg: use av_fopen_utf8() for passlogfileMichael Niedermayer2013-11-21
| | | | | | | | | | | | might fix Ticket3056 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: randomize spaces after 69cf626f9.Clément Bœsch2013-11-21
| |
* | cmdutils: cosmeticsMichael Niedermayer2013-11-20
| | | | | | | | | | | | requested by multiple people Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: Add -buildconf option.Stephen Hutchinson2013-11-19
| | | | | | | | | | | | The output is formatted to display one option per line. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: fix expected signature for show_colors() functionStefano Sabatini2013-10-28
| | | | | | | | | | | | | | | | | | Fix warning: In file included from ffprobe.c:2557:0: cmdutils_common_opts.h:17:5: warning: initialization from incompatible pointer type [enabled by default] cmdutils_common_opts.h:17:5: warning: (near initialization for ‘real_options[16].u.func_arg’) [enabled by default] Spotted-by: Paul B Mahol
* | cmdutils: add -colors optionStefano Sabatini2013-10-27
| |
* | Merge commit 'f825d42bccdb9f89669a586951de7f66a81e80a5'Michael Niedermayer2013-10-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f825d42bccdb9f89669a586951de7f66a81e80a5': avplay: Accept cpuflags option Conflicts: cmdutils_common_opts.h doc/ffmpeg.texi doc/fftools-common-opts.texi ffmpeg_opt.c See: 1060e9ce5454e7ac009969ab2cf8f7cd83a69ac3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avplay: Accept cpuflags optionLuca Barbato2013-10-22
| | | | | | | | | | | | Quite useful for debugging. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | cmdutils: print command support in -filters.Paul B Mahol2013-09-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | cmdutils: silence warning about incompatible pointer typesPaul B Mahol2013-08-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | cmdutils: Filter non user AVOptions out from what can be set over the ↵Michael Niedermayer2013-08-28
| | | | | | | | | | | | command line. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0f1fb6c0194c85483dedb93b20a5b76f6fc9d520'Michael Niedermayer2013-08-08
|\| | | | | | | | | | | | | | | * commit '0f1fb6c0194c85483dedb93b20a5b76f6fc9d520': libavutil: Don't use fcntl if the function does not exist cmdutils: Only do the windows-specific commandline parsing on _WIN32 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cmdutils: Only do the windows-specific commandline parsing on _WIN32Diogo Franco2013-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes commandline parsing on Cygwin (on 64 bit, and on very recent 32 bit), where the configure check does find the CommandLineToArgvW function (since it exists in the link libraries and in the headers), but whose GetCommandLineW() only returns the application's path. (This is due to a cygwin internal optimization, see http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.) Arguments are only given through main's argc/argv, and they're already UTF-8. Signed-off-by: Martin Storsjö <martin@martin.st>
* | cmdutils: replace exit() by exit_program()Michael Niedermayer2013-07-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '636ced8e1dc8248a1353b416240b93d70ad03edb'Michael Niedermayer2013-07-08
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '636ced8e1dc8248a1353b416240b93d70ad03edb': cmdutils: wrap exit explicitly Conflicts: avprobe.c cmdutils.c ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cmdutils: wrap exit explicitlyLuca Barbato2013-07-07
| | | | | | | | | | | | | | | | | | | | Some C runtime implementations deadlock when calling threading functions on the atexit() handler. Use a simpler wrapper similar to av_log to call the cleanup function before exit. Bug-Id: 523
* | cmdutils: dont change the log level for -reportMichael Niedermayer2013-06-24
| | | | | | | | | | | | Fixes Ticket2476 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: print threading capabilities for audio codecsPaul B Mahol2013-06-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | cmdutils: print slice threading flag in -filters.Clément Bœsch2013-05-24
| |
* | Merge commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f'Michael Niedermayer2013-05-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f': lavfi: add a slice threading infrastructure Conflicts: Changelog cmdutils.c doc/APIchanges libavfilter/Makefile libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/internal.h libavfilter/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: add a slice threading infrastructureAnton Khirnov2013-05-24
| | | | | | | | Mostly based on libavcodec's
* | cmdutils: show timeline support in -filters listingStefano Sabatini2013-05-19
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
| |
* | lavfi: add timeline support.Clément Bœsch2013-04-23
| | | | | | | | | | Flag added in a few simple filters. A bunch of other filters can likely use the feature as well.
* | cmdutils: make the "-help filter=" output less confusingMichael Niedermayer2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | Example: Filter overlay Overlay a video source on top of the input. Inputs: #0: main (video) #1: overlay (video) Outputs: #0: default (video) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: slightly better -filters output.Clément Bœsch2013-04-17
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-04-16
|\| | | | | | | | | | | | | | | * qatar/master: cmdutils: Fix build with lavfi disabled flvenc: do not mux more than one stream per type Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cmdutils: Fix build with lavfi disabledAnton Khirnov2013-04-16
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | cmdutils: print if filters are sources or sinks.Clément Bœsch2013-04-13
| |
* | Merge commit '921046008f5335601f9d76dc3a768eb5cd91e1b9'Michael Niedermayer2013-04-12
|\| | | | | | | | | | | | | | | | | | | * commit '921046008f5335601f9d76dc3a768eb5cd91e1b9': cmdutils: allow -h filter=<name> to print information about a filter. Conflicts: cmdutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cmdutils: allow -h filter=<name> to print information about a filter.Anton Khirnov2013-04-11
| |
| * avtools: move media_type_string() from avprobe to cmdutils.Anton Khirnov2013-04-11
| | | | | | | | It will be useful outside of avprobe.
* | Merge commit 'fa2a34cd40d124161c748bb0f430dc63c94dd0da'Michael Niedermayer2013-04-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fa2a34cd40d124161c748bb0f430dc63c94dd0da': lavfi: change the filter registering system to match the other libraries Conflicts: cmdutils.c ffplay.c libavfilter/avfilter.c libavfilter/avfilter.h This removes the ability to put AVFilters in read only memory and having them shareable. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: change the filter registering system to match the other librariesAnton Khirnov2013-04-11
| | | | | | | | Removes an arbitrary hardcoded limit on the number of filters.
* | cmdutils: add opencl command line options to ffmpeghighgod04012013-04-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cmdutils: remove error message from opt_default() in case of missing optionStefano Sabatini2013-04-05
| | | | | | | | | | | | | | | | A similar error message is generated by the calling function, avoid duplication and spurious error message occurring with negated boolean options introduced in 8bb5680, which can be reproduced for example with the command: ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -
* | cmdutils: fix build with --disable-avfilter.Clément Bœsch2013-04-01
| |
* | cmdutils: support filters in the help topic system.Clément Bœsch2013-03-31
| |
* | cmdutils: allow forcing log line repeationMichael Niedermayer2013-03-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | opt: re-enable memleak fix for duplicated options.Clément Bœsch2013-03-13
| | | | | | | | | | | | | | The memleak fix in a1bcc76e was causing problems when the original string wasn't NULL or av_malloc'ed, thus was disabled. It seems the only OPT_STRING occurence where it needed to be fixed is in ffserver. This commit fixes that specific problem and so re-enable the original code.