[FFmpeg-user] Trouble decoding ASF file from baby monitor

matt listy at fastmail.fm
Wed Apr 27 07:11:28 CEST 2016


On 4/26/2016 1:03 PM, Carl Eugen Hoyos wrote:
> I sent a patch that fixes decoding 

Hi, Carl Eugen.... thank you very much for the patch. The good news is
that it did indeed fix decoding that sample file, and I was able to
convert it with the audio intact!

I have 53 of these ASF files from the same baby monitor.  Before your
patch, *all* of them produced the adpcm_ms "block_predictor[0]" and
"Invalid data found when processing input" errors.  With your patch,
only 3 of them produce the errors.  An even with the remaining error
messages, the 3 "bad" output files are playable, and do have audio (if
a bit out of sync and glitchy).

To save you time... thanks to your patch, I now have usable files, so
the remaining errors are not showstoppers for me.  So if you don't feel
a need to pursue this further, I'll understand.  But if you are
inclined to look into it more.....

I've attached the output from processing the 3 remaining "bad" files.
(And I can provide links to the input ASF files off-list.)  Note that
the block_predictor[0] in the errors is not 225, but various other
values.  I don't know the significance of that, but I am starting to
wonder if maybe the wireless signal from the camera lapsed a bit,
resulting in the monitor unit writing some bad data into the stream?

In any case, thank you for your efforts.

-Matt

