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  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc4c24a3d3 
								
							
								 
							
						 
						
							
							
								
								avtools: move some newlines to show_help_options().  
							
							Don't require every caller to supply them. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f617135bc9 
								
							
								 
							
						 
						
							
							
								
								avtools: fix show_foo() signatures.  
							
							show_foo() functions are declared as void show_foo(void), but called as
int show_foo(const char*, const char*). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c10194996 
								
							
								 
							
						 
						
							
							
								
								cmdutils: refactor -codecs option.  
							
							Make it print a list of AVCodecDescriptors.
Add new -decoders and -encoders options that print lists of decoders and
encoders respectively. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45870f8b6e 
								
							
								 
							
						 
						
							
							
								
								Print full compiler identification, not only version number  
							
							This provides a more precise identification of the compiler used.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66a297975d 
								
							
								 
							
						 
						
							
							
								
								cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).  
							
							This is required for CommandLineToArgvW. Normally, shellapi.h is included
implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of
the other earlier headers have included windows.h with that option),
windows.h doesn't include this one.
Thus explicitly include the headers we really need, for clarity and
compatibility. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3ed1c9571 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Pass the actual chosen encoder to filter_codec_opts  
							
							This allows passing the right options to encoders when there's more
than one encoder for a certain codec id.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d55c2e05b5 
								
							
								 
							
						 
						
							
							
								
								avtools: move buffer management code from avconv to cmdutils.  
							
							It will be used by avplay. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7cf78b3476 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Add fallback case to switch in check_stream_specifier().  
							
							This fixes the warning:
cmdutils.c:897: warning: ‘type’ may be used uninitialized in this function 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac71230902 
								
							
								 
							
						 
						
							
							
								
								lavfi: add video buffer sink, and use it in avtools  
							
							Also add the public interface libavfilter/buffersink.h.
Based on a commit by Stefano Sabatini. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bcb82fe1f4 
								
							
								 
							
						 
						
							
							
								
								avconv: use libavresample  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7327887ea 
								
							
								 
							
						 
						
							
							
								
								avconv: get output pixel format from lavfi.  
							
							This way we don't require a clearly defined corresponding input stream.
The result for the xwd test changes because rgb24 is now chosen instead
of bgra. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								050dc12778 
								
							
								 
							
						 
						
							
							
								
								Read preset files with suffix .avpreset  
							
							The preset files have been renamed some time ago.
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4138cd2907 
								
							
								 
							
						 
						
							
							
								
								avconv: add -cpuflags option for setting supported cpuflags.  
							
							Useful for testing. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3faa141d15 
								
							
								 
							
						 
						
							
							
								
								cmdutils: use new avcodec_is_decoder/encoder() functions.  
							
							Fixes listing encoders. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b315042c8c 
								
							
								 
							
						 
						
							
							
								
								Remove libpostproc.  
							
							This library does not fit into Libav as a whole and its code is just a
maintenance burden.  Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21d0d1d64f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: update copyright year to 2012.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								570f6aaab1 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix options starting with 'no'.  
							
							E.g. non_linear_quant mpeg2video private option.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abe655a472 
								
							
								 
							
						 
						
							
							
								
								Drop unnecessary prefix from *sink* variable and struct names.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45f2908d02 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Rename ffsink to avsink.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								014f8d8106 
								
							
								 
							
						 
						
							
							
								
								No longer build libpostproc by default  
							
							update documentation to inform developers that it may be removed in a
later release.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbaef7d16e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: K&R reformatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4b63054d9 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Drop unnecessary parentheses around return values.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b58dbb5b03 
								
							
								 
							
						 
						
							
							
								
								lavc: add a sample_aspect_ratio field to AVFrame  
							
							The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85770d6e56 
								
							
								 
							
						 
						
							
							
								
								Add libavutil/mathematics.h #includes for INFINITY  
							
							This fixes build errors in some environments.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02170990fd 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Rename read_file to cmdutils_read_file  
							
							This symbol name clashes with a symbol in gnutls, if linking
statically to that library.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d94c577d3c 
								
							
								 
							
						 
						
							
							
								
								cmdutils: check fread() return value  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a6cd9957d 
								
							
								 
							
						 
						
							
							
								
								cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3ea34655 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of deprecated AVOptions API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8124d8ad66 
								
							
								 
							
						 
						
							
							
								
								avtools: add -v as alias for -loglevel  
							
							This saves a bit of typing.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ccd15803b 
								
							
								 
							
						 
						
							
							
								
								avconv: add support for copying attachments.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c5e9551bc 
								
							
								 
							
						 
						
							
							
								
								cmdutils: replace fprintf() by av_log()  
							
							This way, all messages can be easily disabled with -loglevel.
Behavior change -- configuration is printed with AV_LOG_VERBOSE, so it's
not shown by default. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								182cbe433a 
								
							
								 
							
						 
						
							
							
								
								avtools: parse loglevel before all the other options.  
							
							This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1b1015581 
								
							
								 
							
						 
						
							
							
								
								cmdutils: move grow_array out of #if CONFIG_AVFILTER  
							
							fixes programs linking with --disable-avfilter 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c474ddbc5 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add support for programs in check_stream_specifier()  
							
							Remove now redundant (and broken/undocumented) opt_programid. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05bffc12c4 
								
							
								 
							
						 
						
							
							
								
								avconv: move audio_sample_fmt to options context.  
							
							Also document it and replace undocumented and inconsistent
'-sample_fmt list' syntax with -sample_fmts. 
							
						 
						14 years ago