Last active
          January 15, 2019 15:02 
        
      - 
      
 - 
        
Save psenough/25c2f54b2eadca5a79174e83b4d6e659 to your computer and use it in GitHub Desktop.  
    batch script to use ffmpeg to concat all mp3s in the directory and create a video using 00_1425.jpg single frame image as visuals
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | (for %%i in (*.mp3) do @echo file '%%i') > temp_list.txt | |
| ffmpeg -f concat -i temp_list.txt -c copy temp_audio.wav | |
| del temp_list.txt | |
| ffmpeg -loop 1 -i 00_1425.jpg -i temp_audio.wav -shortest -vf scale=-2:480 video.mp4 | |
| del temp_audio.wav | |
| node "C:\Users\Filipe Cruz\Documents\tracklist_from_directory_with_mp3s\app.js" "%cd%\\" >> temp_tracklist.txt | |
| pause | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
add tracklist generation script call