Opened 8 years ago
Last modified 8 years ago
#4883 new defect
Audio with multiple sample rates causes pitch issues
|Reported by:||Tal Lev-Ami||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
Encoding a video whose audio track as two parts one with 44100 and one with 48000 causes pitch issues in one of the parts.
How to reproduce:
% ffmpeg -report -y -i nlpebvbo8gaxpvffcnb6.mp4 -codec:v libx264 -codec:a libfaac -pix_fmt yuv420p -crf 30 out.mp4
Attached is the log file from running with -report.
Change History (5)
by , 8 years ago
comment:1 by , 8 years ago
Sample uploaded to ftp as multiple_sample_rates.mp4
comment:2 by , 8 years ago
|Keywords:||mov aac added|
|Version:||unspecified → git-master|
How was the sample created? The aac bitstream signals 48kHz afaict, how is the decoder supposed to know that it is meant to be 44100? Or do I misunderstand?
comment:3 by , 8 years ago
I'm trying to determine the source of the video. I'll update when I have more details.
Note that Adobe Media Encoder was able to successfully manipulate this video and it runs properly in QuickTime.
Also, ffprobe's audio stream is reported with:
comment:4 by , 8 years ago
The video was created using Apple’s AVFoundation framework. Two videos were set together in the timeline, and exported using the default setting for an MP4 (using AVAssetExportSession).