b1306823d0 
								
							
								 
							
						 
						
							
							
								
								check memory errors from av_strdup()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38129c26c5 
								
							
								 
							
						 
						
							
							
								
								cmdutils: check file access functions return values  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 703706 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00dc2859f0 
								
							
								 
							
						 
						
							
							
								
								cmdutils: use macros for device test  
							
							Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4be03a7a6c 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Exit in case of faulty stream specifiers  
							
							Avoids printing confusing and unrelated errors
Fixes Ticket2772
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f55819850 
								
							
								 
							
						 
						
							
							
								
								opts: add list device sources/sinks options  
							
							Allows to list sources/sinks of the devices that implement
that functionality.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fc970a6b8 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Read errno before av_log() as the callback from av_log() might affect errno  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47e3e1097e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Use the correct guard  
							
							The OptionDef arrays are terminated with a { NULL } element not NULL.
CC: libav-stable@libav.org 
Bug-Id: CID 703769 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dd09ebf55 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Print a more sensible message in show_filters() w/o libavfilter  
							
							Also avoid an unused variable warning for compilers w/o av_unused support. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c43cfe2d4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Add some whitespace when printing layouts  
							
							Adds some more whitespace between channel layout name and decomposition.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81a663f49e 
								
							
								 
							
						 
						
							
							
								
								Drop remaining unneeded != NULL  
							
							Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b1f5e5090 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Write NULL pointer inequality checks more compactly  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f929ab0569 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Write NULL pointer equality checks more compactly  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								481a366749 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow matching by metadata in stream specifiers  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f5d75f95b 
								
							
								 
							
						 
						
							
							
								
								cmdutils: ignore sws_flags if swscale is not enabled  
							
							This avoids some failures during fate when swscale is disabled
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								389d45351e 
								
							
								 
							
						 
						
							
							
								
								version string: add copyright line to version string  
							
							Show the copyright when running `ffmpeg -version'. This is useful for
end users trying to determine whether they are using FFmpeg or Libav.
Signed-off-by: Simon Thelen <ffmpeg@c-14.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d82ecfce07 
								
							
								 
							
						 
						
							
							
								
								cmdutils: implement FFREPORT=level=...  
							
							Fixes Ticket3057
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8518da23f5 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -devices param  
							
							FFmpeg mix devices and file formats when -formats option is used.
This commit adds a -devices param to list devices only.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								978c193d47 
								
							
								 
							
						 
						
							
							
								
								cmdutils: omit deprecated codec ids in help output  
							
							These ids should be meaningless for the end user and would only
confuse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								262ea965e7 
								
							
								 
							
						 
						
							
							
								
								cmdutils: preserve unchanged log flags when setting AV_LOG_SKIP_REPEATED  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								53487268e5 
								
							
								 
							
						 
						
							
							
								
								cmdutils: use av_mallocz_array()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b4543ff69 
								
							
								 
							
						 
						
							
							
								
								cmdutils/filter_codec_opts: do not discard all options for CODEC_ID_NONE  
							
							This fixes cases where the codec is detect later than the stream creation
No testcase with unmodified source known
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81498ceb5b 
								
							
								 
							
						 
						
							
							
								
								avconv: Match stream id  
							
							Quite useful to select by pid in MPEG-TS. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ce88e5ec4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: update copyright year to 2014.  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4c89c90ff 
								
							
								 
							
						 
						
							
							
								
								Allow hiding the banner.  
							
							Fixes ticket #3246 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64f73acd1d 
								
							
								 
							
						 
						
							
							
								
								cmdutils & opencl: add -opencl_bench option to test and show available OpenCL devices  
							
							Reviewed-by: Wei Gao <highgod0401@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82b2e9cb1d 
								
							
								 
							
						 
						
							
							
								
								build: rename version.h to libavutil/ffversion.h  
							
							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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0075a22f41 
								
							
								 
							
						 
						
							
							
								
								Revert "configure: add #include "version.h" to config.h"  
							
							This reverts commit ca21116b3f 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca21116b3f 
								
							
								 
							
						 
						
							
							
								
								configure: add #include "version.h" to config.h  
							
							Avoid clash with version.h of the libraries.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8bf7ea8ac2 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove this_year constant, use CONFIG_THIS_YEAR instead  
							
							Simplify. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c4710a745 
								
							
								 
							
						 
						
							
							
								
								configure: define CONFIG_THIS_YEAR at the configure level  
							
							The macro value can be shared between configure script and cmdutils.c. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8bc92365 
								
							
								 
							
						 
						
							
							
								
								Add missing #includes for *INT64_MAX and *INT64_C  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7ac887cd6 
								
							
								 
							
						 
						
							
							
								
								cmdutils&ffmpeg: use av_fopen_utf8() for passlogfile  
							
							might fix Ticket3056
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e70eeef3a 
								
							
								 
							
						 
						
							
							
								
								cmdutils: randomize spaces after  69cf626f9.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f95b5d2a11 
								
							
								 
							
						 
						
							
							
								
								cmdutils: cosmetics  
							
							requested by multiple people
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69cf626f9c 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Add -buildconf option.  
							
							The output is formatted to display one option per line.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6baf9c4406 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix expected signature for show_colors() function  
							
							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 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e268285aa 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add -colors option  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f825d42bcc 
								
							
								 
							
						 
						
							
							
								
								avplay: Accept cpuflags option  
							
							Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4ab723a79 
								
							
								 
							
						 
						
							
							
								
								cmdutils: print command support in -filters.  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48cd1037f6 
								
							
								 
							
						 
						
							
							
								
								cmdutils: silence warning about incompatible pointer types  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70106e73c5 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Filter non user AVOptions out from what can be set over the command line.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8edf4e1cf 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Only do the windows-specific commandline parsing on _WIN32  
							
							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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d3c3035b7 
								
							
								 
							
						 
						
							
							
								
								cmdutils: replace exit() by exit_program()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								636ced8e1d 
								
							
								 
							
						 
						
							
							
								
								cmdutils: wrap exit explicitly  
							
							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 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46312fc2a9 
								
							
								 
							
						 
						
							
							
								
								cmdutils: dont change the log level for -report  
							
							Fixes Ticket2476
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c59c0488ec 
								
							
								 
							
						 
						
							
							
								
								cmdutils: print threading capabilities for audio codecs  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c50e52005 
								
							
								 
							
						 
						
							
							
								
								cmdutils: print slice threading flag in -filters.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								129bb23843 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a slice threading infrastructure  
							
							Mostly based on libavcodec's 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								427b51269e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: show timeline support in -filters listing  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6c4ac7b5f 
								
							
								 
							
						 
						
							
							
								
								pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*  
							
							
								
							
							
						 
						12 years ago