-------------- next part --------------
$ ffmpeg.patched -y -i V_000007.ASF -vcodec copy -acodec pcm_s16le V_000007.avi
ffmpeg version N-79651-ge1c2048 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration: --enable-gpl --enable-libmp3lame --enable-libx264
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2f2c840] framerate==0
[mpeg4 @ 0x2f2c840] Failed to parse extradata
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2f2c840] framerate==0
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, asf, from 'V_000007.ASF':
  Duration: 00:01:01.70, start: 0.216000, bitrate: 990 kb/s
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 11.99 fps, 11.99 tbr, 1k tbn
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 16000 Hz, 1 channels, s16, 64 kb/s
[avi @ 0x3010fe0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, avi, to 'V_000007.avi':
  Metadata:
    ISFT            : Lavf57.34.103
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 11.99 fps, 11.99 tbr, 23.98 tbn
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc57.38.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (adpcm_ms (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[avi @ 0x3010fe0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[adpcm_ms @ 0x2f33740] ERROR: block_predictor[0] = 18
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2f33740] Overread of 10 < 12
    Last message repeated 1 times
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967572, current: 964224; changing to 967573. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967573, current: 964332; changing to 967574. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967574, current: 964440; changing to 967575. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967575, current: 964548; changing to 967576. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967576, current: 964656; changing to 967577. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967577, current: 964764; changing to 967578. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967578, current: 964872; changing to 967579. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967579, current: 964980; changing to 967580. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967580, current: 965088; changing to 967581. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967581, current: 965196; changing to 967582. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967582, current: 965304; changing to 967583. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967583, current: 965412; changing to 967584. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967584, current: 965520; changing to 967585. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967585, current: 965628; changing to 967586. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967586, current: 965736; changing to 967587. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967587, current: 965844; changing to 967588. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967588, current: 965952; changing to 967589. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967589, current: 966060; changing to 967590. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967590, current: 966168; changing to 967591. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967591, current: 966276; changing to 967592. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967592, current: 966384; changing to 967593. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967593, current: 966492; changing to 967594. This may result in incorrect timestamps in the output file.
[avi @ 0x3010fe0] Non-monotonous DTS in output stream 0:1; previous: 967594, current: 966600; changing to 967595. This may result in incorrect timestamps in the output file.
frame=  735 fps=0.0 q=-1.0 Lsize=    8971kB time=00:01:01.51 bitrate=1194.5kbits/s speed= 612x    
video:6828kB audio:1888kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.920512%
-------------- next part --------------
$ ffmpeg.patched -y -i V_000020.ASF -vcodec copy -acodec pcm_s16le V_000020.avi
ffmpeg version N-79651-ge1c2048 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration: --enable-gpl --enable-libmp3lame --enable-libx264
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2124840] framerate==0
[mpeg4 @ 0x2124840] Failed to parse extradata
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2124840] framerate==0
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, asf, from 'V_000020.ASF':
  Duration: 00:02:00.57, start: 0.216000, bitrate: 609 kb/s
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1k tbr, 1k tbn
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 16000 Hz, 1 channels, s16, 64 kb/s
[avi @ 0x2213f20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, avi, to 'V_000020.avi':
  Metadata:
    ISFT            : Lavf57.34.103
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1k tbr, 1k tbn
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc57.38.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (adpcm_ms (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[avi @ 0x2213f20] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 224
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 32
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 14
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 176
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 12
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 208
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 243
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 13
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 241
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 34
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 166
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 33
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 49
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 240
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 144
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 234
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 238
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 224
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 115
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 18
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 30
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 211
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 45
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 232
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 52
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 199
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 49
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 205
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 7
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 45
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 67
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 74
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 238
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 36
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 52
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 237
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 33
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 51
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 212
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 192
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 221
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 77
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 240
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 49
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 19
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 246
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 48
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 96
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 179
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 61
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 31
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 15
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 79
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 16
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 11
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 208
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 190
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 112
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 247
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 240
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 216
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 224
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 29
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 31
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 47
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 33
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 226
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 16
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 65
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 192
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 54
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 13
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 242
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 37
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 208
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 62
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 175
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 180
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 192
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 237
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 83
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 31
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 193
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 228
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 33
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 233
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 255
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 16
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 33
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 239
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 47
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 81
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 32
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 237
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 222
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 252
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 32
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 189
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 144
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 32
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 94
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 210
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 61
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 212
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 49
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 241
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 62
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 208
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 176
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 239
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 50
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 80
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 16
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x212b740] ERROR: block_predictor[0] = 45
Error while decoding stream #0:1: Invalid data found when processing input
frame=  716 fps=0.0 q=-1.0 Lsize=   14409kB time=00:02:18.02 bitrate= 855.2kbits/s speed= 744x    
video:7634kB audio:3550kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 28.840420%
-------------- next part --------------
$ ffmpeg.patched -y -i V_000021.ASF -vcodec copy -acodec pcm_s16le V_000021.avi
ffmpeg version N-79651-ge1c2048 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration: --enable-gpl --enable-libmp3lame --enable-libx264
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x209d840] framerate==0
[mpeg4 @ 0x209d840] Failed to parse extradata
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x209d840] framerate==0
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, asf, from 'V_000021.ASF':
  Duration: 00:02:00.90, start: 0.216000, bitrate: 980 kb/s
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1k tbr, 1k tbn
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 16000 Hz, 1 channels, s16, 64 kb/s
[avi @ 0x2169c60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, avi, to 'V_000021.avi':
  Metadata:
    ISFT            : Lavf57.34.103
    Stream #0:0: Video: mpeg4 (MP4S / 0x5334504D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1k tbr, 1k tbn
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc57.38.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (adpcm_ms (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
[avi @ 0x2169c60] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 51
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 112
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 113
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 207
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 254
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 243
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 64
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 240
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 14
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 12
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 226
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 47
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 237
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 193
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 19
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 242
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 174
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 62
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 83
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 35
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 203
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 29
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 15
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 210
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 35
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 146
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 48
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 13
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 202
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 15
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 217
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 52
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 191
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 67
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x21694e0] ERROR: block_predictor[0] = 224
Error while decoding stream #0:1: Invalid data found when processing input
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997460, current: 1994112; changing to 1997461. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997461, current: 1994220; changing to 1997462. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997462, current: 1994328; changing to 1997463. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997463, current: 1994436; changing to 1997464. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997464, current: 1994544; changing to 1997465. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997465, current: 1994652; changing to 1997466. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997466, current: 1994760; changing to 1997467. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997467, current: 1994868; changing to 1997468. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997468, current: 1994976; changing to 1997469. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997469, current: 1995084; changing to 1997470. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997470, current: 1995192; changing to 1997471. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997471, current: 1995300; changing to 1997472. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997472, current: 1995408; changing to 1997473. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997473, current: 1995516; changing to 1997474. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997474, current: 1995624; changing to 1997475. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997475, current: 1995732; changing to 1997476. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997476, current: 1995840; changing to 1997477. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997477, current: 1995948; changing to 1997478. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997478, current: 1996056; changing to 1997479. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997479, current: 1996164; changing to 1997480. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997480, current: 1996272; changing to 1997481. This may result in incorrect timestamps in the output file.
[avi @ 0x2169c60] Non-monotonous DTS in output stream 0:1; previous: 1997481, current: 1996380; changing to 1997482. This may result in incorrect timestamps in the output file.
frame= 1251 fps=0.0 q=-1.0 Lsize=   20183kB time=00:02:04.84 bitrate=1324.3kbits/s speed= 603x    
video:13257kB audio:3678kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.176607%


More information about the ffmpeg-user mailing list