Null
Snug
Since I can't resist fiddling with things here's a version which doesn't change the working directory.
	
	
	
		
Download
				
			
		Python:
	
	# Import required modules
import os, subprocess
# Script folder path
audexfold = os.path.dirname(os.path.abspath(__file__))
# Loop through files in input folder
with os.scandir(os.path.join(audexfold, 'input')) as inpfold:
    for vidfile in inpfold:
        if not vidfile.name.startswith('.') and vidfile.is_file():
            
            # Construct output file path
            fnameparts = os.path.splitext(os.path.basename(vidfile))
            audfile = os.path.join(audexfold, 'output', fnameparts[0] + '.flac')
            
            # Run ffmpeg with specified options
            subprocess.run(['ffmpeg', '-i', vidfile, '-vn', '-f', 'flac', audfile])
	Download
	