Question / Help first 5 secs of some recordings are destroyed!

sam686

Member
Can you run it through ffmpeg using something like this command?
Might need to download ffmpeg first, https://ffmpeg.org/download.html and open windows command.

ffmpeg -i input.mp4 -ss 00:00:00 -c copy -t 00:00:30 output.mp4

ffmpeg, input.mp4, output.mp4 may need full path with quotes "C:\testing something\ffmpeg.exe" as an example.
This will trim the video fast, and shouldn't re-compress. Then the shortened video can be uploaded.
 
Can you run it through ffmpeg using something like this command?
Might need to download ffmpeg first, https://ffmpeg.org/download.html and open windows command.

ffmpeg -i input.mp4 -ss 00:00:00 -c copy -t 00:00:30 output.mp4

ffmpeg, input.mp4, output.mp4 may need full path with quotes "C:\testing something\ffmpeg.exe" as an example.
This will trim the video fast, and shouldn't re-compress. Then the shortened video can be uploaded.
I may have figured out the problem. It's probably because the mp4 files got corrupt but how can i prevent it?
 

sam686

Member
You can use FLV and lose support of more then 1 audio track. VLC can playback FLV while OBS writing to FLV.
Or use custom MP4 muxer option, frag_duration=15000000 (this number is in microseconds). This option enables VLC player to play the mp4 while OBS-studio is writing to MP4.

Both options reduce chances of corruption.
Do make sure you have enough free disk space, or the recordings may cut short (FLV or fragmented MP4) or corrupt (MP4 without options).
 

Sapiens

Forum Moderator
does it have to be between 15 and 25?
0-51. 0 will produce lossless which you don't want. 51 will look terrible. If a value higher than 25 produces quality that you find acceptable then use that. It's up to you to perform some trial and error testing to find the value that works for you.
 
Top