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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e19e8aeeaa 
								
							
								 
							
						 
						
							
							
								
								avtools: move media_type_string() from avprobe to cmdutils.  
							
							It will be useful outside of avprobe. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a95449d2f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove unneeded #if  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d757f7510b 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add opencl command line options to ffmpeg  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d8ad6c1fa 
								
							
								 
							
						 
						
							
							
								
								cmdutils: avtool -> fftool  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad899522ff 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use a AVDictionary instead of the context to move swr parameters around  
							
							This avoids per parameter changes in ffmpeg at the cost of making access
somewhat more annoying.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c7db097eb 
								
							
								 
							
						 
						
							
							
								
								avconv: pass libavresample options to AVFilterGraph  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ac85bebd5 
								
							
								 
							
						 
						
							
							
								
								lavf: remove nonexistent symbols  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								10bca66101 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add a macro to simplify grow_array() calls.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e6fa5be3c 
								
							
								 
							
						 
						
							
							
								
								Revert "cmdutils: allow specifying the file for -report"  
							
							This reverts commit 841bf0ef24 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								841bf0ef24 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow specifying the file for -report  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02e4275180 
								
							
								 
							
						 
						
							
							
								
								avconv_opt, cmdutils: Add missing function parameter Doxygen  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4cbf7529b 
								
							
								 
							
						 
						
							
							
								
								Give all anonymously typedeffed structs in headers a name  
							
							Anonymous structs cannot be forward declared and have no benefit. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e3f9979fa 
								
							
								 
							
						 
						
							
							
								
								Use atexit() instead of defining a custom exit_program() interface.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								786dadc014 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add -layouts option.  
							
							Extract of the output:
| Individual channels:
| NAME        DESCRIPTION
| FL          front left
| FR          front right
| <snip>
| SDR         surround direct right
|
| Standard channel layouts:
| NAME        DECOMPOSITION
| mono        FC
| stereo      FL+FR
| <snip>
| octagonal   FL+FR+FC+BL+BR+BC+SL+SR
| downmix     DL+DR 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9fada2704 
								
							
								 
							
						 
						
							
							
								
								avconv: split printing "main options" into global and per-file.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								79600a8354 
								
							
								 
							
						 
						
							
							
								
								avconv: deprecate -isync.  
							
							This option does not do anything.
Also remove OPT_GRAB, since -isync is the last option using it. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								22662ca560 
								
							
								 
							
						 
						
							
							
								
								attributes: add av_noreturn  
							
							Also use it in the declaration of the various exit_program
implementations in avtools.
inspired by a clang-scan report. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								be4cde226a 
								
							
								 
							
						 
						
							
							
								
								cmdutils: parse options for swr  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1060e9ce54 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add -cpuflags.  
							
							This allows globally forcing specific cpuflags (or lack thereof)
Useful for debugging and benchmarking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								0184bbe2d1 
								
							
								 
							
						 
						
							
							
								
								avprobe, cmdutils: K&R formatting cosmetics  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e869d08cbc 
								
							
								 
							
						 
						
							
							
								
								cmdutils: make this_year extern, so it can be referenced from other .o files  
							
							Required by a pending change in ffprobe. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c48f67f06e 
								
							
								 
							
						 
						
							
							
								
								ff*: add -max_alloc command line option  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								452406bd5b 
								
							
								 
							
						 
						
							
							
								
								ff*: Fix duplicatedly printed version info with -version  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da9cea77e3 
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of common typos.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								337ce558b6 
								
							
								 
							
						 
						
							
							
								
								fftools: add -report option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e873c03ac7 
								
							
								 
							
						 
						
							
							
								
								misc Doxygen markup improvements  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d13499be0 
								
							
								 
							
						 
						
							
							
								
								cmdutils: pass AVCodec to filter_codec_opts()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								90705aabe1 
								
							
								 
							
						 
						
							
							
								
								cmdutils.h: Project name cleanup  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9adeeec98 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Fix loglevel for -debug  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago