Opened 13 years ago
Last modified 17 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)
Change History (13)
comment:1 by , 13 years ago
Analyzed by developer: | unset |
---|---|
Component: | avcodec → undetermined |
Reproduced by developer: | unset |
comment:2 by , 13 years ago
Status: | new → open |
---|
comment:3 by , 13 years ago
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:
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 by , 13 years ago
I upload sample on ftp: upload.ffmpeg.org/incoming
Filename is ticket691.wma
by , 13 years ago
Attachment: | ticket691_cut.wma added |
---|
comment:5 by , 13 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | wmav2 added |
Reproduced by developer: | set |
Summary: | Errors while decoding stream → Errors while decoding wmav2 stream |
Version: | 0.8.7 → 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 by , 10 years ago
e2db9a736fd9506d194854ee448c7830d486b125 fixed all errors except one, please confirm that the remaining error does not occur with the official decoder
comment:8 by , 10 years ago
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:11 by , 17 months ago
[wmav2 @ 00000192e788af00] nb_frames is 0 bits left 29720 [wmav2 @ 00000192e788af00] nb_frames is 0 bits left 29720 [wmav2 @ 00000192e788af00] nb_frames is 0 bits left 29720 [wmav2 @ 00000192e788af00] nb_frames is 0 bits left 29720 [wmav2 @ 00000192e788af00] overflow (158 > 116) in spectral RLE, ignoring [wmav2 @ 00000192e788af00] nb_frames is 0 bits left 29720
Full sample is here: http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket691/
comment:12 by , 17 months ago
This is how Plex decodes it (-c:a wmav2_mf), yep some missing audio: https://0x0.st/HVol.flac
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.