Ffmpeg and OBS Video

From RPG Speedruns
Revision as of 23:45, 13 October 2015 by AndyPerfect (Talk | contribs)

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 -vcodec copy -acodec copy -ss 00:00:24 -to 3:19:38 output.mp4

where:

  • <input.mp4> is your input file,
  • <-vcodec copy -acoded copy> shows that you just want to cut the video without reencoding the 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

Need more details for possible audio desync...