Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							575ec4e17d 
							
						 
					 
					
						
						
							
							avconv: add a context for options.  
						
						... 
						
						
						
						Move stream maps to it.
Eventually all non-global options should be stored in it. 
						
						
					 
					
						2011-09-04 13:12:00 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							7cc8d6385a 
							
						 
					 
					
						
						
							
							cmdutils: add support for caller-provided option context.  
						
						... 
						
						
						
						This is the first step to removing the globals plague from avtools. 
						
						
					 
					
						2011-09-04 13:12:00 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							cac651c834 
							
						 
					 
					
						
						
							
							cmdutils: move grow_array() from avconv to cmdutils.  
						
						
						
						
					 
					
						2011-09-04 13:12:00 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							dad09ff93f 
							
						 
					 
					
						
						
							
							cmdutils: move exit_program() declaration to cmdutils from avconv  
						
						... 
						
						
						
						Allows cmdutils to call each tool's own cleanup function. 
						
						
					 
					
						2011-09-04 13:12:00 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							20c21f8b75 
							
						 
					 
					
						
						
							
							cmdutils: get rid of dummy contexts for examining AVOptions.  
						
						... 
						
						
						
						Replace it with newly introduced libavutil API. 
						
						
					 
					
						2011-09-03 20:58:15 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
						
						
							
						
						
							6248694861 
							
						 
					 
					
						
						
							
							avconv: fix some bugs introduced in 630902a1e1336e7ee0cf3dcbcb6eb07af8edf660  
						
						... 
						
						
						
						These caused scrambled error messages to be printed and
floating point exceptions.
For example when there was no decoder available for a
stream.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
						
						
					 
					
						2011-09-01 11:04:13 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							2e2594ca5b 
							
						 
					 
					
						
						
							
							avconv: remove -threads option.  
						
						... 
						
						
						
						It's only shadowing the AVOption with the same name. 
						
						
					 
					
						2011-08-30 20:51:32 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							f593628e58 
							
						 
					 
					
						
						
							
							avconv: Replace raw picture frame swapping hack.  
						
						
						
						
					 
					
						2011-08-30 10:12:22 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c922816d31 
							
						 
					 
					
						
						
							
							avconv: remove stubs of crop* and pad* options  
						
						
						
						
					 
					
						2011-08-29 06:22:10 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							ed5b13265e 
							
						 
					 
					
						
						
							
							avconv: re-add nb_streams to InputFile.  
						
						... 
						
						
						
						It was mistakenly removed in 2cf8355f98681bdd726b739008acd5483f82f8d7,
not taking into account that new streams might appear in av_read_frame()
that avconv doesn't know about.
Fixes bug 24. 
						
						
					 
					
						2011-08-29 06:22:07 +02:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							0249478756 
							
						 
					 
					
						
						
							
							doxygen: fix wrong comment syntax, //< vs. ///<  
						
						
						
						
					 
					
						2011-08-26 18:34:28 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							b9630bcf82 
							
						 
					 
					
						
						
							
							avconv: Replace goto redo on decode fail with continue.  
						
						... 
						
						
						
						This checks for sigterm but otherwise is identical to the previous
behavior. 
						
						
					 
					
						2011-08-24 10:13:32 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							389e0a5a24 
							
						 
					 
					
						
						
							
							avconv: Remove dead store.  
						
						
						
						
					 
					
						2011-08-24 10:13:32 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							6c7ee2f7db 
							
						 
					 
					
						
						
							
							avconv: use av_clip_int16 for audio clipping  
						
						
						
						
					 
					
						2011-08-23 09:53:23 -07:00 
						 
				 
			
				
					
						
							
							
								Nicolas George 
							
						 
					 
					
						
						
						
						
							
						
						
							bc8c50512f 
							
						 
					 
					
						
						
							
							avconv: print the codecs names in the stream mapping.  
						
						... 
						
						
						
						Signed-off-by: Anton Khirnov <anton@khirnov.net> 
						
						
					 
					
						2011-08-23 16:50:01 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c74b44de08 
							
						 
					 
					
						
						
							
							avconv: move the avcodec_find_decoder() call to add_input_streams().  
						
						... 
						
						
						
						This makes the code simpler to understand, though it results in an
