Opened 13 months ago

Last modified 13 months ago

#5937 open defect

Flac decoding - sample/frame number mismatch in adjacent frames

Reported by: q3cpma Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: flac
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
sample/frame number mismatch in adjacent frames
This apparently recurring error is still appearing with latest master, so I thought I'd make a report. There's no discernable problem in the sound itself, but this error appears randomly when decoding flac files.
Note that flac -t (flac 1.3.1) doesn't have anything to say about the problematic files.
How to reproduce:

~/ffmpeg-git-20161110-64bit-static/ffmpeg -threads 1 -i "11 - Suite en Gm, FK nv24 - Bourrée, Trio I & II.flac" -c:a pcm_s16le -f null -
ffmpeg version N-82314-g863ebe6-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-3) 20161019
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libebur128 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 36.100 / 55. 36.100
  libavcodec     57. 66.101 / 57. 66.101
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 66.100 /  6. 66.100
  libswscale      4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, flac, from '11 - Suite en Gm, FK nv24 - Bourrée, Trio I & II.flac':
  Metadata:
    ALBUM           : Divers
    REPLAYGAIN_ALBUM_GAIN: -2.28 dB
    ARTIST          : W.F. Bach
    TITLE           : Suite en Gm, FK nv24 - Bourrée, Trio I & II
    REPLAYGAIN_TRACK_PEAK: 0.7671
    REPLAYGAIN_TRACK_GAIN: -2.24 dB
    REPLAYGAIN_ALBUM_PEAK: 1.0000
    track           : 11
    TRACKTOTAL      : 22
  Duration: 00:05:41.40, start: 0.000000, bitrate: 889 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Side data:
      replaygain: track gain - -2.240000, track peak - 0.000018, album gain - -2.280000, album peak - 0.000023,
Output #0, null, to 'pipe:':
  Metadata:
    ALBUM           : Divers
    REPLAYGAIN_ALBUM_GAIN: -2.28 dB
    ARTIST          : W.F. Bach
    TITLE           : Suite en Gm, FK nv24 - Bourrée, Trio I & II
    REPLAYGAIN_TRACK_PEAK: 0.7671
    REPLAYGAIN_TRACK_GAIN: -2.24 dB
    REPLAYGAIN_ALBUM_PEAK: 1.0000
    track           : 11
    TRACKTOTAL      : 22
    encoder         : Lavf57.57.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.66.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[NULL @ 0x57cb700] sample/frame number mismatch in adjacent frames
size=N/A time=00:05:41.40 bitrate=N/A speed= 585x
video:0kB audio:58811kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Change History (3)

comment:1 Changed 13 months ago by cehoyos

Please provide a sample.

comment:2 Changed 13 months ago by q3cpma

Sorry, I don't have a smaller one at the moment. here
If I remember well, the warning appears at 260-270s (using ffplay, without any skipping).

comment:3 Changed 13 months ago by cehoyos

  • Priority changed from normal to minor
  • Reproduced by developer set
  • Status changed from new to open

Not reproducible after remuxing the file with FFmpeg.

Note: See TracTickets for help on using tickets.