Opened 5 months ago

Last modified 6 weeks ago

#10982 new defect

flac: Refuses to decode certain big-frame files

Reported by: H2Swine Owned by:
Priority: normal Component: ffmpeg
Version: 7.0 Keywords: flac
Cc: H2Swine Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Created .flac files that ffmpeg refuse to decode, and managed to construct such one inside subset:
https://hydrogenaud.io/index.php/topic,125848
Using a noisy signal I could create a CDDA file that is also rejected, but then I had to specify non-subset block size.

Also, while I'm at it: Wouldn't it be an idea after all these years to allow 8-bit FLAC encoding? And fix the ffplay playback of block sizes < 128 (even if, whothef¤¤c uses ffplay ... - anyway, that bug also verified yesterday with 7.0)

How to reproduce:

ffmpeg version 7.0-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, flac, from 'whitenoise.flac':
  Duration: 00:00:01.00, bitrate: 13891 kb/s
  Stream #0:0: Audio: flac, 96000 Hz, 5.1, s32 (24 bit)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> pcm_s16be (native))
Press [q] to stop, [?] for help
[aost#0:0/pcm_s16be @ 000001d2d89333c0] No filtered frames for output stream, trying to initialize anyway.
Output #0, aiff, to 'whitenoise.aiff':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Audio: pcm_s16be (NONE / 0x454E4F4E), 96000 Hz, 5.1, s16, 9216 kb/s
      Metadata:
        encoder         : Lavc61.3.100 pcm_s16be
[out#0/aiff @ 000001d2d8931940] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
[out#0/aiff @ 000001d2d8931940] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
size=       0KiB time=N/A bitrate=N/A speed=N/A

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by Balling, 5 months ago

whothef¤¤c uses ffplay

Limitations in it are limitations in other software typically. Interesting.

Note: See TracTickets for help on using tickets.