This evening I went to record a run of a game, and I was playing it for several hours. The final outputted file was 5.56 GB (5,972,689,641 bytes). I had changed no OBS settings since the previous session I recorded which resulted in a file 3.88 GB (4,171,808,804 bytes) in length, however while the 3.8 GB file opens, plays, and works, the 5.56 file does not. Instead of opening and playing, it just seems to stall out attempting to load in the video player.
Since my log file was too large for this post, it can be found at the following pastebin: http://pastebin.com/J0p0DSqH
The video that failed to record/play proper is the one that had
03:25:51: Total frames encoded: 393857, total frames duplicated: 3 (0.00%)
the immediately previous video that was recorded just fine is the one that had
04:45:18: Total frames encoded: 275255, total frames duplicated: 12 (0.00%)
Browsing around, I saw suggestions to try to use ffmpeg to transcode the video file and hopefully get things to work.
produced a file that would open in VLC and actually play the audio that should exist for the file, but the video is completely blank. MPC:HC continues to refuse to play the file just like before the transcoding. (Prior to the transcoding VLC would simply crash in the most ungraceful of manners, while MPC:HC just opened a window that showed the total duration yet never attempted to play it.)
A little bit more investigation seemed to reveal that there was a problem with the pixel format, perhaps?
produced the following relevant messages
At this point I have no clue on where to proceed, but it looks like OBS failed to properly set the pixel format? Or am I misinterpreting these results completely. If there are any more tests or logs that I should provide to help diagnose or troubleshoot the issue, I would be glad to try to get this figured out.
While it's obviously not really vital, I would really enjoy recovering that video so I could share it with my friends like previously intended, as I doubt I could recreate a similar run due to the effects of RNG, and I don't want to have to load a save from over 3 hours previous and undo all the progress I had made. Is this a known issue, can it be resolved? I spent a little bit of time searching the OBS forums here, but the various topics I found didn't seem to 100% relate, although they were useful in attempting to narrow things down (I looked at a VLC crash topic and a Quicktime topic, I believe, as they had turned up when I initially searched my suspicion that it was a filesize of over 4GB that was the culprit).
I feel kind of embarrassed posting this thread, but I don't know where else to turn.
Since my log file was too large for this post, it can be found at the following pastebin: http://pastebin.com/J0p0DSqH
The video that failed to record/play proper is the one that had
03:25:51: Total frames encoded: 393857, total frames duplicated: 3 (0.00%)
the immediately previous video that was recorded just fine is the one that had
04:45:18: Total frames encoded: 275255, total frames duplicated: 12 (0.00%)
Browsing around, I saw suggestions to try to use ffmpeg to transcode the video file and hopefully get things to work.
Code:
ffmpeg.exe -i stream.mp4 -acodec copy -vcodec copy PleaseWork.mp4
produced a file that would open in VLC and actually play the audio that should exist for the file, but the video is completely blank. MPC:HC continues to refuse to play the file just like before the transcoding. (Prior to the transcoding VLC would simply crash in the most ungraceful of manners, while MPC:HC just opened a window that showed the total duration yet never attempted to play it.)
A little bit more investigation seemed to reveal that there was a problem with the pixel format, perhaps?
Code:
ffmpeg.exe -i stream.mp4 -f mp4 -c:v h264 -c:a aac -analyzeduration 2147483647 -probesize 2147483647 -t 30 test.mp4
produced the following relevant messages
Code:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002ab7940] decoding for stream 1 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002ab7940] Could not find codec parameters for stream 1 (Video: h264 (avc1 / 0x31637661), 800x600, 3499 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'stream.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2014-10-13 08:25:51
encoder : Open Broadcaster Software v0.637b
Duration: 03:38:47.73, start: 0.000000, bitrate: 3639 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
creation_time : 2014-10-13 08:25:51
handler_name : Sound Media Handler
Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 800x600, 3499 kb/s, 30 fps, 30 tbr, 1k tbn, 2k tbc (default)
Metadata:
creation_time : 2014-10-13 08:25:51
handler_name : Video Media Handler
encoder : AVC Coding
File 'test.mp4' already exists. Overwrite ? [y/N]
[buffer @ 0000000004e50f20] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 0000000004e50f20] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:1 @ 0000000002abf300] Error applying options to the filter.
Error opening filters!
At this point I have no clue on where to proceed, but it looks like OBS failed to properly set the pixel format? Or am I misinterpreting these results completely. If there are any more tests or logs that I should provide to help diagnose or troubleshoot the issue, I would be glad to try to get this figured out.
While it's obviously not really vital, I would really enjoy recovering that video so I could share it with my friends like previously intended, as I doubt I could recreate a similar run due to the effects of RNG, and I don't want to have to load a save from over 3 hours previous and undo all the progress I had made. Is this a known issue, can it be resolved? I spent a little bit of time searching the OBS forums here, but the various topics I found didn't seem to 100% relate, although they were useful in attempting to narrow things down (I looked at a VLC crash topic and a Quicktime topic, I believe, as they had turned up when I initially searched my suspicion that it was a filesize of over 4GB that was the culprit).
I feel kind of embarrassed posting this thread, but I don't know where else to turn.