fd4b4dda9c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix indent.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae344b2c5e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use AVFrame accessor.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b197c1c1ac 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: preserve NULL ptrs in get_buffer()  
							
							Fixes Ticket1260, Ticket1267
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f08397642f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix type of dither scale.  
							
							This allows non integer scales.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f6a1c974f 
								
							
								 
							
						 
						
							
							
								
								Fix parsing of -force_key_frames option.  
							
							Currently it always exits with an error when more than
one position is specified.
Fixes trac issue #1266 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7588b33ad4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add the edge at the correct place in allocating of the buffer.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44bd2f90a9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix initial dts for streamcopy, if the input packets lack dts.  
							
							Fixes Ticket1138
Based on a patch by: Eelco Lempsink <eml@tupil.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62b745a6d3 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: do not report EOF as an error.  
							
							Not all processing goes through filters,
so processing can continue even when
all filtergraphs have reached EOF on all sinks. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99f29108d3 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: directly request frames from filters.  
							
							It allows ffmpeg filtering logic to work with filters
that do not implement the poll_frame method,
such as split or tile. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ea5f866e6 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: assert the refcount of decoded frames  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22a6a23a45 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: assert the refcount of allocated frames,  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf09496cf9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: assert against creation of cycles in the pools linked list.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be2b927a6f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: stricter refcount check in unref_buffer()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23a6e4749f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix validity test for file index.  
							
							Also fix a typo in the next line. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34c426be4a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check encoder earlier.  
							
							Fixes a segfault with Ogg output, libtheora not compiled in
and no codec specified. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								788a60d9d6 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: make max frames work again, after merge  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								052ab20805 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix regression with jpeg pix fmts  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89f8637979 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix regression with png  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a28fa010a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: choose_pix_fmt: pass target fmt in  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								071292b8c9 
								
							
								 
							
						 
						
							
							
								
								Respect -copyinkf for subtitles.  
							
							Necessary to make it possible to copy teletext streams
(trac issue #531 ).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd3ea31797 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Compensate non monotonicity errors in the audio TSs.  
							
							Audio timestamps are passed through by default and when the input
doesnt contain clean timestamps this can lead to non monotonicity
errors. (rounding to a course timebase can cause this too)
Print a warning when the errors in the timestamps are large
Fixes Ticket1167 (regression since timestamps are passed through)
This is a generic workaround that is intended to handle
slightly incorrect input files. It is very possible that some
demuxers contain bugs that lead to wrong timestamps, these demuxers
should of course still be fixed even if this change happens to
hide the issue.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8274b21c09 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix ticks_per_frame for the avi stream copy case  
							
							Should not make any difference, but its more correct.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								733cf0ad51 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -benchmark_all option.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								81a9d32f0d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: move getutime to the start of the file.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c704d9c30 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: support changing dither parameters for swr  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								735fb8ce59 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove unused MetadataMap.  
							
							This struct was forgotten after
e5df74dc56 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5df74dc56 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove unused meta_data_maps.  
							
							This is unused since a7b5e841ff 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e29f66d64a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix a few typo.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2663540821 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: affect source stream index in new_output_stream function  
							
							Fix map_channel when mapped audio stream index is greater than 0.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce9bd30379 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix plain -profile support  
							
							Fixes Ticket387
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d61ef05bc5 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check pts like dts for being in the past.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4204364678 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: switch duration calculation code from avg to r frame_rate.  
							
							This heuristic is less likely to overshoot and cause encoder failure.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a37a281778 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: pass bitexact flag to vsrc_buffer  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9aeacc9546 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: dont disable dr1 when changing dimensions are encountered in codec_get_buffer().  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5c3b51cd1 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: disable dr1 when frame sizes change.  
							
							dr1 seems to work fine with frame size changes but many filters
cant handle it yet. Simply disabling it forces the alternative
non dr1 code path which has been tested more completely and
is known to handle frame size changes in a wider varity of
cases.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99bb88c588 
								
							
								 
							
						 
						
							
							
								
								doc/ffmpeg: update and extend documentation for -copytb  
							
							Address trac ticket #1120 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0820eaa8a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix handling or empty audio packets  
							
							Fixes Ticket1131
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b62b9df798 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: more verbose error messages in case of audio encoding failure.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21d650cb69 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: more expressive sample rate automatic selection.  
							
							Output now lists the available sample rates with commands like
ffmpeg -f lavfi -i aevalsrc=0 -ar 20000 -y /tmp/out.mp3 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e479013ae4 
								
							
								 
							
						 
						
							
							
								
								Fix SVCD scan_offset option  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4c380a5e6 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: drop struct from SwrContext.  
							
							Its a typdef now and doesnt need the struct anymore.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1664edb998 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check samplerate from decoder.  
							
							Fixes FPE
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ffa28da180 
								
							
								 
							
						 
						
							
							
								
								Support dropping audio dts/pts via -async -1.  
							
							Allows working around issue #605 .
Note: as a side effect this fixes that -vsync drop
as far as I could tell would not drop pts/dts values
when duplicating frames or when flushing encoder delay.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c1da0d11e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: allow selective and complete disabling of map_metadata.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7230116000 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix planar audio input.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad53c7f9ec 
								
							
								 
							
						 
						
							
							
								
								lavf: Add system to seperate relative timestamps from absolute ones.  
							
							With this we can always know if a timestamp is based on added durations
from an unknown origin or if it is based on a correct timestamp (and possibly
added durations)
This should fix some bugs where this distinction was mixed up.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78306c51ef 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: show fps more accurately when it is small.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d33a091cb3 
								
							
								 
							
						 
						
							
							
								
								ffm options should also set discard automatically.  
							
							commit 13f6917ca9 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c250063523 
								
							
								 
							
						 
						
							
							
								
								get_buffers: Check that pix_fmt is not NONE.  
							
							This is somewhat redundant as no decoder should call get_buffer() with such argument.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddd86a2924 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix division by 0 due to invalid timebase  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago