[FFmpeg-user] Invalid riff index > 256 errors

Morgan Carr Markell carrm163 at umn.edu
Fri Mar 1 09:08:31 EET 2019


On Fri, Mar 1, 2019 at 12:22 AM Morgan Carr Markell <carrm163 at umn.edu>
wrote:

> Ok. I'll work on copying the beginning and end of the output. What is
> "top-posting"?
>

Thanks for explaining, and I apologize for not googling it. So the command
was:

ffmpeg -i MAH00344.MP4 -an -vcodec rawvideo -y MAH00344.avi

And here is the beginning of the console output:

ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
  configuration: --prefix=/soft/ffmpeg/2.6.2 --enable-shared
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/MAH00344.MP4':
  Metadata:
    major_brand     : MSNV
    minor_version   : 22675568
    compatible_brands: MSNVmp42isom
    creation_time   : 2018-08-29 17:57:37
  Duration: 02:41:23.17, start: 0.000000, bitrate: 3080 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
bt709/bt709/iec61966-2-4), 1280x720 [SAR 1:1 DAR 16:9], 2903 kb/s, 29.97
fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2018-08-29 17:57:37
      handler_name    : Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 127 kb/s (default)
    Metadata:
      creation_time   : 2018-08-29 17:57:37
      handler_name    : Sound Media Handler
Output #0, avi, to '/MAH00344.avi':
  Metadata:
    major_brand     : MSNV
    minor_version   : 22675568
    compatible_brands: MSNVmp42isom
    ISFT            : Lavf56.25.101
    Stream #0:0(und): Video: rawvideo (I420 / 0x30323449), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97
tbc (default)
    Metadata:
      creation_time   : 2018-08-29 17:57:37
      handler_name    : Video Media Handler
      encoder         : Lavc56.26.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=   56 fps=0.0 q=0.0 size=   75606kB time=00:00:01.86
