#9185: ffmpeg flac decoder incorrectly finds junk frame
-------------------------------------+-------------------------------------
Reporter: Mattias | Owner: (none)
Wadman |
Type: defect | Status: new
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: flac | Blocked By:
regression |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Mattias Wadman):
Maybe interesting note, the flac file was written by ffmpeg
{{{
$ flac -o flac_junk_frame_issue3.flac.wav flac_junk_frame_issue3.flac
$ ffmpeg -i flac_junk_frame_issue3.flac.wav
flac_junk_frame_issue3.flac.wav.flac
$ flac -t
...
flac_junk_frame_issue3.flac.wav.flac: ok
$ ffmpeg -i flac_junk_frame_issue3.flac.wav.flac -f null -
...
[flac @ 0x7ff4f6ad9c00] Junk frame till offset 3158
[flac @ 0x7f3d89d63c00] Inconsistent channel configuration.
[flac @ 0x7f3d89d63c00] get_buffer() failed
[flac @ 0x7f3d89d63c00] thread_get_buffer() failed
...
[flac @ 0x7ff4f6ace040] switching bps mid-stream is not supported
[flac @ 0x7ff4f6ace040] decode_frame() failed
[flac @ 0x7ff4f6ad0800] invalid residual
[flac @ 0x7ff4f6ad0800] decode_frame() failed
...
}}}
The offset 3158 into first (and only) frame in the example file is the
sample data for the second partition of the second subframe and it has
multiple occurrences of the bit pattern 0xfff8.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9185#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".