You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			505 B
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			16 lines
		
	
	
		
			505 B
		
	
	
	
		
			Bash
		
	
#!/bin/bash
 | 
						|
# Script to download the latest x64 windows version of custom ffmpeg build for yt-dlp
 | 
						|
# The binary will be placed in the root dir of the app
 | 
						|
 | 
						|
if ls ffmpeg* 1> /dev/null 2>&1; then
 | 
						|
    rm ffmpeg*
 | 
						|
fi
 | 
						|
# >> Check if curl is installed or nor
 | 
						|
if ! command -V curl > /dev/null 2>&1; then
 | 
						|
    echo "curl not installed, please install it and try again"
 | 
						|
    exit
 | 
						|
fi
 | 
						|
 | 
						|
curl -SL --progress-bar "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v6/ffmpeg.exe" -o ffmpeg.exe
 | 
						|
 | 
						|
chmod +x ffmpeg.exe |