[FFmpeg-trac] #1494(avcodec:open): Assertion fails when encoding wmav2

FFmpeg trac at avcodec.org
Sat Jun 30 21:20:23 CEST 2012


#1494: Assertion fails when encoding wmav2
-------------------------------------+-------------------------------------
             Reporter:  grolschie    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  wma          |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Still fails here with current git head:
 {{{
 $ ffmpeg -i input_stream.flv -ar 48k -vn out.wma
 ffmpeg version N-42075-g7001eee Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jun 30 2012 21:09:05 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc
   libavutil      51. 63.100 / 51. 63.100
   libavcodec     54. 31.100 / 54. 31.100
   libavformat    54. 14.100 / 54. 14.100
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     3.  0.100 /  3.  0.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
 Input #0, flv, from 'input_stream.flv':
   Metadata:
     metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
     hasKeyframes    : true
     hasVideo        : true
     hasAudio        : true
     hasMetadata     : true
     canSeekToEnd    : true
     datasize        : 1978772
     videosize       : 1716367
     audiosize       : 254789
     lasttimestamp   : 30
     lastkeyframetimestamp: 30
     lastkeyframelocation: 1975246
     encoder         : Lavf54.11.100
   Duration: 00:00:30.27, start: 0.000000, bitrate: 366 kb/s
     Stream #0:0: Video: flv1, yuv420p, 450x360, 200 kb/s, 25 tbr, 1k tbn,
 1k tbc
     Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
 [graph 0 input from stream 0:1 @ 0x8f60f80] tb:1/1000 samplefmt:s16
 samplerate:22050 chlayout:0x3
 [auto-inserted resampler 0 @ 0x8f62240] chl:stereo fmt:s16 r:22050Hz ->
 chl:stereo fmt:s16 r:48000Hz
 Output #0, asf, to 'out.wma':
   Metadata:
     metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
     hasKeyframes    : true
     hasVideo        : true
     hasAudio        : true
     hasMetadata     : true
     canSeekToEnd    : true
     datasize        : 1978772
     videosize       : 1716367
     audiosize       : 254789
     lasttimestamp   : 30
     lastkeyframetimestamp: 30
     lastkeyframelocation: 1975246
     WM/EncodingSettings: Lavf54.14.100
     Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo,
 s16, 127 kb/s
 Stream mapping:
   Stream #0:1 -> #0:0 (mp3 -> wmav2)
 Press [q] to stop, [?] for help
 Assertion i>=0 failed at libavcodec/wmaenc.c:389
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1494#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list