Difference between revisions of "Ffmpeg and OBS Video"

From RPG Speedruns
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
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
 
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
+
ffmpeg -i input.mp4 -ss 00:00:24 -to 3:19:38 output.mp4
  
 
where:  
 
where:  
  
 
* <input.mp4> is your input file,  
 
* <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
 
* <-ss 00:00:24> is the start timestamp of your output video
 
* <-to 3:19:38> is the end 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
 
* <output.mp4> is the name of the output file

Latest revision as of 14:45, 15 October 2015

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