unnecessary call to avcodec_find_decoder() if the stream won't be
decoded. 
						
						
					 
					
						2011-08-23 16:50:01 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							eaf2d37acc 
							
						 
					 
					
						
						
							
							avconv: Separate initialization from the main transcode loop.  
						
						
						
						
					 
					
						2011-08-19 15:41:05 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							f60a6b5853 
							
						 
					 
					
						
						
							
							avconv: reset input_ts_offset between files.  
						
						... 
						
						
						
						Signed-off-by: Alex Converse <alex.converse@gmail.com> 
						
						
					 
					
						2011-08-19 15:37:14 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							b62b5cb6fd 
							
						 
					 
					
						
						
							
							avconv: call flush_encoders() from transcode() directly.  
						
						... 
						
						
						
						And remove now pointless parameter.
Signed-off-by: Alex Converse <alex.converse@gmail.com> 
						
						
					 
					
						2011-08-19 15:36:05 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c093150849 
							
						 
					 
					
						
						
							
							avconv: fix broken indentation.  
						
						... 
						
						
						
						Signed-off-by: Alex Converse <alex.converse@gmail.com> 
						
						
					 
					
						2011-08-19 15:35:20 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							f21f294e05 
							
						 
					 
					
						
						
							
							avconv: rescue poor abused limit_filesize global.  
						
						... 
						
						
						
						Keep a per-OutputFile instance of it, thus making -fs work with multiple
output files.
Signed-off-by: Alex Converse <alex.converse@gmail.com> 
						
						
					 
					
						2011-08-19 15:34:24 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							e6d2b73784 
							
						 
					 
					
						
						
							
							avconv: Set error code before before jumping to fail.  
						
						
						
						
					 
					
						2011-08-19 11:28:21 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							bb337b4fbc 
							
						 
					 
					
						
						
							
							avconv: Fix spelling errors.  
						
						... 
						
						
						
						Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
						
						
					 
					
						2011-08-18 22:29:41 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							6f1c66d526 
							
						 
					 
					
						
						
							
							avconv: save two levels of indentation in flush_encoders()  
						
						... 
						
						
						
						By replacing
if (foo)
    <do stuff>
with
if (!foo)
    continue;
<do stuff> 
						
						
					 
					
						2011-08-18 11:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							4a4ce2e743 
							
						 
					 
					
						
						
							
							avconv: factor flushing encoders out of output_packet().  
						
						
						
						
					 
					
						2011-08-18 11:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							630902a1e1 
							
						 
					 
					
						
						
							
							avconv: factor out initializing input streams.  
						
						
						
						
					 
					
						2011-08-18 11:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							ddf5ef0263 
							
						 
					 
					
						
						
							
							avconv: remove -intra option.  
						
						... 
						
						
						
						It's equivalent to -g 0. 
						
						
					 
					
						2011-08-18 11:22:05 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							e922bbfa76 
							
						 
					 
					
						
						
							
							avconv: reset streamid_map between output files.  
						
						
						
						
					 
					
						2011-08-18 08:49:32 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c5ad2c2cc6 
							
						 
					 
					
						
						
							
							avconv: make timer_start a local var in transcode().  
						
						
						
						
					 
					
						2011-08-18 08:49:32 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							6494c001be 
							
						 
					 
					
						
						
							
							avconv: cosmetics, move OutputStream.  
						
						... 
						
						
						
						Allows us to get rid of forward InputStream declaration. 
						
						
					 
					
						2011-08-18 08:49:32 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							e659c51563 
							
						 
					 
					
						
						
							
							avconv: remove two unused macros.  
						
						
						
						
					 
					
						2011-08-18 08:49:32 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							45f861283e 
							
						 
					 
					
						
						
							
							avconv: reindent.  
						
						
						
						
					 
					
						2011-08-17 20:01:12 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							ea065176b2 
							
						 
					 
					
						
						
							
							avconv: rescue poor abused start_time global.  
						
						... 
						
						
						
						Keep a per-OutputFile instance of it, thus making -ss work with multiple
