Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	| # Install FFmpeg if not already installed | |
| if ! command -v ffmpeg &> /dev/null | |
| then | |
| echo "FFmpeg not found, installing..." | |
| apt-get update && apt-get install -y ffmpeg | |
| else | |
| echo "FFmpeg is already installed" | |
| fi | |
| # Install FFprobe if not already installed (should come with FFmpeg but checking to be safe) | |
| if ! command -v ffprobe &> /dev/null | |
| then | |
| echo "FFprobe not found, installing..." | |
| apt-get update && apt-get install -y ffmpeg | |
| else | |
| echo "FFprobe is already installed" | |
| fi | |
| # Make sure the script has appropriate permissions in case it needs execution | |
| chmod -R 755 . | |
| echo "Setup complete!" |