Ffmpeg and OBS Video

From RPG Speedruns
Jump to: navigation, search

Twitch uploads to YouTube tend to degrade the video's quality. For best YouTube upload (or any site for that matter), record locally from OBS while you're streaming and then cut the video yourself and upload that to YouTube. Using ffmpeg, use a command like so

ffmpeg -i input.mp4 -ss 00:00:24 -to 3:19:38 output.mp4

where:

  • <input.mp4> is your input file,
  • <-ss 00:00:24> is the start timestamp of your output video
  • <-to 3:19:38> is the end timestamp of your output video
  • <output.mp4> is the name of the output file