Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1000 closed defect (fixed)

wma lossless: not enough space for the output samples

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

Description

I tried to convert a wma lossless file to pcm wav. ffmpeg produced an empty result file with an error message.

I downloaded the latest git repository and compiled from that source. It is a 64 bit Centos 6.0 Linux.

[root@ftp ffmpeg-HEAD-b92ecda]# ./ffmpeg -y -strict -2 -i /tmp/bb.wma -acodec pcm_s16le -f wav /tmp/out.wav
ffmpeg version 0.9.1.git-b92ecda Copyright (c) 2000-2012 the FFmpeg developers

built on Feb 16 2012 12:03:00 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)
configuration:
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.100 / 54. 3.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.100 / 2. 62.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100

Input #0, asf, from '/tmp/bb.wma':

Metadata:

title : Echo Beach (2002 Digital Remaster)
artist : Martha And The Muffins
copyright : Digital Remaster (P) 2003 The copyright in this sound recording is owned by Virgin Records Ltd
comment : 0724354260155
WMFSDKVersion : 9.00.00.3268
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1

Duration: 00:00:30.00, start: 0.000000, bitrate: 944 kb/s

Stream #0:0(ger): Audio: wmalossless (c[1][0][0] / 0x0163), 44100 Hz, stereo, s16, 941 kb/s

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

Metadata:

title : Echo Beach (2002 Digital Remaster)
artist : Martha And The Muffins
copyright : Digital Remaster (P) 2003 The copyright in this sound recording is owned by Virgin Records Ltd
comment : 0724354260155
WMFSDKVersion : 9.00.00.3268
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
encoder : Lavf54.1.100
Stream #0:0(ger): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (wmalossless -> pcm_s16le)

Press [q] to stop, ? for help
Multiple frames in a packet from stream 0
[wmalossless @ 0x28b6260] not enough space for the output samples

Last message repeated 262 times

size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

Attachments (1)

bb_short.wma (1.0 MB) - added by doubleb 4 years ago.
originally this file was a 30sec sample but its size was 3.5M, so I truncated to 1M by dd

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by doubleb

originally this file was a 30sec sample but its size was 3.5M, so I truncated to 1M by dd

comment:1 Changed 4 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

Fixed locally
will be in git in a moment

comment:2 Changed 4 years ago by cehoyos

  • Keywords wmalossless added; wma lossless removed
Note: See TracTickets for help on using tickets.