Deleted123
New Member
Following the last 5 updates to OBS, which made local .mp4 files produced by OBS to crash VLC, I have been using ffmpeg to convert the files into playable ones using the following command line:
This has been working fine until 3 days ago, when a new update apparently screwed up the encoding process, which rendered my local recordings useless.
After the update, upon using the aformentioned code, I get the following errors:
I need to mentioned that the output file only contains the audio track, not the video track, which suggests that the .mp4 files produced by OBS after the last update(s) lack keyframes.
This always happens with recordings longer than 2 hours.
Code:
ffmpeg -i input.mp4 -vcodec copy -acodec copy output.mp4
This has been working fine until 3 days ago, when a new update apparently screwed up the encoding process, which rendered my local recordings useless.
After the update, upon using the aformentioned code, I get the following errors:
Code:
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[h264 @ 0000000000300740] non-existing PPS 0 referenced
[h264 @ 0000000000300740] decode_slice_header error
[h264 @ 0000000000300740] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003181c0] decoding for stream 1 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003181c0] Could not find codec parameters for
stream 1 (Video: h264 (avc1 / 0x31637661), 1280x720, 4999 kb/s): unspecified pi
xel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2014-10-11-1907-30.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2014-10-11 18:16:48
encoder : Open Broadcaster Software v0.637b
Duration: 02:09:15.87, start: 0.000000, bitrate: 5139 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12
7 kb/s (default)
Metadata:
creation_time : 2014-10-11 18:16:48
handler_name : Sound Media Handler
Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 1280x720, 4999 kb/s, 30 f
ps, 30 tbr, 1k tbn, 2k tbc (default)
Metadata:
creation_time : 2014-10-11 18:16:48
handler_name : Video Media Handler
encoder : AVC Coding
Output #0, mp4, to 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.4.101
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), 1280x720, q=2-31, 49
99 kb/s, 30 fps, 16k tbn, 1k tbc (default)
Metadata:
creation_time : 2014-10-11 18:16:48
handler_name : Video Media Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 127
kb/s (default)
Metadata:
creation_time : 2014-10-11 18:16:48
handler_name : Sound Media Handler
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 2604 fps=0.0 q=-1.0 size= 54338kB time=00:01:26.79 bitrate=5128.5kbits/
...
frame=232676 fps=1700 q=-1.0 Lsize= 4865993kB time=02:09:15.83 bitrate=5139.6kbi
ts/s
video:4733617kB audio:121180kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.230634%
E:\My Recordings\Captured>
I need to mentioned that the output file only contains the audio track, not the video track, which suggests that the .mp4 files produced by OBS after the last update(s) lack keyframes.
This always happens with recordings longer than 2 hours.
Last edited: