Opened 3 years ago

Closed 3 years ago

#5738 closed defect (fixed)

alac encoding regression

Reported by: cehoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: alac crash abort regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by cehoyos)

Forum user madhartigan has reported an alac encoding regression since 3ef5de0f19774e2c3dd9b08ba2e8ab7241a4862a

$ ffmpeg -i ph160628d1_09_Things_People_Do.flac -acodec alac -f null -
ffmpeg version N-81118-gfb91850 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl --enable-libvpx
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, flac, from 'ph160628d1_09_Things_People_Do.flac':
  Metadata:
    COMMENT         : powered by nugs.net
    ALBUM           : 2016/06/28 Philadelphia, PA
    COPYRIGHT       : 2015, Phish
    TITLE           : Things People Do
    URL             : http://www.livephish.com
    ARTIST          : Phish
    ALBUM ARTIST    : Phish
    ENCODER         : X Lossless Decoder 20151214
    ENCODEDBY       : nugs.net
    DATE            : 2016
    track           : 9
    disc            : 1
    GENRE           : Rock
  Duration: 00:02:49.32, start: 0.000000, bitrate: 963 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1700x1700 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : 32x32 pixels 'file icon'
      title           : Enter description
[null @ 0x22e4660] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, null, to 'pipe:':
  Metadata:
    COMMENT         : powered by nugs.net
    ALBUM           : 2016/06/28 Philadelphia, PA
    COPYRIGHT       : 2015, Phish
    TITLE           : Things People Do
    URL             : http://www.livephish.com
    ARTIST          : Phish
    ALBUM ARTIST    : Phish
    GENRE           : Rock
    ENCODEDBY       : nugs.net
    DATE            : 2016
    track           : 9
    disc            : 1
    encoder         : Lavf57.44.100
    Stream #0:0: Video: wrapped_avframe, yuvj420p, 1700x1700 [SAR 72:72 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc
    Metadata:
      comment         : 32x32 pixels 'file icon'
      title           : Enter description
      encoder         : Lavc57.50.100 wrapped_avframe
    Stream #0:1: Audio: alac, 44100 Hz, stereo, s16p, 128 kb/s
    Metadata:
      encoder         : Lavc57.50.100 alac
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg (native) -> wrapped_avframe (native))
  Stream #0:0 -> #0:1 (flac (native) -> alac (native))
Press [q] to stop, [?] for help
Internal error, put_bits buffer too small    
Assertion s->buf_ptr < s->buf_end failed at libavcodec/put_bits.h:108
Aborted

Encoding works fine (and is bitexact on decoding with FFmpeg) if I disable the assert.
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket5738/

Change History (4)

comment:1 Changed 3 years ago by richardpl

Could you upload to more friendly location?, this site tries to give me exe file.

comment:2 Changed 3 years ago by cehoyos

I am currently away, will upload next week, sorry.
https://www.google.at/search?q=ph160628d1_09_Things_People_Do.flac gives many locations.

comment:3 Changed 3 years ago by cehoyos

  • Description modified (diff)

comment:4 Changed 3 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.