Video seeking causes xHE-AAC (USAC) audio to glitch for a second.
System
OS: Windows 10.0.19044 (64-bit) (Build 21H2)
LAV Filters Version: 0.80.0.9
Tested Video Players
With LAV Filters
MPC-HC (Version: 2.5.4 (38c090ec9), Build date: Oct 1 2025, K-Lite Codec Pack Mega Install ): Constant audio glitches during keyframe seeking.
Windows Media Player 12: Same as MPC-HC .
Without LAV Filters
ffplay (Version: 8.0-full_build-www.gyan.dev): No glitches at all, but causes a video to slow down to sync with delayed audio stream.
Reproduction Steps
Install MPC-HC and LAV Filters via K-Lite Codec Pack or using any other method. Make sure that LAV Filters are decoding video and audio streams.
Open MPC-HC options (View tab --> Options...), select Tweaks block, then enable Fast seek (on keyframe) option and choose Nearest keyframe.
Download any source video (provided below) and open it in MPC-HC.
Press ← and → to seek the video (or use Shift +Left or Shift +Right if you haven't enabled fast seek).
If audio glitches - bug is successfully reproduced.
Video
Warning: Very loud noises and screeches.
lav_filters_xheaac_video_seeking_issue.mp4
Source Videos
Audio was encoded using exhale (Version: 1.2.1 (x64, built on May 10 2025)) with presets 1 and b. ffmpeg was used for video and audio streams merging.
Preset 1 (ISO/MPEG-D Extended HE-AAC)
input_xheaac_preset_1.mp4
Preset b (Extended HE-AAC using eSBR)
input_xheaac_preset_b.mp4
Video seeking causes xHE-AAC (USAC) audio to glitch for a second.
System
Windows 10.0.19044 (64-bit) (Build 21H2)0.80.0.9Tested Video Players
With LAV Filters
2.5.4 (38c090ec9), Build date:Oct 1 2025, K-Lite Codec Pack Mega Install): Constant audio glitches during keyframe seeking.Without LAV Filters
8.0-full_build-www.gyan.dev): No glitches at all, but causes a video to slow down to sync with delayed audio stream.Reproduction Steps
Viewtab -->Options...), selectTweaksblock, then enableFast seek (on keyframe)option and chooseNearest keyframe.If audio glitches - bug is successfully reproduced.
Video
Warning: Very loud noises and screeches.
lav_filters_xheaac_video_seeking_issue.mp4
Source Videos
Audio was encoded using exhale (Version:
1.2.1 (x64, built on May 10 2025)) with presets1andb. ffmpeg was used for video and audio streams merging.Preset 1 (ISO/MPEG-D Extended HE-AAC)
input_xheaac_preset_1.mp4
Preset b (Extended HE-AAC using eSBR)
input_xheaac_preset_b.mp4