Difference between revisions of "Ffmpeg and OBS Video"

From RPG Speedruns
Jump to: navigation, search
(Created page with "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 c...")
 
Line 5: Line 5:
 
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.
+
* <-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

Revision as of 21:41, 13 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 -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