I want to blur out the names of players in some game videos so want a fuzzy box over them. I found a way to get that but I also noticed that there were two streams in the end and one would be the not blurred video which is an easy defeat. I find the filter here hard to understand and am not sure I know why there are two streams but suspect the are overlayed when playing.
I am running ffmpeg 2.1 w/Win10x64 DOS batch:
set "fname=test"
ffmpeg-21x64 -i %fname%.avi ^
-filter_complex "[0:v]split=2[v0][v1]; [v0]crop=170:100:20:60,boxblur=10:[fg]; [v1][fg]overlay=20:60[v]" ^
-map "[v]" -map 0:0 ^
-c:v libx264 ^
-preset veryfast -crf 23 ^
-t 10.00 -movflags +faststart ^
%fname%-blur-720and360.avi
It produces streams 0:0 and 0:1, the 0:0 is all pixelated and 0:1 is the original video. Together they are great but 0:0 is ugly by itself.
Is there a change or another way to make this work so that I have one stream in the end?
Thank you.
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by Punchcard; 29th Jan 2016 at 15:00. Reason: error in code will stop it from working
-
I found that when I was extracting my 360x stream I did not specify the compression and got some default ugliness. When I used the following the results are as desired.
ffmpeg-21x64 -i test-720p30.avi ^
-map 0:0 ^
-c:v libx264 ^
-vf scale=-1:360 ^
-preset veryfast -crf 23 ^
test.avi
If anyone knows a site that explains the boxblur filter better than the manual I would like to go study it.
Similar Threads
-
FFMpeg : Use the "volume" filter for Preamp Equalizer setting ?
By alexander121 in forum AudioReplies: 0Last Post: 25th Jul 2015, 07:38 -
ffmpeg noise filter usage based on mplayer noise settings?
By Selur in forum Video ConversionReplies: 5Last Post: 21st Jun 2015, 08:19 -
What is the maximum luminance value for the ffmpeg blackdetect filter
By alexander121 in forum EditingReplies: 0Last Post: 3rd Dec 2014, 06:05 -
Complex Editing probem
By jboron in forum EditingReplies: 1Last Post: 1st Sep 2012, 21:25 -
Multiple filter problem with ffmpeg - help please?
By Orinoco Womble in forum Video ConversionReplies: 6Last Post: 6th Sep 2011, 18:09