bitrate=331471.2kbits/s
frame=  146 fps=140 q=0.0 size=  197107kB time=00:00:04.87
bitrate=331455.9kbits/s
frame=  199 fps=129 q=0.0 size=  268657kB time=00:00:06.63
bitrate=331453.4kbits/s
frame=  244 fps=103 q=0.0 size=  329408kB time=00:00:08.14
bitrate=331452.1kbits/s
frame=  338 fps=118 q=0.0 size=  456308kB time=00:00:11.27
bitrate=331450.6kbits/s
frame=  397 fps=118 q=0.0 size=  535959kB time=00:00:13.24
bitrate=331449.9kbits/s
frame=  487 fps=121 q=0.0 size=  657459kB time=00:00:16.24
bitrate=331449.3kbits/s
frame=  584 fps=125 q=0.0 size=  788410kB time=00:00:19.48
bitrate=331448.8kbits/s
frame=  633 fps=107 q=0.0 size=  854561kB time=00:00:21.12
bitrate=331448.7kbits/s
frame=  730 fps=112 q=0.0 size=  985511kB time=00:00:24.35
bitrate=331448.4kbits/s
frame=  826 fps=117 q=0.0 size= 1115130kB time=00:00:27.56
bitrate=331453.6kbits/s
frame=  876 fps=116 q=0.0 size= 1182631kB time=00:00:29.22
bitrate=331453.2kbits/s
...
And it continues that way for thousands of lines until the error messages
start
(Note: the .avi file keeps getting bigger, but when I open the file in VLC
or ImageJ they only
show 1 hour and 51 minutes worth of video):
...
frame=199592 fps=137 q=0.0 size=269452345kB time=01:50:59.71
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 257 > 256
[0mframe=199697 fps=137 q=0.0 size=269594096kB time=01:51:03.22
bitrate=331448.4kbits/s
frame=199761 fps=137 q=0.0 size=269680496kB time=01:51:05.35
bitrate=331448.4kbits/s
frame=199849 fps=137 q=0.0 size=269799297kB time=01:51:08.29
bitrate=331448.4kbits/s
frame=199944 fps=137 q=0.0 size=269927548kB time=01:51:11.46
bitrate=331448.4kbits/s
frame=200002 fps=137 q=0.0 size=270005848kB time=01:51:13.40
bitrate=331448.4kbits/s
frame=200092 fps=137 q=0.0 size=270127349kB time=01:51:16.40
bitrate=331448.4kbits/s
frame=200176 fps=137 q=0.0 size=270240750kB time=01:51:19.20
bitrate=331448.4kbits/s
frame=200238 fps=137 q=0.0 size=270324450kB time=01:51:21.27
bitrate=331448.4kbits/s
frame=200335 fps=137 q=0.0 size=270455401kB time=01:51:24.51
bitrate=331448.4kbits/s
frame=200431 fps=137 q=0.0 size=270585002kB time=01:51:27.71
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 258 > 256
[0mframe=200482 fps=137 q=0.0 size=270653852kB time=01:51:29.41
bitrate=331448.4kbits/s
frame=200568 fps=137 q=0.0 size=270769953kB time=01:51:32.28
bitrate=331448.4kbits/s
frame=200626 fps=137 q=0.0 size=270848253kB time=01:51:34.22
bitrate=331448.4kbits/s
frame=200675 fps=137 q=0.0 size=270914404kB time=01:51:35.85
bitrate=331448.4kbits/s
frame=200772 fps=137 q=0.0 size=271045354kB time=01:51:39.09
bitrate=331448.4kbits/s
frame=200868 fps=137 q=0.0 size=271174955kB time=01:51:42.29
bitrate=331448.4kbits/s
frame=200918 fps=137 q=0.0 size=271242455kB time=01:51:43.96
bitrate=331448.4kbits/s
frame=201007 fps=137 q=0.0 size=271362606kB time=01:51:46.93
bitrate=331448.4kbits/s
frame=201063 fps=137 q=0.0 size=271438207kB time=01:51:48.80
bitrate=331448.4kbits/s
frame=201154 fps=137 q=0.0 size=271561057kB time=01:51:51.83
bitrate=331448.4kbits/s
frame=201160 fps=137 q=0.0 size=271569157kB time=01:51:52.03
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 259 > 256
[0mframe=201254 fps=137 q=0.0 size=271696058kB time=01:51:55.17
bitrate=331448.4kbits/s
frame=201306 fps=137 q=0.0 size=271766259kB time=01:51:56.91
bitrate=331448.4kbits/s
frame=201393 fps=137 q=0.0 size=271883709kB time=01:51:59.81
bitrate=331448.4kbits/s
frame=201457 fps=137 q=0.0 size=271970110kB time=01:52:01.94
bitrate=331448.4kbits/s
frame=201537 fps=137 q=0.0 size=272078110kB time=01:52:04.61
bitrate=331448.4kbits/s
frame=201603 fps=137 q=0.0 size=272167211kB time=01:52:06.82
bitrate=331448.4kbits/s
frame=201698 fps=137 q=0.0 size=272295462kB time=01:52:09.98
bitrate=331448.4kbits/s
frame=201748 fps=136 q=0.0 size=272362962kB time=01:52:11.65
bitrate=331448.4kbits/s
frame=201845 fps=136 q=0.0 size=272493913kB time=01:52:14.89
bitrate=331448.4kbits/s
frame=201942 fps=136 q=0.0 size=272624864kB time=01:52:18.13
bitrate=331448.4kbits/s
frame=201991 fps=136 q=0.0 size=272691014kB time=01:52:19.76
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 260 > 256
[0mframe=202087 fps=136 q=0.0 size=272820615kB time=01:52:22.96
bitrate=331448.4kbits/s
frame=202138 fps=136 q=0.0 size=272889465kB time=01:52:24.67
bitrate=331448.4kbits/s
frame=202226 fps=136 q=0.0 size=273008266kB time=01:52:27.60
bitrate=331448.4kbits/s
frame=202284 fps=136 q=0.0 size=273086566kB time=01:52:29.54
bitrate=331448.4kbits/s
frame=202379 fps=136 q=0.0 size=273214817kB time=01:52:32.71
bitrate=331448.4kbits/s
frame=202477 fps=136 q=0.0 size=273347118kB time=01:52:35.98
bitrate=331448.4kbits/s
frame=202559 fps=136 q=0.0 size=273457818kB time=01:52:38.71
bitrate=331448.4kbits/s
frame=202622 fps=136 q=0.0 size=273542869kB time=01:52:40.82
bitrate=331448.4kbits/s
frame=202718 fps=136 q=0.0 size=273672470kB time=01:52:44.02
bitrate=331448.4kbits/s
frame=202773 fps=136 q=0.0 size=273746720kB time=01:52:45.85
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 261 > 256
[0mframe=202868 fps=136 q=0.0 size=273874971kB time=01:52:49.02
bitrate=331448.4kbits/s
frame=202965 fps=136 q=0.0 size=274005922kB time=01:52:52.26
bitrate=331448.4kbits/s
frame=203043 fps=136 q=0.0 size=274111222kB time=01:52:54.86
bitrate=331448.4kbits/s
frame=203111 fps=136 q=0.0 size=274203023kB time=01:52:57.13
bitrate=331448.4kbits/s
frame=203209 fps=136 q=0.0 size=274335323kB time=01:53:00.40
bitrate=331448.4kbits/s
frame=203305 fps=136 q=0.0 size=274464924kB time=01:53:03.61
bitrate=331448.4kbits/s
frame=203312 fps=136 q=0.0 size=274474374kB time=01:53:03.84
bitrate=331448.4kbits/s
frame=203361 fps=136 q=0.0 size=274540525kB time=01:53:05.47
bitrate=331448.4kbits/s
frame=203406 fps=136 q=0.0 size=274601275kB time=01:53:06.98
bitrate=331448.4kbits/s
frame=203455 fps=136 q=0.0 size=274667425kB time=01:53:08.61
bitrate=331448.4kbits/s
frame=203546 fps=136 q=0.0 size=274790276kB time=01:53:11.65
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 262 > 256
[0mframe=203600 fps=136 q=0.0 size=274863177kB time=01:53:13.45
bitrate=331448.4kbits/s
frame=203649 fps=136 q=0.0 size=274929327kB time=01:53:15.08
bitrate=331448.4kbits/s
frame=203698 fps=136 q=0.0 size=274995477kB time=01:53:16.72
bitrate=331448.4kbits/s
frame=203792 fps=136 q=0.0 size=275122378kB time=01:53:19.85
bitrate=331448.4kbits/s
frame=203843 fps=136 q=0.0 size=275191228kB time=01:53:21.56
bitrate=331448.4kbits/s
frame=203940 fps=136 q=0.0 size=275322179kB time=01:53:24.79
bitrate=331448.4kbits/s
frame=204037 fps=136 q=0.0 size=275453130kB time=01:53:28.03
bitrate=331448.4kbits/s
frame=204128 fps=136 q=0.0 size=275575981kB time=01:53:31.07
bitrate=331448.4kbits/s
frame=204183 fps=136 q=0.0 size=275650231kB time=01:53:32.90
bitrate=331448.4kbits/s
frame=204276 fps=136 q=0.0 size=275775782kB time=01:53:36.00
bitrate=331448.4kbits/s
frame=204332 fps=136 q=0.0 size=275851382kB time=01:53:37.87
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 263 > 256
[0mframe=204420 fps=136 q=0.0 size=275970183kB time=01:53:40.81
bitrate=331448.4kbits/s
frame=204474 fps=136 q=0.0 size=276043083kB time=01:53:42.61
bitrate=331448.4kbits/s
frame=204567 fps=136 q=0.0 size=276168634kB time=01:53:45.71
bitrate=331448.4kbits/s
frame=204620 fps=136 q=0.0 size=276240185kB time=01:53:47.48
bitrate=331448.4kbits/s
frame=204711 fps=136 q=0.0 size=276363035kB time=01:53:50.52
bitrate=331448.4kbits/s
frame=204766 fps=136 q=0.0 size=276437286kB time=01:53:52.35
bitrate=331448.4kbits/s
frame=204858 fps=136 q=0.0 size=276561486kB time=01:53:55.42
bitrate=331448.4kbits/s
frame=204911 fps=136 q=0.0 size=276633037kB time=01:53:57.19
bitrate=331448.4kbits/s
frame=204999 fps=136 q=0.0 size=276751837kB time=01:54:00.13
bitrate=331448.4kbits/s
frame=205057 fps=136 q=0.0 size=276830138kB time=01:54:02.06
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 264 > 256
[0mframe=205147 fps=136 q=0.0 size=276951639kB time=01:54:05.07
bitrate=331448.4kbits/s
frame=205204 fps=136 q=0.0 size=277028589kB time=01:54:06.97
bitrate=331448.4kbits/s
frame=205292 fps=136 q=0.0 size=277147390kB time=01:54:09.90
bitrate=331448.4kbits/s
frame=205349 fps=136 q=0.0 size=277224340kB time=01:54:11.81
bitrate=331448.4kbits/s
frame=205443 fps=136 q=0.0 size=277351241kB time=01:54:14.94
bitrate=331448.4kbits/s
frame=205501 fps=136 q=0.0 size=277429541kB time=01:54:16.88
bitrate=331448.4kbits/s
frame=205589 fps=136 q=0.0 size=277548342kB time=01:54:19.81
bitrate=331448.4kbits/s
frame=205646 fps=136 q=0.0 size=277625293kB time=01:54:21.72
bitrate=331448.4kbits/s
frame=205734 fps=136 q=0.0 size=277744093kB time=01:54:24.65
bitrate=331448.4kbits/s
frame=205788 fps=136 q=0.0 size=277816994kB time=01:54:26.45
bitrate=331448.4kbits/s
frame=205880 fps=136 q=0.0 size=277941194kB time=01:54:29.52
bitrate=331448.4kbits/s
frame=205885 fps=136 q=0.0 size=277947944kB time=01:54:29.69
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 265 > 256
[0mframe=205979 fps=136 q=0.0 size=278074845kB time=01:54:32.83
bitrate=331448.4kbits/s
frame=206031 fps=136 q=0.0 size=278145046kB time=01:54:34.56
bitrate=331448.4kbits/s
frame=206127 fps=136 q=0.0 size=278274646kB time=01:54:37.77
bitrate=331448.4kbits/s
frame=206186 fps=136 q=0.0 size=278354297kB time=01:54:39.73
bitrate=331448.4kbits/s
frame=206274 fps=136 q=0.0 size=278473097kB time=01:54:42.67
bitrate=331448.4kbits/s
frame=206365 fps=136 q=0.0 size=278595948kB time=01:54:45.71
bitrate=331448.4kbits/s
frame=206423 fps=136 q=0.0 size=278674249kB time=01:54:47.64
bitrate=331448.4kbits/s
frame=206515 fps=136 q=0.0 size=278798449kB time=01:54:50.71
bitrate=331448.4kbits/s
frame=206574 fps=136 q=0.0 size=278878100kB time=01:54:52.68
bitrate=331448.4kbits/s
frame=206662 fps=136 q=0.0 size=278996901kB time=01:54:55.62
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 266 > 256
[0mframe=206756 fps=136 q=0.0 size=279123801kB time=01:54:58.75
bitrate=331448.4kbits/s
frame=206820 fps=136 q=0.0 size=279210202kB time=01:55:00.89
bitrate=331448.4kbits/s
frame=206905 fps=136 q=0.0 size=279324952kB time=01:55:03.73
bitrate=331448.4kbits/s
frame=206988 fps=136 q=0.0 size=279437003kB time=01:55:06.49
bitrate=331448.4kbits/s
frame=207051 fps=136 q=0.0 size=279522054kB time=01:55:08.60
bitrate=331448.4kbits/s
frame=207141 fps=136 q=0.0 size=279643554kB time=01:55:11.60
bitrate=331448.4kbits/s
frame=207205 fps=136 q=0.0 size=279729955kB time=01:55:13.74
bitrate=331448.4kbits/s
frame=207294 fps=136 q=0.0 size=279850105kB time=01:55:16.70
bitrate=331448.4kbits/s
frame=207379 fps=136 q=0.0 size=279964856kB time=01:55:19.54
bitrate=331448.4kbits/s
frame=207440 fps=136 q=0.0 size=280047207kB time=01:55:21.58
bitrate=331448.4kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 267 > 256
[0mframe=207522 fps=136 q=0.0 size=280157907kB time=01:55:24.31
bitrate=331448.3kbits/s
frame=207591 fps=136 q=0.0 size=280251058kB time=01:55:26.61
bitrate=331448.3kbits/s
frame=207688 fps=136 q=0.0 size=280382009kB time=01:55:29.85
bitrate=331448.3kbits/s
frame=207775 fps=136 q=0.0 size=280499459kB time=01:55:32.75
bitrate=331448.3kbits/s
frame=207834 fps=136 q=0.0 size=280579110kB time=01:55:34.72
bitrate=331448.3kbits/s
frame=207925 fps=136 q=0.0 size=280701960kB time=01:55:37.76
bitrate=331448.3kbits/s
frame=207979 fps=136 q=0.0 size=280774861kB time=01:55:39.56
bitrate=331448.3kbits/s
frame=208073 fps=136 q=0.0 size=280901762kB time=01:55:42.70
bitrate=331448.3kbits/s
frame=208125 fps=136 q=0.0 size=280971962kB time=01:55:44.43
bitrate=331448.3kbits/s
frame=208216 fps=136 q=0.0 size=281094813kB time=01:55:47.47
bitrate=331448.3kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 268 > 256
[0mframe=208271 fps=136 q=0.0 size=281169063kB time=01:55:49.30
bitrate=331448.3kbits/s
frame=208319 fps=136 q=0.0 size=281233864kB time=01:55:50.91
bitrate=331448.3kbits/s
frame=208416 fps=136 q=0.0 size=281364814kB time=01:55:54.14
bitrate=331448.3kbits/s
frame=208466 fps=136 q=0.0 size=281432315kB time=01:55:55.81
bitrate=331448.3kbits/s
frame=208561 fps=136 q=0.0 size=281560565kB time=01:55:58.98
bitrate=331448.3kbits/s
frame=208616 fps=136 q=0.0 size=281634816kB time=01:56:00.82
bitrate=331448.3kbits/s
frame=208700 fps=136 q=0.0 size=281748217kB time=01:56:03.62
bitrate=331448.3kbits/s
frame=208767 fps=136 q=0.0 size=281838667kB time=01:56:05.85
bitrate=331448.3kbits/s
frame=208864 fps=136 q=0.0 size=281969618kB time=01:56:09.09
bitrate=331448.3kbits/s
frame=208938 fps=136 q=0.0 size=282069518kB time=01:56:11.56
bitrate=331448.3kbits/s
frame=209010 fps=136 q=0.0 size=282166719kB time=01:56:13.96
bitrate=331448.3kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 269 > 256
...
And it goes on like that until:
...
[0mframe=283693 fps=136 q=0.0 size=382989355kB time=02:37:45.88
bitrate=331447.8kbits/s
frame=283757 fps=136 q=0.0 size=383075755kB time=02:37:48.02
bitrate=331447.8kbits/s
frame=283842 fps=136 q=0.0 size=383190506kB time=02:37:50.86
bitrate=331447.8kbits/s
frame=283929 fps=136 q=0.0 size=383307957kB time=02:37:53.76
bitrate=331447.8kbits/s
frame=283989 fps=136 q=0.0 size=383388957kB time=02:37:55.76
bitrate=331447.8kbits/s
frame=284075 fps=136 q=0.0 size=383505058kB time=02:37:58.63
bitrate=331447.8kbits/s
frame=284134 fps=136 q=0.0 size=383584708kB time=02:38:00.60
bitrate=331447.8kbits/s
frame=284220 fps=136 q=0.0 size=383700809kB time=02:38:03.47
bitrate=331447.8kbits/s
frame=284280 fps=136 q=0.0 size=383781809kB time=02:38:05.47
bitrate=331447.8kbits/s
frame=284371 fps=136 q=0.0 size=383904660kB time=02:38:08.51
bitrate=331447.8kbits/s
[1;35m[avi @ 0x1600e60] [0m [1;31mInvalid riff index 366 > 256
[0mframe=284426 fps=136 q=0.0 size=383978910kB time=02:38:10.34
bitrate=331447.8kbits/s
frame=284509 fps=136 q=0.0 size=384090961kB time=02:38:13.11
bitrate=331447.8kbits/s
frame=284571 fps=136 q=0.0 size=384174662kB time=02:38:15.18
bitrate=331447.8kbits/s
frame=284662 fps=136 q=0.0 size=384297512kB time=02:38:18.22
bitrate=331447.8kbits/s
frame=284719 fps=136 q=0.0 size=384374463kB time=02:38:20.12
bitrate=331447.8kbits/s
frame=284814 fps=136 q=0.0 size=384502713kB time=02:38:23.29
bitrate=331447.8kbits/s
frame=284911 fps=136 q=0.0 size=384633664kB time=02:38:26.53
bitrate=331447.8kbits/s
frame=284960 fps=136 q=0.0 size=

which is where it ends.


More information about the ffmpeg-user mailing list