output files. 
						
						
					 
					
						2011-08-17 20:00:46 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							ef44a60710 
							
						 
					 
					
						
						
							
							avconv: rescue poor abused recording_time global.  
						
						... 
						
						
						
						Keep a per-OutputFile instance of it, thus making -t work with multiple
output files. 
						
						
					 
					
						2011-08-17 20:00:06 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							2886aee73f 
							
						 
					 
					
						
						
							
							avconv: merge two loops in output_packet().  
						
						
						
						
					 
					
						2011-08-17 19:58:55 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							f1176d41af 
							
						 
					 
					
						
						
							
							avconv: fix broken indentation.  
						
						
						
						
					 
					
						2011-08-17 19:58:31 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							b0c9e8e024 
							
						 
					 
					
						
						
							
							avconv: get rid of the arbitrary MAX_FILES limit.  
						
						
						
						
					 
					
						2011-08-17 19:58:16 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							4288e0316a 
							
						 
					 
					
						
						
							
							avconv: get rid of the output_streams_for_file vs. ost_table schizophrenia  
						
						... 
						
						
						
						Instead store output streams in the same way as input streams. 
						
						
					 
					
						2011-08-17 19:57:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							af70aa4526 
							
						 
					 
					
						
						
							
							avconv: add a wrapper for output AVFormatContexts and merge output_opts into it  
						
						
						
						
					 
					
						2011-08-17 19:55:55 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							09af7fb309 
							
						 
					 
					
						
						
							
							avconv: make itsscale syntax consistent with other options.  
						
						... 
						
						
						
						Move the stream specifier to the option name. 
						
						
					 
					
						2011-08-17 19:53:05 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							88867844c6 
							
						 
					 
					
						
						
							
							avconv: factor out adding input streams.  
						
						
						
						
					 
					
						2011-08-17 19:52:28 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							553735f5a8 
							
						 
					 
					
						
						
							
							avconv: Factorize combining auto vsync with format.  
						
						
						
						
					 
					
						2011-08-17 10:16:52 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							87ef060c3b 
							
						 
					 
					
						
						
							
							avconv: Factorize video resampling.  
						
						
						
						
					 
					
						2011-08-17 10:16:48 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Converse 
							
						 
					 
					
						
						
						
						
							
						
						
							9be3c1245f 
							
						 
					 
					
						
						
							
							avconv: Don't unnecessarily convert ipts to a double.  
						
						
						
						
					 
					
						2011-08-17 10:05:57 -07:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							6cd9d0f77d 
							
						 
					 
					
						
						
							
							Revert "avconv: use stream copy by default when possible."  
						
						... 
						
						
						
						This reverts commit 4f4f33844a7369e5579912cc02f3c5376b1e6872.
This commit has some ugly corner cases and needs to be discussed
further. 
						
						
					 
					
						2011-08-16 20:59:14 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							ad42126abc 
							
						 
					 
					
						
						
							
							avconv: print stream copy information.  
						
						
						
						
					 
					
						2011-08-16 20:24:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							4f4f33844a 
							
						 
					 
					
						
						
							
							avconv: use stream copy by default when possible.  
						
						
						
						
					 
					
						2011-08-16 20:24:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							5759cce70d 
							
						 
					 
					
						
						
							
							avconv: don't segfault on 0 input files.  
						
						
						
						
					 
					
						2011-08-16 20:24:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							2c81d5f4c5 
							
						 
					 
					
						
						
							
							avconv: remove a write-only variable  
						
						
						
						
					 
					
						2011-08-16 06:24:01 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							40fc281087 
							
						 
					 
					
						
						
							
							avconv: remove pointless parameter from new_*_stream().  
						
						... 
						
						
						
						New streams are always added to the last output file. 
						
						
					 
					
						2011-08-16 06:23:46 +02:00