Question / Help Local recording, but file is unviewable afterwards

Defiasen

Member
https://gist.github.com/dee8aa9306a6950ff29f

I'm recording a game locally 1080@60fps using https://obsproject.com/forum/resources/how-to-make-high-quality-local-recordings.16/ guide.

After I end the recording... the file size is 0byte. I then have to close OBS in which it gives me a message saying I need to wait 15sec for it to finish streaming or something. Afterwards, I get this big file that I can't view via Windows Media Player or VLC.

wlKlB5i.jpg
 

Boildown

Active Member
The dialog box on that wait 15 seconds thing is rather ambiguous, I lost a couple saves because I clicked the wrong thing, causing it to abort and corrupt instead of wait and save.

Post your log file anyways so we can check for any settings mistakes. You should try a few recordings of a few minutes to see if its repeatable. Also the FLV option is more reliable than the MP4 option, since it isn't so easily corrupted, you might try it.
 

Defiasen

Member
The dialog box on that wait 15 seconds thing is rather ambiguous, I lost a couple saves because I clicked the wrong thing, causing it to abort and corrupt instead of wait and save.

Post your log file anyways so we can check for any settings mistakes. You should try a few recordings of a few minutes to see if its repeatable. Also the FLV option is more reliable than the MP4 option, since it isn't so easily corrupted, you might try it.
My log is already in the post at the top. I also use MP4 because my simple video editor (for cropping out parts of the video) can't use flv.

EDIT: Also, I haven't clicked the wrong option on that dialog yet.
 

Defiasen

Member
Don't use windows media player, use VLC, if that doesn't work then the file is probably corrupt.
This is why you don't record to mp4, you record to flv and then convert it to mp4 afterwards.

https://obsproject.com/forum/resources/how-to-convert-flvs-to-mp4-fast-without-re-encoding.78/
Not to sound like a dick here... but did either of you bother to read the entire post? I have a log, and I stated I tried VLC... lol

Anyways. I'll try the FLV this time and take a look at that link. My assumption is that it is corrupt. For whatever reason why...
 

Defiasen

Member

Boildown

Active Member
Why are you using keyint=30? Try setting it to 300 instead. There was another recent post on these forums where someone was using a keyframe interval of half the framerate that also corrupted the file. You should try double the framerate or more. The only reason to use half the framerate for the keyint is if the file is going immediately to YouTube with no prior editing. If that isn't the case, use a longer keyinterval (5 seconds is what I use for local recordings).
 

Defiasen

Member
Why are you using keyint=30? Try setting it to 300 instead. There was another recent post on these forums where someone was using a keyframe interval of half the framerate that also corrupted the file. You should try double the framerate or more. The only reason to use half the framerate for the keyint is if the file is going immediately to YouTube with no prior editing. If that isn't the case, use a longer keyinterval (5 seconds is what I use for local recordings).
I don't edit the files at all. The most I do is put them in Avidemux and crop out everything but the set highlight that I want. (IE. Set point A and B, then tell it to make a separate video for it.
 

Boildown

Active Member
Well that's a decent reason for a small keyinterval, because you can only make lossless cuts like that on keyframes. Nevertheless, try upping it to 120 and see if the corrupted files don't reoccur. Someone else had a similar problem and also used keyint=30 on a 60fps recording.
 
Top