ff037c54b4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Replace goto redo on decode fail with continue.  
							
							This checks for sigterm but otherwise is identical to the previous
behavior. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf89e55ac0 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Remove dead store.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08fe874fa4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use av_clip_int16 for audio clipping  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef24426599 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: switch stream mapping print code to qatars variant  
							
							Author of the lines of code is probably Nicolas and or Anton
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10c3b03380 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: 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. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93ed69ad21 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Separate initialization from the main transcode loop.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5362cecfb 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: reset input_ts_offset between files.  
							
							Signed-off-by: Alex Converse <alex.converse@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3806494549 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: call flush_encoders() from transcode() directly.  
							
							And remove now pointless parameter.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d73e8cab02 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix broken indentation.  
							
							Signed-off-by: Alex Converse <alex.converse@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								877ba7b4bd 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: 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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb13438543 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Set error code before before jumping to fail.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e6ccf0d56 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix spelling errors.  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47a3439ee7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: save two levels of indentation in flush_encoders()  
							
							By replacing
if (foo)
    <do stuff>
with
if (!foo)
    continue;
<do stuff> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a16f1afb11 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: factor flushing encoders out of output_packet().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94adca68f8 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: factor out initializing input streams.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b85b9fa42 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: reset streamid_map between output files.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bdd9fbc89 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make timer_start a local var in transcode().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a7b4ccd1c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: cosmetics, move OutputStream.  
							
							Allows us to get rid of forward InputStream declaration. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f9c77e765 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove two unused macros.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0aee84084 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: reindent.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4d5a95055 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: rescue poor abused start_time global.  
							
							Keep a per-OutputFile instance of it, thus making -ss work with multiple
output files. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08890d355e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: : rescue poor abused recording_time global.  
							
							Keep a per-OutputFile instance of it, thus making -t work with multiple
output files. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c2a4d3bb1 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix broken indentation.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd0724288e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: get rid of the arbitrary MAX_FILES limit.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76e4873319 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: get rid of the output_streams_for_file vs. ost_table schizophrenia  
							
							Instead store output streams in the same way as input streams. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b091de2285 
								
							
								 
							
						 
						
							
							
								
								Revert "Fix stream mapping regression"  
							
							Subsequent cherry picks are based on code prior to this, thus this needs to be rebased
on HEAD by a volunteer.
This reverts commit b25d931a82 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								61b933f554 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add a wrapper for output AVFormatContexts and merge output_opts into it  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ea58d7115 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make itsscale syntax consistent with other options.  
							
							Move the stream specifier to the option name. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81e4655566 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: factor out adding input streams.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6d0340ca1 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Factorize combining auto vsync with format.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebf94f439e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Factorize video resampling.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dadbebbbbc 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Don't unnecessarily convert ipts to a double.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7357f6e678 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: don't segfault on 0 input files.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e675b504a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove pointless parameter from new_*_stream().  
							
							New streams are always added to the last output file. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								868013aa01 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: cosmetics, move code  
							
							Move find_codec_or_die(), choose_codec(), new_output_stream() and
read_avserver_streams() below transcode() where they belong. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f610fa144 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: cosmetics -- move copy_chapters().  
							
							It's only used in opt_output_file(), so move it right above
opt_output_file(). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c692eda3e7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: cosmetics -- move parse_forced_key_frames().  
							
							parse_forced_key_frames() is only used in new_video_stream(), so move it
right above new_video_stream(). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f69e8c7d15 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: switch to a:b syntax  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3bf4e292c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: replace -vcodec/-acodec/-scodec with a better system.  
							
							The new option doesn't depend on its placement wrt -new* options (which
don't exist anymore) and works in a similar way as per-stream AVOptions.
-[vas]codec remain as aliases to -codec:[vas] 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0147957e7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove presets.  
							
							Nothing except x264 uses them and native x264 presets should be used
with private options. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d726b195e 
								
							
								 
							
						 
						
							
							
								
								Revert "ffmpeg: simplify opt_*_codec() options"  
							
							This is needed because the following cherry picks are based on code prior of this
This reverts commit f712f6c8a4 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88bfe4518b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: change semantics of -map  
							
							New syntax contains an optional stream type, allowing to refer to n-th
stream of specific type.
Omitting stream number now maps all streams of the given type. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f12f40b31a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: get rid of new* options.  
							
							They are confusing, irregular and redundant -- -map already contains all
the information.  Stream maps can now be parsed in opt_output_file().
Add a more user-friendly default behavior in case no maps are present.
Breaks -programid for now, but it never worked properly anyway. A better
solution will be written soon. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7efec8dd6d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: rename sameq variables to same_quant  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a9e42ec45 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make -map_metadata work consistently with the other options  
							
							Before, it took an input and output file index, now it only takes an
input file and applies to the next output file.
Stream/chapter/program specification is now part of the option name and
the delimiter was changed from ',' to ':' to be consistent with the
similar feature for AVOptions. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bf3c39d17 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make -map_chapters accept only the input file index.  
							
							This is consistent with how all the other options work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97861f5b08 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Set codec_type in new_output_stream  
							
							Ported from a change from anton khirnov to avconv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0ce297b69 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: rename ffmpeg_exit in exit_program  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50be0b911a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Support queing filter commands for later times  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb22f39fe2 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Support passing commands to filters at runtime  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago