Opened 5 years ago

Last modified 9 months ago

#691 open defect

Errors while decoding wmav2 stream

Reported by: dimon94 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: wmav2
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

My file decoded incorrectly, but on my mobile phone this file plays correctly.
I can upload it on ftp server: upload.ffmpeg.org, if you need.

Attachments (1)

ticket691_cut.wma (2.4 MB) - added by cehoyos 5 years ago.

Change History (11)

comment:1 Changed 5 years ago by cehoyos

  • Analyzed by developer unset
  • Component changed from avcodec to undetermined
  • Reproduced by developer unset

To make this a valid ticket, please add your command line and complete, uncut console output (if possible without using external libraries in your command line) and provide a sample.

comment:2 Changed 5 years ago by dimon94

  • Status changed from new to open

comment:3 Changed 5 years ago by dimon94

ffmpeg -i in.wma out.wav

ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers

built on Nov 25 2011 15:08:36 with gcc 4.4.5
configuration: --enable-libfaac --enable-nonfree --enable-libmp3lame --disable-debug --enable-x11grab --enable-gpl --enable-libx264 --extra-cflags=-I/opt/libx264 --extra-ldflags=-L/opt/libx264
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

Input #0, asf, from 'in.wma':

Metadata:

title : 20.Время России
artist : Многоточие
genre : Pop,
album : Атомы Сознания
track : 20

Duration: 00:03:28.65, start: 0.000000, bitrate: 161 kb/s

Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 160 kb/s

Output #0, wav, to 'out.wav':

Metadata:

title : 20.Время России
artist : Многоточие
genre : Pop,
album : Атомы Сознания
track : 20
encoder : Lavf53.4.0
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

Stream mapping:

Stream #0.0 -> #0.0

Press [q] to stop, ? for help
[wmav2 @ 0x95f8620] overflow in spectral RLE, ignoring

Last message repeated 1 times

[wmav2 @ 0x95f8620] frame_len overflow
Error while decoding stream #0.0
[wmav2 @ 0x95f8620] next_block_len_bits 5 out of range
Error while decoding stream #0.0
[wmav2 @ 0x95f8620] block_len_bits 6 out of range
Error while decoding stream #0.0
[wmav2 @ 0x95f8620] next_block_len_bits 4 out of range
Error while decoding stream #0.0
[wmav2 @ 0x95f8620] block_len_bits 6 out of range
Error while decoding stream #0.0
size= 35752kB time=00:03:27.53 bitrate=1411.2kbits/s
video:0kB audio:35752kB global headers:0kB muxing overhead 0.000120%

comment:4 Changed 5 years ago by dimon94

I upload sample on ftp: upload.ffmpeg.org/incoming
Filename is ticket691.wma

Changed 5 years ago by cehoyos

comment:5 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords wmav2 added
  • Reproduced by developer set
  • Summary changed from Errors while decoding stream to Errors while decoding wmav2 stream
  • Version changed from 0.8.7 to git-master

There is silence for 0.05 seconds after ~26 seconds ("overflow in spectral RLE, ignoring"), no silence with the binary decoder.
I did not test for later problems.

$ ffmpeg -i ticket691_cut.wma -ss 25 -t 2 out.wav
ffmpeg version N-35267-g4b03d96, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 29 2011 01:34:11 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libopenjpeg
  libavutil    51. 29. 1 / 51. 29. 1
  libavcodec   53. 39. 1 / 53. 39. 1
  libavformat  53. 22. 0 / 53. 22. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 50. 0 /  2. 50. 0
  libswscale    2.  1. 0 /  2.  1. 0
[asf @ 0x139d7a0] parser not found for codec wmav2, packets or times may be invalid.
Input #0, asf, from 'ticket691_cut.wma':
  Metadata:
    title           : 20.Время России
    artist          : Многоточие
    genre           : Pop,
    album           : Атомы Сознания
    track           : 20
  Duration: 00:03:28.65, start: 0.000000, bitrate: 98 kb/s
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, s16, 160 kb/s
Output #0, wav, to 'out.wav':
  Metadata:
    title           : 20.Время России
    artist          : Многоточие
    genre           : Pop,
    album           : Атомы Сознания
    track           : 20
    encoder         : Lavf53.22.0
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmav2 -> pcm_s16le)
Press [q] to stop, [?] for help
[wmav2 @ 0x13a42a0] overflow in spectral RLE, ignoring
size=     352kB time=00:00:02.04 bitrate=1411.4kbits/s
video:0kB audio:352kB global headers:0kB muxing overhead 0.012762%

comment:6 Changed 20 months ago by michael

e2db9a736fd9506d194854ee448c7830d486b125 fixed all errors except one, please confirm that the remaining error does not occur with the official decoder

comment:7 Changed 19 months ago by dimon94

Confirmed.

comment:8 Changed 18 months ago by cehoyos

When ffmpeg prints the error message at around 44.3, the output is "missing" 0.3 seconds that are produced by mplayer -ac wmadmo, the difference is clearly audible.

comment:9 Changed 9 months ago by michael

Is this the only file that has this problem or are there more examples ?

comment:10 Changed 9 months ago by cehoyos

I have never looked for other, similar samples.

Note: See TracTickets for help on using tickets.