Opened 8 months ago
Last modified 8 months ago
#10988 new defect
Acrossover crash
Reported by: | JamesBond | Owned by: | |
---|---|---|---|
Priority: | important | Component: | undetermined |
Version: | unspecified | Keywords: | crash abort |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Setup: Windows 7 x64, FFMPEG g08781ebe1-2024-04-29 x64
Source: song.dsf https://fastupload.io/en/8hp1Dg1K3KNY3Zc/file
Command: ffmpeg -i song.dsf -af "volume=6dB,aresample=96000:resampler=soxr:precision=28:osf=s32:dither_method=triangular_hp,acrossover=24000:order=8th[low][high];[low]anull;[high]anullsink" out.flac
When the encoding is almost done, the red line appears. It says “Assertion best_input >= 0 failed at fftools/ffmpeg_filter.c:2075”. Then I see a GUI window that says “ffmpeg.exe has stopped working” with a button “Close the program”. An incomplete FLAC file remains on the disk, i.e. flac -t song.flac says “FLACSTREAM_DECODER_ERROR_STATUS_LOST_SYNC” and “ FLACSTREAM_DECODER_END_OF_STREAM”. If I remove that acrossover filter, then the encoding goes fine.
Change History (4)
comment:1 by , 8 months ago
Keywords: | crash abort added |
---|---|
Priority: | normal → important |
Reproduced by developer: | set |
comment:2 by , 8 months ago
I face the same error without acrossover, but with loudnorm filter.
Source: sweep.dsf https://www.upload.ee/files/16581066/sweep.dsf.zip.html
Command: ffmpeg -i sweep.dsf -af "volume=6dB,loudnorm,aresample=88200:resampler=soxr:precision=28:dither_method=triangular_hp" out.flac
comment:3 by , 8 months ago
I think the tests I ran and uploaded point to swresample as the locus. https://trac.ffmpeg.org/ticket/10990
comment:4 by , 8 months ago
Dear @mkver, could you copy sweep.dsf.zip to that stream.videolan.org folder as well?
Sample uploaded to https://streams.videolan.org/ffmpeg/incoming/10988/