f102c24d90 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: free last sub when using -fix_sub_duration.  
							
							Fix trac ticket #2242 .
Note: under valid circumstances, when using -fix_sub_duration,
the last subtitle is a dummy termination packet, with no
allocated memory. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad899522ff 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use a AVDictionary instead of the context to move swr parameters around  
							
							This avoids per parameter changes in ffmpeg at the cost of making access
somewhat more annoying.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3fb20bab4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Check for parameter changes at the output of the audio filter graph  
							
							It is currently possible that such changes leak through from the decoder as
well as a filter could generate such changes itself.
This commit blocks such changed packets unless the encoder declares support.
Fixes out of array reads
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b1f037df5 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix streamcopy of lsf mp3.  
							
							Fixes streamcopy of bear_mpeg4_mp3.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								127ff88639 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: do not call exit from exit_program()  
							
							This should fix  Ticket2116
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43af18ef8b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: implement -force_key_frames expression evalution  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41f025dff0 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: support filtering of unknown channel layouts.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fccd8c21c4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -guess_layout_max option.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bee044d7c2 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: copy tmcd track timebase parameters  
							
							Fixes part of Ticket2045
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								beb5d8f07d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: accept "chapters" as forced key frames.  
							
							Allow to force a key frame at the beginning of each chapter. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a038a95d2 
								
							
								 
							
						 
						
							
							
								
								Use new function av_codec_get_tag2() in ffmpeg.c.  
							
							Fixes ticket #1953 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40648d8cc3 
								
							
								 
							
						 
						
							
							
								
								add note on windows pipe  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								750382d5c8 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove annoying logs and improve reporting in case of unavailable bitrate  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4a32d92fe 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix shortest with libx264  
							
							Encoders that buffer a significant number of frames where a "few"
frames off with -shortest
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c16f768d73 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: replace magic number with VSYNC_CFR  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f236345fb 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: sub2video: use start and end time.  
							
							Until now, the end_display_time was ignored, making single
packets subtitles (like dvdsub) stay indefinitely.
start_display_time was also ignored, but is it almost always 0. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b1b8f88b7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: small indent fix.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								60c2cddff0 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use the correct variables in do_video_stats()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e98fab1372 
								
							
								 
							
						 
						
							
							
								
								Update video stats log during encode flush  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66244baf1d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix mixed declarations and statements.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d92073ac93 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Correct starttime based on non discarded streams.  
							
							Fixes Ticket1830
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe97bf60b8 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: minor simplification of wraping code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcbf72836c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add setting of field_order flag  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a0f3ffe8e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix weird reindent  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02b4ae0427 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: print debug_ts off and off_time values with timestamp helper routines  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ccc349f77 
								
							
								 
							
						 
						
							
							
								
								ensure comment blocks that contain doxygen commands start with double asterix  
							
							Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d52083a27 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: rework debugging timestamp logs in process_input()  
							
							Print timestamps before and after ffmpeg timestamp postprocessing.
Help to debug how ffmpeg processes the input timestamps. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f088712d4 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix double ;;  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9406d6be55 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix audio timestamps on stream copy with -ss  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98cbbabadb 
								
							
								 
							
						 
						
							
							
								
								Fix the packet duration when flushing the encoder.  
							
							A similar patch was posted by Justin Ruggles <justin.ruggles@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1909dbf11d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use av_rescale_delta() for audio stream copy  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9d97e1b0a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use av_rescale_delta() on the audio filter input  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03e44bcb3f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: trivial simplification  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa48da1ee9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix null ptr deref in psnr printing code  
							
							Fixes CID205005
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3318d6b940 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check avpicture_get_size() retuen value  
							
							Fixes CID205018
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22793d7bb3 
								
							
								 
							
						 
						
							
							
								
								ffmpeg/lavc: move experimental warnings to libavcodec.  
							
							This way they are available to all applications and not just ffmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e0b29ccd0 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Make video filter graph reinit user selectable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f0168a3b9 
								
							
								 
							
						 
						
							
							
								
								fix exit_program() prototypes  
							
							This fixes 2 warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44ae7badae 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: print muxed packet sizes in debug output too  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89a823ace9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: disable buffering for stderr, needed for win32 runtime  
							
							Found in http://www.makemkv.com/download/ffmpeg/mmffmpeg-1.7.7.patch.gz 
Commit message by commiter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								65f7aee63b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add option to control copying of frames prior to start.  
							
							Normally we discard things prior to the intended start
for stream copy this is not always possible, and its not done by default
this option allows discarding to be enabled
this is primarely usefull when transcoding a video and stream copying an
audio stream.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cddbafb56a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: allow printing muxer side packet timestamp debuging info  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4390f8c28d 
								
							
								 
							
						 
						
							
							
								
								Fix two "skiping" typo.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								405ee405c9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: complete mov/mp4 based timebase hack with "f4v" format.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9e4817716 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use PTS from the AVSubtitle structure for sub2video.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d8b32633e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use PTS from the AVSubtitle structure.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b9a251438 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: call sub2video_update for end packets.  
							
							Without that change, all subtitles will stay until the next one. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23a5a24c0f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Only include unistd.h if it exists  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5829b7d29e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: check timebase validity before considering it to be used for stream copy  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0d5050090 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix bytes written statistics.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago