738c603a22 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Avoid directly accessing AVFrame fields that differ between forks.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								618fb9cc06 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: handle stream copy timebase selection for mp4 as if it had VFPS set.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								594090c6c2 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: select best pixel format for the encoder if no exact match.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								730945d941 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use standard duration calculation code in the stream copy case.  
							
							Fixes a.mkv non monotonic timestamps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9cc6bb432 
								
							
								 
							
						 
						
							
							
								
								Support ffmpeg -dn to disable copying data streams.  
							
							Fixes ticket #647 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67eb95ce15 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix segfault with ffmpeg -h  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03b60509cb 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix changing sample rate handling  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54e40b9c14 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: factorize duration calculation in transcode_video()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e96ad8215 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make copy_tb tri state so the user can select either timebase or  
							
							leave it at auto
Inspired-by a change from Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23b4f355bb 
								
							
								 
							
						 
						
							
							
								
								ffmpeg.c use b:v for video bitrates using a target  
							
							it's more consistent to use -b:v instead of just -b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6ffe441cd 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: do not use a negative total_size (AVERROR) in bitrate estimation.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d13499be0 
								
							
								 
							
						 
						
							
							
								
								cmdutils: pass AVCodec to filter_codec_opts()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1d48786d5 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Warn if output file is empty  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a4f02117b 
								
							
								 
							
						 
						
							
							
								
								Add option -n to exit if output file exists.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								957867ab13 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: rewrite vsync / notimestamps handling  
							
							The qatar implementation makes no sense.
a muxer without timestamps is constant fps thus needs vsync.
the crc/mp5 are special cases that have timestamps yet allow any
nonsensical timestamps.
raw (yuv/rgb) video is constant fps thus needs vsync too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b329fc346e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix indention  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fec2025936 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix ffmpeg.c:1874:21: warning: unused variable ‘of’ [-Wunused-variable]  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70974bdb27 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix segfault when using ffmpeg with ffserver where ffmpeg does not supply all requested streams.  
							
							Fixes Ticket675
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b62241850 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: 10l add back show_banner() that was lost in the last merge.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eafa2b6005 
								
							
								 
							
						 
						
							
							
								
								swr: introduce a public function to customize the channel mapping.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								645c61fb2b 
								
							
								 
							
						 
						
							
							
								
								swr: rename swr_alloc2() to swr_alloc_set_opts().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a2e768318 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use av_noreturn  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec3c9a3020 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check debug scanf() return value.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d3982bf42 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: get rid of deprecated warnings due to AVOption useage.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb4fc6acfe 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: update timestamping code to handle frame threads  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8892d0492d 
								
							
								 
							
						 
						
							
							
								
								Revert  commit  0bc391281a 
							
							ffmpeg: remove -psnr option.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								776f2bb91a 
								
							
								 
							
						 
						
							
							
								
								Call avformat_network_init/deinit in the programs  
							
							Calling the init function will become mandatory at some later
point. By calling it, more heavy network init (such as SSL/TLS
library init) can be done once at startup, instead of implicitly
when used (which could lead to it being done a number of times).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e55902324 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: preserve avg_frame_rate on stream copy.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								addc64f7f9 
								
							
								 
							
						 
						
							
							
								
								Fix typo in warning message.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5cd136f2b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -map_channel option.  
							
							Based on an initial work by Baptiste Coudurier. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4dbce51b9e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: allow pass 3  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41f00e4adb 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: silence two compiler warnings.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e71aaad283 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix regression where various fields where not initialized leading to segfaults  
							
							Bug introduced by:
commit f12f40b31a 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a18ecfeb36 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix memory corruption with ffserver  
							
							Bug has been introduced by:
commit 1cede1d011 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e15960c78 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add rmvol command line option to set swr rematrix volume.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bca574a98 
								
							
								 
							
						 
						
							
							
								
								Allow to overwrite input stream tags.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3473639952 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix two stream related comments.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e084cad45f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix y/N regression so that \n is always needed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96fad826ff 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: put space back that was lost during someone reformating it.  
							
							Found-by: Ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3bacced24 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix read_yn() if HAVE_TERMIOS_H || HAVE_KBHIT == 0  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc46692ded 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix setting codecs for demuxers.  
							
							Bug introduced by:
commit e3bf4e292c 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92ec66f983 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: limit read_key() calls to get a tiny speed boost.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c09abba1d9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: avoid multiple redundant av_gettime() calls, rather reuse the value in a iteration of the main loop.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3afc9d772 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix run_as_daemon when HAVE_TERMIOS_H is false  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6c231bac1 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: cosmetic renamings to reduce difference to qatar.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0732dceef1 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: call term_init() earlier  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								570fb660d6 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make q_pressed volatile, it can be changed from signal handlers.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb79558516 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: dont call read_key() in decode_interrupt_cb() this can cause keys to be lost  
							
							also its slow when read_key() is slow and there are a very large number of calls
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								481747c6f7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make -a/v/sn work with -map  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago