d9b311d44c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use buffersink accessors.  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b66c456f9 
								
							
								 
							
						 
						
							
							
								
								lavfi, ffmpeg: simplify filter names.  
							
							The names are only used for technical output and debugging.
Make them similar to C identifiers for easier quick reading
of debug dumps. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f5a2bed5e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: fix several logic failures  
							
							Move global thread variables to better place.
Use correct variable for simple and complex filtergraphs.
This makes number of threads set per filter work again.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca7cdffb70 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: fix hwaccel transcoding  
							
							Based on a patch by Yogender Gupta <ygupta@nvidia.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d50dff816 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: parameters for filter thread counts  
							
							Enables specifying how many threads are available to each filtergraph.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31d657130b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix width/height overrides for sub2video processing  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								955b818cf9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: switch to codecpar  
							
							This commit is largely based on commit 15e84ed3bbf5ef9d 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a81bddb4d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Fix AVBufferSrcParameters leak  
							
							Fixed: CID1361950
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06eef96b69 
								
							
								 
							
						 
						
							
							
								
								fix some a/an typos  
							
							Signed-off-by: Lou Logan <lou@lrcd.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d94b11a721 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Factor get_compliance_unofficial_pix_fmts() out  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82d2aa2b32 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Add missing pixel formats to strict_std_compliance case for ljpeg  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a82ff49bb8 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Add YUV 444 to strict_std_compliance case for mjpeg  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f3a960353 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: remove redundant null ptr check  
							
							Fixes: CID1338331
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8e7eb150f 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: check encoder before using it to set frame size.  
							
							Fix a segfault when no encoder is found for a default codec
with a complex filter graph. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14573b9b7c 
								
							
								 
							
						 
						
							
							
								
								Revert "Merge commit '8b830ee9a26d47b138f12a82085cdb372f407f1e'" (avconv: Do not try to configure filter outputs without streams)  
							
							FFmpeg already tests for this case in configure_output_filter() and printed a
clearer error message
example:
./ffmpeg -f lavfi -i color -f lavfi -i color -filter_complex "[1]null[x],[0][1]overlay" -f null -
before the merge / after the revert:
Filter null has a unconnected output
after the merge / before the revert:
Output pad "default" with type video of the filter instance "Parsed_null_0" of null not connected to any destination
Error configuring complex filters.
Invalid argument
This reverts commit 3e3779cd517e4d2d1f21d5eb6afdb428cd3c1aa0, reversing
changes made to 0b28039a44 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6495c4c687 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72237ef6e9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Do not override the dimensions in sub2video_prepare()  
							
							Fixes ticket4744 part1
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6dbaeed6b7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dbaec690d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Check that filters have connected outputs before accessing the output stream  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1c03b9d58 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: log more information on failure to init simple filter graph  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								800df6a849 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: use get_rotation()  
							
							This unifies the rotation extraction code between ffplay and ffmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39f247121e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: fix accurate seeking with -copyts  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90cdec5e26 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: init sub2video.last_pts.  
							
							Get the heartbeat working when the video has negative timestamps.
Fix trac ticket #4062 .
Signed-off-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16de4d927e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Do av_buffersink_set_frame_size() when reconfiguring the filtergraph not just when changing audio resample parameters  
							
							Fixes Ticket3562
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b01d2a5533 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Enable compute_edt only when the subtitles are used for a output stream instead of a filter  
							
							Fixes/works around Ticket3768
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								494cbc4238 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Clean up if filter initialisation failed to avoid a memleak.  
							
							Fixes ticket #3858 .
Reviewed-by: Nicolas George 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91244073fd 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: refuse to configure input without a decoder.  
							
							The decoder is necessary in order to filter frames.
This makes the error message clearer in this case:
currently, it will usually fail because the pixel or sample
format is not defined and is converted into "(null)"
(non-portable).
Enhance trac ticket #3779 . 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								758f929d21 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Fix choose_pixel_fmt() so it uses the correct encoding context  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0949ff93c0 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: fix choose_pix_fmts() so it uses the correct encoding context  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								921d5ae3bc 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: replace remaining, ffmpeg specific ist->st->codec by ist->dec_ctx  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d80e7ba9b7 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: make *jpeg_formats static const  
							
							Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09b16619d3 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: fix pointer to local outside scope  
							
							Fixes CID1206652
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9bc251d39 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Fix non jpeg yuv in jpeg support  
							
							This is a regression, did not bisect so dont know what caused it but
likely some changes to the command line handling code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da54ad9a72 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: Pass command line -threads X to filtergraph  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								640a36a05c 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: check that the input media type match the filter  
							
							Fixes Ticket2012
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4ab1292e9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: do not pick evil path for trim filters  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd9555e94b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: remove obsolete workaround in trim insertion.  
							
							The bug it was working seems to have been fixed.
This change causes ffmpeg to use the trim filter to implement
the -t option.
FATE tests are updated due to the more accurate handling of
the last packets. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efce76a80d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: replace exit() by exit_program()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33ff943f70 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -apad option which injects a apad filter only in the presence of video streams  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14369f59c5 
								
							
								 
							
						 
						
							
							
								
								ffmpeg_filter: fix leak on error  
							
							Fixes: CID1005311
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62d888ef0e 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use options for abuffersink.  
							
							Also remove unused buffersink_params.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eabc0c733d 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: insert format filter with the appropriate separator.  
							
							Similar to 937325f3 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								937325f3db 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: insert aformat filter with the appropriate separator.  
							
							The ',' separator is deprecated with aformat, and thus causes various
arnings when transcoding audio. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef7b6b489a 
								
							
								 
							
						 
						
							
							
								
								ffmpeg/avformat: factor av_guess_frame_rate() out  
							
							This will be used in ffplay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4257b804e2 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Replace -deinterlace (which was broken by the buffer ref stuff) with yadif injection  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ceac5c54dd 
								
							
								 
							
						 
						
							
							
								
								Remove references to the "ff" variant of buffersink.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9b34b8bf9 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: port sub2video to AVFrame.  
							
							And re-enable the FATE test. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e42028925b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: Force a first_pts of 0 for the first configuration of -async use  
							
							This is very close to what the default does currently
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fa5a47197 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: set resample_pix_fmt for sub2video.  
							
							Forgotten when the resample_* fields were added.
Fix assert failures. 
							
						 
						12 years ago