mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-04 01:03:19 +00:00 
			
		
		
		
	Convert audio of video files for Resolve
This commit is contained in:
		
							
								
								
									
										9
									
								
								scripts/convert-mp4-to-resolve.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								scripts/convert-mp4-to-resolve.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					#! /bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Create backup directory
 | 
				
			||||||
 | 
					mkdir -p ./converted
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Convert files
 | 
				
			||||||
 | 
					for file in *.mp4; do
 | 
				
			||||||
 | 
					    ffmpeg -i $file -acodec pcm_s16le -vcodec copy ./converted/${file%%.*}.mov
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
		Reference in New Issue
	
	Block a user