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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8bc92365 
								
							
								 
							
						 
						
							
							
								
								Add missing #includes for *INT64_MAX and *INT64_C  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f825d42bcc 
								
							
								 
							
						 
						
							
							
								
								avplay: Accept cpuflags option  
							
							Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								129bb23843 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a slice threading infrastructure  
							
							Mostly based on libavcodec's 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6c4ac7b5f 
								
							
								 
							
						 
						
							
							
								
								pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f1fd97636 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Fix build with lavfi disabled  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								921046008f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow -h filter=<name> to print information about a filter.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e19e8aeeaa 
								
							
								 
							
						 
						
							
							
								
								avtools: move media_type_string() from avprobe to cmdutils.  
							
							It will be useful outside of avprobe. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa2a34cd40 
								
							
								 
							
						 
						
							
							
								
								lavfi: change the filter registering system to match the other libraries  
							
							Removes an arbitrary hardcoded limit on the number of filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d3009c6c4 
								
							
								 
							
						 
						
							
							
								
								avconv: print an error on applying options of the wrong type.  
							
							I.e. input options to output files or vice versa. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								354468fc12 
								
							
								 
							
						 
						
							
							
								
								avplay: switch to new refcounted frames API  
							
							Remove now unused cmdutils get_buffer() implementation. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efa7f42020 
								
							
								 
							
						 
						
							
							
								
								Use the avstring.h locale-independent character type functions  
							
							Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb6f8245ae 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Allow calling filter_codec_opts without a set encoder  
							
							In this case, no encoder specific options are filtered, only
options specific to that codec type in general.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8da807537 
								
							
								 
							
						 
						
							
							
								
								cmdutils: only use libavresample when it is enabled  
							
							avprobe and avserver use cmdutils and do not strictly require libavresample. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c7db097eb 
								
							
								 
							
						 
						
							
							
								
								avconv: pass libavresample options to AVFilterGraph  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2a25c4032 
								
							
								 
							
						 
						
							
							
								
								get_buffer(): do not initialize the data.  
							
							There may be more decoders that rely on this. Those should be found and
fixed. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89f11f498b 
								
							
								 
							
						 
						
							
							
								
								qtrle: fix the topmost line for 1bit  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2cd4068071 
								
							
								 
							
						 
						
							
							
								
								fraps: fix off-by one bug for version 1.  
							
							CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da7baaaae7 
								
							
								 
							
						 
						
							
							
								
								aasc: fix output for msrle compression.  
							
							The bottom line was invalid before.
CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a39985451 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove ansi from the list of broken codecs.  
							
							It's not relying on get_buffer() initializing the frame since
99e36ddd3e 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								238614de67 
								
							
								 
							
						 
						
							
							
								
								cdgraphics: do not rely on get_buffer() initializing the frame.  
							
							Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7768a635c4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: update copyright year to 2013  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c661cb6672 
								
							
								 
							
						 
						
							
							
								
								cmdutils: pass number of groups to split_commandline().  
							
							This makes the code simpler and avoids mixing designated and
non-designated initializers in a potentially unsafe way in avconv. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ec1642b60 
								
							
								 
							
						 
						
							
							
								
								cmdutils: don't log an error in opt_default().  
							
							It results in spurious errors when using the new preparser. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c9af5b205 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add a commandline pre-parser.  
							
							It splits the commandline into a more convenient internal representation
for further parsing.
This will allow e.g.
- processing global options first independently of their location on the
  commandline, eliminating ugly hacks for processing e.g. cpuflags
  first
- better options validation and error reporting. It is now possible for
  the parser to know that it's applying an input option to an output
  file or vice versa and act accordingly. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a01c02bcff 
								
							
								 
							
						 
						
							
							
								
								cmdutils: split parse_option().  
							
							Separate the code that searches for the option to use and the code that
actually writes it. The writing code will be reused by the new options
parser. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff953fecff 
								
							
								 
							
						 
						
							
							
								
								lavc: set frame properties in ff_get_buffer().  
							
							There is no point in duplicating this code in every get_buffer()
implementation. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15caccb9be 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Use a configure check for enabling CommandLineToArgvW  
							
							This simplifies the condition to avoid hardcoding the systems
where the function exists. This also simplifies support for
newer Windows API subsets where this function doesn't exist,
such as Windows Phone 8 and the "metro" API subset of Windows 8.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1a02e884a 
								
							
								 
							
						 
						
							
							
								
								pixdesc: add av_pix_fmt_get_chroma_sub_sample  
							
							Deprecate avcodec_get_chroma_sub_sample. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab79966475 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Conditionally compile libswscale-related bits  
							
							This fixes compilation with libswscale disabled. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f65eff408 
								
							
								 
							
						 
						
							
							
								
								Include sys/time.h before sys/resource.h  
							
							Some systems require sys/time.h being explicitly included before
sys/resource.h.  The configure check already does this.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7f1010c8f 
								
							
								 
							
						 
						
							
							
								
								tools: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b94e4acb48 
								
							
								 
							
						 
						
							
							
								
								cmdutils_read_file: increment *size after writing the trailing \0  
							
							Fixes CID732166. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e3f9979fa 
								
							
								 
							
						 
						
							
							
								
								Use atexit() instead of defining a custom exit_program() interface.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								990450c5bf 
								
							
								 
							
						 
						
							
							
								
								cmdutils: avoid setting data pointers to invalid values in alloc_buffer()  
							
							Fixes bug 352. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11d957fbd8 
								
							
								 
							
						 
						
							
							
								
								avtools: remove the distinction between func_arg and func2_arg.  
							
							func2_arg is the same as func_arg, except it has one additional
parameter. Change all func_arg callbacks to take that parameter (and
ignore it). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2785fa728 
								
							
								 
							
						 
						
							
							
								
								cmdutils: make -codecs print lossy/lossless flags.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1bcc76e60 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix a memleak when specifying an option twice.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9fada2704 
								
							
								 
							
						 
						
							
							
								
								avconv: split printing "main options" into global and per-file.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1136bd362a 
								
							
								 
							
						 
						
							
							
								
								avtools: add -h demuxer/muxer  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a3ad68d36c 
								
							
								 
							
						 
						
							
							
								
								cmdutils: extend -h to allow printing codec details.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c5012127f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: change semantics of show_help_options() and document it.  
							
							Currently it takes a mask and value, such that options for which
(flags & mask) == value.
Change it to take required flags and forbidden flags instead. This is
shorter and simpler to understand. 
							
						 
						13 years ago