Question / Help "Cannot render file" (flv)

Wylfen

New Member
Hi!
I have recently encountered a problem with OBS when recording a file. After finishing recording, the file apparently ended up corrupted. I couldn't open it with any software (Tried: Classic Home Cinema Player, Win Media Player, Adobe After Effects, Win Movie Maker, Any Video Converter) and I couldn't remux it either. Classic Home Cinema showed the error message "cannot render file".
This has happened a lot when I closed OBS immediately after stopping the recording, however this time I kept it open and waited a few minutes before trying to play the recording.
Is there any way to prevent this from happening? Can I recover my file somehow (it's quite important)?
Here's the log of that session: https://gist.github.com/anonymous/56aa1c1f385d004ab5fd8ffc16001823
I noticed that it failed to load a couple of modules (lines 41-48), might that be the problem, and if so, how can I fix it?
Cheers, Wylfen
 

pkv

Developer
the dll not loaded are from the browser extension which you haven't installed. So no issue here.
Can you try to get infos from ffmpeg:
ffmpeg -loglevel debug -i input
This will spout useful info about the file (copy to pastebin and link here).
After that you could try to fix it with ffmpeg:
ffmpeg -i inputfile -c:v copy -c:a copy output.flv (or any other format, e.g. mp4 mkv ...)
ffmpeg will remux your file; this is sometimes enough to repair a file.
 

Wylfen

New Member
Here's what I got:
ffmpeg version git-2017-12-23-d02289c Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 56. 6.100 / 56. 6.100
libavcodec 58. 8.100 / 58. 8.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 7.100 / 7. 7.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'input'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url input.
Successfully parsed a group of options.
Opening an input file: input.
[NULL @ 0000024e6fa495a0] Opening 'input' for reading
[file @ 0000024e6fa343e0] Setting default whitelist 'file,crypto'
input: No such file or directory

I don't usually work with ffmpeg, how exactly do I enter the input file? I tried just copying the source "D:\Privat\_Videos\Speedpaints\AVI\2017-12-23_19-54-44", but that didn't work.
 

pkv

Developer
your file has no extension ?
it should be ffmpeg -i name_of_your_file.extension etc ...
(presumably name.flv , why does your file have no extension ?)
 

Wylfen

New Member
Oops, my mistake, I just forgot to add it.
Here's what I got as a reply: D:\Privat\_Videos\Speedpaints\AVI\2017-12-23_19-54-44.flv: Invalid data found when processing input
 

pkv

Developer
ok if ffmpeg can't read your file, IMO you're toast ... Can you try a new test recording in flv to check whether the issue was just at that time or is a deeper issue
 

Wylfen

New Member
Sorry for the late reply. I've done like 5 more recordings (each about 30 min), one of them has the same issue, the rest seem perfectly fine. Weird.
 

Wylfen

New Member
Alright I found out something that might help fixing the error. I usually save my recordings directly to an external disk (there's almost 1TB free space on there so that's no problem), but today when I tried saving a photoshop document while recording I got a "couldn't save because of a disk error". I immediately stopped recording and the recording is corrupted too. Checked my disk, everything perfectly fine, tried saving the psd again, worked without a problem.
I'll try to record directly to the C: drive next time, see if I still get the same error.
 
Top