hard coded subs

Questions involving a Windows version of FFmpeg.
Post Reply
loggedonman
Posts: 3
Joined: Wed Dec 06, 2017 5:20 pm

hard coded subs

Post by loggedonman » Fri Nov 02, 2018 4:46 pm

Hi I was given this script by someone to blur hard coded subtitles on movies. But I have now tried a 1.02GB clip as a .avi and its now taken nearly 4 hours. the preview of movie has now reached the end of movie, but the dos window is still running. it says this now. how much longer is it going to take
[Parsed_delogo_0 @ 00000266099288a0] Note: default band value was changed from 4 to 1.
13809.27 M-V: -0.034 fd= 184 aq= 0KB vq= 0KB sq= 0B f=0/0

Code: Select all

 @setlocal
@set ffply= "C:\ffmpeg-3.4-win64-static\bin\ffplay.exe"

@set filename=%1

@rem video width
@set vwidth=1280

@rem subtitle area width
@set subw=1105

@rem subtitle area height
@set subh=86

@rem delogo filter is centered on video
@set xv=(%vwidth%-%subw%)/2

@rem vertical position for delogo filter window
@set yv=2

@echo "delogo=x=%xv%:y=%yv%:w=%subw%:h=%subh%"
@echo copy above line to ffmpeg
@echo .........................................................................

@%ffply% -report -hide_banner -v 32 -stats -i %filename% -an -vf "delogo=x=%xv%:y=%yv%:w=%subw%:h=%subh%:show=1"

@endlocal
@pause  

richardpl
Posts: 33
Joined: Sat Aug 01, 2015 6:35 pm

Re: hard coded subs

Post by richardpl » Sat Nov 03, 2018 7:22 pm

Forever, because there is @pause at end, just press any key.

loggedonman
Posts: 3
Joined: Wed Dec 06, 2017 5:20 pm

Re: hard coded subs

Post by loggedonman » Tue Nov 06, 2018 12:11 pm

richardpl wrote:
Sat Nov 03, 2018 7:22 pm
Forever, because there is @pause at end, just press any key.

no you are not understanding my question. this script is just to make sure the subtitles are blurred correctly,

I need to know how now to set up a script with those numbers from above script to save the movie clip with blurred subs

Post Reply