FLAC file skips in VLC due to CRC failures and "reserved fields"
VLC Version 2.1.1 Windows 7 [Version 6.1.7601]
I have at least one FLAC file which skips within about 10 seconds of the beginning and end. Opening this FLAC file in Audacity and examining these regions shows no problems - it opens successfully. I tried checking this file using an open source Windows program called Audiotester, available here. No problems were reported.
I have not tried this file with VLC on any other operating systems yet.
I'm wondering if this is some kind of regression in the code that reads FLAC files.
Below is the debug message output in VLC when this file is played:
main debug: processing request item: MAYOIGA, node: Playlist, skip: 0
main debug: resyncing on MAYOIGA
main debug: MAYOIGA is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on MAYOIGA
main debug: MAYOIGA is at 0
main debug: creating new input thread
main debug: Creating an input for 'MAYOIGA'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\oakwhiz\AppData\Local\Temp'
main debug: `file:///C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac' gives access `file' demux `' path `/C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac'
main debug: enforced demux ` any'
main debug: creating demux: access='file' demux='any' location='/C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac' file='C:\Users\oakwhiz\Downloads\[Audio-4U] (C84) ジェリコの法則 — Arrenged Explosion (東方) (flac)\03. Jerico — MAYOIGA.flac'
main debug: looking for access_demux module matching "file": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'file' location='/C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac', path='C:\Users\oakwhiz\Downloads\[Audio-4U] (C84) ジェリコの法則 — Arrenged Explosion (東方) (flac)\03. Jerico — MAYOIGA.flac'
main debug: looking for access module matching "file": 20 candidates
filesystem debug: opening file `C:\Users\oakwhiz\Downloads\[Audio-4U] (C84) ジェリコの法則 — Arrenged Explosion (東方) (flac)\03. Jerico — MAYOIGA.flac'
main debug: using access module "filesystem"
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module matching "any": 6 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 6 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac' file='C:\Users\oakwhiz\Downloads\[Audio-4U] (C84) ジェリコの法則 — Arrenged Explosion (東方) (flac)\03. Jerico — MAYOIGA.flac'
main debug: looking for demux module matching "any": 63 candidates
main debug: looking for packetizer module matching "any": 21 candidates
main debug: using packetizer module "packetizer_flac"
main debug: using demux module "flacsys"
main debug: looking for a subtitle file in C:\Users\oakwhiz\Downloads\[Audio-4U] (C84) ジェリコの法則 — Arrenged Explosion (東方) (flac)\
main debug: looking for meta reader module matching "any": 2 candidates
main debug: using meta reader module "taglib"
main debug: removing module "taglib"
main debug: `file:///C:/Users/oakwhiz/Downloads/%5BAudio-4U%5D%20%28C84%29%20%E3%82%B8%E3%82%A7%E3%83%AA%E3%82%B3%E3%81%AE%E6%B3%95%E5%89%87%20%E2%80%94%20Arrenged%20Explosion%20%28%E6%9D%B1%E6%96%B9%29%20%28flac%29/03.%20Jerico%20%E2%80%94%20MAYOIGA.flac' successfully opened
main debug: selecting program id=0
main debug: looking for decoder module matching "any": 39 candidates
main debug: using decoder module "flac"
main debug: Buffering 0%
flac debug: decode STREAMINFO
flac debug: channels:2 samplerate:44100 bitspersamples:16
flac debug: STREAMINFO decoded
main debug: reusing audio output
directsound debug: Opening DirectSound Audio Output
main debug: Buffering 18%
main debug: Buffering 37%
main debug: Buffering 55%
main debug: Buffering 74%
main debug: Buffering 92%
main debug: Stream buffering done (557 ms in 2 ms)
qt4 debug: IM: Setting an input
directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels
main debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 's32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 's32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio converter module matching "any": 12 candidates
audio_format debug: s32l->f32l, bits per sample: 32->32
main debug: using audio converter module "audio_format"
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "samplerate"
main debug: End of audio preroll
main debug: Decoder buffering done in 10 ms
main debug: inserting 352 zeroes
flac error: frame's data did not match the CRC in the footer.
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-50100): down-sampling
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-151957): playing silence
main debug: inserting 6701 zeroes
flac error: frame's data did not match the CRC in the footer.
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-92886): down-sampling
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-178766): playing silence
main debug: inserting 7883 zeroes
flac warning: the decoder was aborted by the read callback.
main warning: playback too early (-89894): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-183660): playing silence
main debug: inserting 8099 zeroes
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-98844): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-188723): playing silence
main debug: inserting 8322 zeroes
flac error: frame's data did not match the CRC in the footer.
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-96896): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-183776): playing silence
main debug: inserting 8104 zeroes
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-100891): down-sampling
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-191771): playing silence
main debug: inserting 8457 zeroes
flac error: The decoder encountered reserved fields in use in the stream.
main warning: playback too early (-94859): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-186739): playing silence
main debug: inserting 8235 zeroes
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-91884): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-178764): playing silence
main debug: inserting 7883 zeroes
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-98891): down-sampling
flac error: The decoder encountered reserved fields in use in the stream.
main warning: playback way too early (-193771): playing silence
main debug: inserting 8545 zeroes
flac error: The decoder encountered reserved fields in use in the stream.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-90886): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-181744): playing silence
main debug: inserting 8014 zeroes
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback too early (-96900): down-sampling
flac warning: an error in the stream caused the decoder to lose synchronization.
flac warning: an error in the stream caused the decoder to lose synchronization.
main warning: playback way too early (-189780): playing silence
main debug: inserting 8369 zeroes
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: finished input
main debug: removing module "flac"
main debug: killing decoder fourcc `flac', 0 PES in FIFO
main debug: removing module "samplerate"
main debug: removing module "audio_format"
main debug: removing module "scaletempo"
directsound debug: closing audio device
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "flacsys"
main debug: removing module "packetizer_flac"
main debug: removing module "record"
main debug: removing module "filesystem"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input