[FFmpeg-trac] #9185(avformat:new): ffmpeg flac decoder incorrectly finds junk frame

FFmpeg trac at avcodec.org
Wed Apr 14 10:37:01 EEST 2021


#9185: ffmpeg flac decoder incorrectly finds junk frame
------------------------------------+------------------------------------
             Reporter:  wader       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  flac        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by wader):

 Sorry, i should have made a better example file. Your right this one
 produced the exact same output as flac reference decoder. The new one is
 the same with some audio concatenated to it.

 {{{
 $ ffmpeg -i flac_junk_frame_issue2.flac
 flac_junk_frame_issue2.flac.ffmpeg.wav
 ...
 $ flac -d -o flac_junk_frame_issue2.flac.ref.wav
 flac_junk_frame_issue2.flac
 ...
 $ ffmpeg -i flac_junk_frame_issue2.flac.ffmpeg.wav -f s16le -ac 2
 flac_junk_frame_issue2.flac.ffmpeg.wav.pcm
 ...
 $ ffmpeg -i flac_junk_frame_issue2.flac.ref.wav -f s16le -ac 2
 flac_junk_frame_issue2.flac.ref.wav.pcm
 ...

 $ md5 *.pcm
 MD5 (flac_junk_frame_issue2.flac.ffmpeg.wav.pcm) =
 a9ab411b9ab575be67693c03b56d621b
 MD5 (flac_junk_frame_issue2.flac.ref.wav.pcm) =
 901bdda002f27d63254d077d20985595
 }}}

 It looks like one silent flac frame (4096 samples) is missing.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9185#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list