Difference between revisions of "Ffmpeg and OBS Video"
From RPG Speedruns
AndyPerfect (Talk | contribs) |
AndyPerfect (Talk | contribs) |
||
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 | + | ffmpeg -i input.mp4 -ss 00:00:24 -to 3:19:38 output.mp4 |
where: | where: | ||
Line 10: | Line 10: | ||
* <-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 13:43, 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,
- <-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