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

matt listy at fastmail.fm
Tue Apr 26 19:22:53 CEST 2016


On 4/26/2016 12:39 PM, Carl Eugen Hoyos wrote:
> Please don't do that, always provide the complete, uncut 
> console output.

There was a pastebin link in my original email that 
had the complete output.  I guess you frown upon 
external links, so I'll paste it again at the bottom 
of this email.

> What type is the system 

It's a Levana "Ovia" baby monitor system:
http://mylevana.com/product/Ovia_PTZ_Baby_Video_Monitor.eng-42.html

> and what does play back the files?
> A playback hardware or the same hardware that makes the 
> recording or something else?

The same hardware that made it.  It's a small appliance 
that receives AV from wireless cameras and displays it 
on an LCD screen, with the option to record the stream 
on an removable SD card.  It records as some variation 
of the ASF format.  There is an option to play back the 
recorded .ASF files on the built-in LCD screen.  I 
transferred the .ASF files to my computer via an 
external SD card reader.

> You can of course use -an to convert the file with FFmpeg.

Agreed, however the audio is of value to me.

Thanks.  Output below.

$ /usr/local/bin/ffmpeg -y -i V_000038.ASF -vcodec copy -acodec pcm_s16le  test.avi
ffmpeg version N-79641-g438ed97 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
  configuration:
  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
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2bfa840] framerate==0
[mpeg4 @ 0x2bfa840] Failed to parse extradata
Marker bit missing at 81 of 144 before time_increment_resolution
[mpeg4 @ 0x2bfa840] framerate==0
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, asf, from 'V_000038.ASF':
  Duration: 00:00:05.01, start: 0.216000, bitrate: 1047 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 @ 0x2bfc060] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, avi, to 'test.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
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[avi @ 0x2bfc060] 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 @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
[adpcm_ms @ 0x2c89fa0] ERROR: block_predictor[0] = 225
Error while decoding stream #0:1: Invalid data found when processing input
frame=   24 fps=0.0 q=-1.0 Lsize=     652kB time=00:00:04.79 bitrate=1114.5kbits/s speed=2.66e+03x
video:530kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 23.043131%
Conversion failed!
$


More information about the ffmpeg-user mailing list