Не получается ввостановить mp4 при помощи recover_mp4 и ffmpeg

При попытки ввостановления поврежденного mp4 с инструкции в интернете, я делаю все правильно. Но, при попытке склеить aac и h264 в mp4, вылазят такие ошибки:

```

H:\ffmpeg-3.4.1-win32-static\ffmpeg\bin>ffmpeg.exe -r 30 -i result.h264 -i result.aac -bsf:a aac_adtstoasc -c:v copy -c:a copy recovered.mp4
ffmpeg version 3.4.1 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-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-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[h264 @ 0449a3e0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from 'result.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1366x768 [SAR 1:1 DAR 683:384], 60 fps, 60 tbr, 1200k tbn, 120 tbc
[aac @ 0600e440] Number of bands (17) exceeds limit (14).
[aac @ 0600e440] invalid band type
    Last message repeated 1 times
[aac @ 0600e440] Number of bands (20) exceeds limit (17).
[aac @ 0600e440] channel element 2.0 is not allocated
[aac @ 0600e440] Prediction is not allowed in AAC-LC.
[aac @ 0600e440] Number of bands (15) exceeds limit (14).
[aac @ 0600e440] Prediction is not allowed in AAC-LC.
[aac @ 0600e440] Number of bands (24) exceeds limit (16).
[aac @ 0600e440] Number of bands (44) exceeds limit (42).
[aac @ 0600e440] Prediction is not allowed in AAC-LC.
[aac @ 0600e440] Number of bands (58) exceeds limit (42).
[aac @ 0600e440] invalid band type
[aac @ 0600e440] Number of bands (18) exceeds limit (14).
[aac @ 0600e440] Number of bands (40) exceeds limit (36).
[aac @ 0651ea20] decoding for stream 0 failed
[aac @ 0651ea20] Estimating duration from bitrate, this may be inaccurate
[aac @ 0651ea20] Could not find codec parameters for stream 0 (Audio: aac (LC), stereo, fltp, 747 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #1, aac, from 'result.aac':
  Duration: 00:20:24.16, bitrate: 747 kb/s
    Stream #1:0: Audio: aac (LC), stereo, fltp, 747 kb/s
File 'recovered.mp4' already exists. Overwrite ? [y/N] y
[mp4 @ 05f309a0] sample rate not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
    Last message repeated 1 times

Прошу помощи пожалуйста

Ответы (0 шт):