Question / Help Where's the Temp Directory

noexit23

New Member
I'm new to OBS. I have 21.1.0 64bit and I'm recording several live streams for archival purposes. It's going great so far and I've recorded several hundred gigs of stretm data with no problems. in flv format. The destination is an external 4 tb usb drive. I watch and when I hit record, a new file is created and the file size reported is 0kb. Once I stop recording the file size updates in accordance with the length of the stream.

HOWVER just a few hours ago my computer crashed and I lost a several hour stream. The file is still there but the file size is 0kb still. So, Where does OBS write the stream data before it updates the destination file once I stop recording? I'm hoping I can find that temp file and possibly recover part of the lost recording before the crash.

Thanks for your guidance.
 

koala

Active Member
There is no temporary video file. It's only the destination file. If it has 0kb, it contains no data and anything that's supposed to be in there is lost. It's probably due to Windows cleaning up a corrupted file system after the crash, corrupted due to the crash. It also may be that Windows didn't repair the external drive on boot and it is still corrupted. To repair, open Windows explorer, navigate to your usb drive -> properties -> Tools -> Check for errors. After Windows repaired the drive and corrected errors, check the video file again.

Make sure the file system of your external drive is NTFS and nothing else - ntfs is very robust against such data loss, while FAT32, a common file system for USB drives, isn't robust at all.

Either case, your local recording is lost.If it is a recording of a broadcasted life stream, and the streaming site recorded your stream (Twitch does this, as far as I remember), you might go to the streaming website and download the recording of the stream.
 
Top