Advertisement
TheNathannator

Use FFmpeg to convert videos to .webm

Nov 30th, 2021
1,768
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. .mp4 is known to be unstable on some systems, using a lot of CPU and in some cases crashing Clone Hero. It is also not natively supported on Linux. The recommended video format is VP8 .webm, as it is more stable and efficient, and works on all platforms.
  2.  
  3. This is a simple tutorial on how to convert any video file to .webm using FFmpeg. This way you will be able to use high quality/high filesize videos on Clone Hero without issues.
  4.  
  5. 1. Download FFmpeg from here: https://www.ffmpeg.org/download.html (scroll down to "Get packages & executable files")
  6. - You can also download this one that contains helpful README files: https://drive.google.com/file/d/1Tk-P-82mBMrRzEvc_SVchtzZRVRKi1ig/view?usp=sharing
  7. 2. Extract FFmpeg into a new folder anywhere.
  8. 3. Place the video you wish to convert inside the `bin` folder, then Shift + right-click the `bin` folder and select "Open command window here"/"Open PowerShell window here".
  9. 4. Paste the following command into the command line/PowerShell window:
  10.  
  11. .\ffmpeg -i video-file-name.mp4 -c:v libvpx -crf 10 -b:v 8M -c:a libvorbis video.webm
  12.  
  13. - 8M is the bitrate, change it to be close to the original video's bitrate if you know what it is (1000 kbits/s = 1 M). Replace "video-file-name.mp4" with the video file's name and type.
  14.  
  15. 5. Press Enter and let it convert the file. FFmpeg will automatically keep the original resolution and framerate. After it's done, you can move the .webm file to the song folder or video backgrounds folder.
Advertisement
Comments
  • apc0243
    1 year
    # text 0.16 KB | 0 0
    1. Windows command to convert all mp4 files into webm files: forfiles /M *.mp4 /C "cmd /c .\ffmpeg -i @file -c:v libvpx -crf 10 -b:v 8M -c:a libvorbis @fname.webm"
Add Comment
Please, Sign In to add comment
Advertisement