Opened 2 days ago
Last modified 13 hours ago
#11283 reopened defect
"aloop" filter somehow gave misalignment in 48 KHz Stereo WAV
Reported by: | Danny Weijermans | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | aloop |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
when using the aloop audio filter in ffmpeg
to produce a looped audio section,
it works sample accurate in 44.1kHz mono or stereo,
and in 48kHz mono.
But for some strange reason,
it's off (probably by 1?) when using a 48kHz stereo file.
I didn't test other sample-rates yet..
I'm including a 48kHz stereo wav file containing a pure 480Hz sine,
so you can test yourself.
I'm using for testing:
ffmpeg -y -i /Users/disjt/Desktop/s.wav -filter_complex "aloop=loop=4:start=48000:size=48000" s.wav
Attachments (1)
Change History (3)
by , 2 days ago
comment:1 by , 20 hours ago
Keywords: | seek seeking added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Summary: | ffmpeg aloop audio filter not working correctly in 48khz stereo wav → "aloop" filter somehow gave misalignment in 48 KHz Stereo WAV |
comment:2 by , 13 hours ago
Cc: | added |
---|---|
Component: | undetermined → avfilter |
Keywords: | aloop added; seek seeking removed |
Resolution: | duplicate |
Status: | closed → reopened |
Version: | unspecified → git-master |
No, this is a totally different issue, it has nothing to do with seeking. I will send a patch to fix this soon.
pure 480Hz Sinewave 16bits 48kHz stereo wav file