[FFmpeg-trac] #523(swresample:reopened): Assertion "channel_count == channel_count(channel_layout)" fails

FFmpeg trac at avcodec.org
Mon Nov 14 11:23:57 CET 2011


#523: Assertion "channel_count == channel_count(channel_layout)" fails
------------------------------------+--------------------------------------
             Reporter:  cehoyos     |                    Owner:  michael
                 Type:  defect      |                   Status:  reopened
             Priority:  important   |                Component:  swresample
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
Changes (by cehoyos):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 {{{
 $ ffmpeg -i out.loas out.ac3
 ffmpeg version N-34849-g07c7ffc, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Nov 14 2011 10:26:26 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 24. 1 / 51. 24. 1
   libavcodec   53. 33. 0 / 53. 33. 0
   libavformat  53. 20. 0 / 53. 20. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 48. 1 /  2. 48. 1
   libswscale    2.  1. 0 /  2.  1. 0
 [loas @ 0x138d760] max_analyze_duration 5000000 reached at 5034667
 [loas @ 0x138d760] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, loas, from 'out.loas':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Audio: aac_latm, 48000 Hz, 2 channels (FC), s16
 Incompatible sample format 's16' for codec 'ac3', auto-selecting format
 'flt'
 [ac3 @ 0x13a3a00] channel_layout not specified
 [ac3 @ 0x13a3a00] No channel layout specified. The encoder will guess the
 layout, but it might be incorrect.
 Output #0, ac3, to 'out.ac3':
   Metadata:
     encoder         : Lavf53.20.0
     Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (aac_latm -> ac3)
 Press [q] to stop, [?] for help
 Assertion ctx->channels == out->ch_count failed at
 libswresample/audioconvert.c:66
 Aborted
 }}}

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


More information about the FFmpeg-trac mailing list