89cf5bf39a 
								
							
								 
							
						 
						
							
							
								
								cmdutils: replace 1 line #ifs by if()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf6fb563b9 
								
							
								 
							
						 
						
							
							
								
								Allow building of command line utils without swresample lib  
							
							This allows building ffprobe without swresample
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea07063fd8 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow to specify a stream by its ID.  
							
							The stream can be specified as "#129" or "#0x81".
It is especially useful for VOBs dumped from a DVD,
where the language-id mapping is available externally
and the probing can find the streams in a random order. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								eadac34c80 
								
							
								 
							
						 
						
							
							
								
								cmdutils/avutil: Move cpu caps parse code into av_parse_cpu_caps()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								41a052a6ba 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix "oswr may be used uninitialized" warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f43a16049e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Fix cpuflags so the flags dont pull in and out other flags.  
							
							Note, this doesnt break compatibility with libav, as libav
has implemented a incompatible and more limited system under the same
-cpuflags command line option we used since some time.
The differences to libav for example are we can do things like
ffmpeg -cpuflags -sse+mmx -cpuflags +3dnow
Its also possible in our system to force flags that have not been
detected as available
And our -cpuflags works with all tools not just 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6492476a6 
								
							
								 
							
						 
						
							
							
								
								Fix ffmpeg -codecs output.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21d0d1d64f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: update copyright year to 2012.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bc92e34a4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: re-add return 0 accidentally remove from opt_protocols().  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcea7ca752 
								
							
								 
							
						 
						
							
							
								
								cmdutils: include type in filter list.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9575ffc65 
								
							
								 
							
						 
						
							
							
								
								cmdutils: media type to letter conversion in a separate function.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ac58ba133 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add print_program_info() used in both show_banner() and show_version()  
							
							This also make -version show program configuration and compilation
information, which was previously shown only in the banner. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbaef7d16e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: K&R reformatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dc973e6d1 
								
							
								 
							
						 
						
							
							
								
								Update copyright year.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4b63054d9 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Drop unnecessary parentheses around return values.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c48f67f06e 
								
							
								 
							
						 
						
							
							
								
								ff*: add -max_alloc command line option  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eae8396f1 
								
							
								 
							
						 
						
							
							
								
								cmdutils: restore vertical alignment of versions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bd02db96f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: print swr versions too  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								337ce558b6 
								
							
								 
							
						 
						
							
							
								
								fftools: add -report option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d13499be0 
								
							
								 
							
						 
						
							
							
								
								cmdutils: pass AVCodec to filter_codec_opts()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f37c8f0f8 
								
							
								 
							
						 
						
							
							
								
								opt_pix_fmts: try to fix segfault on open solaris  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9adeeec98 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Fix loglevel for -debug  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ecf31a68fd 
								
							
								 
							
						 
						
							
							
								
								Show configuration and library version with AV_LOG_INFO.  
							
							This partly reverts 1c5e9551bca12e040270e0cd3d71440f83e9f8ae,
a change of behaviour that was not discussed.
The reason for the revert is that FFmpeg cares about bugreports. 
							
						 
						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