1 Answer
1

Raw PCM does not store stream properties, so when you ingest a raw PCM stream, ffmpeg assumes a sampling rate of 44100 Hz whereas your source is 48000 Hz. So new duration = old duration x (48000/44100).

Export to WAV or AIFF using -c:a pcm_s16le. Alternatively, save as now and ingest using -f s16le -sample_rate 48000 -i temp.pcm. First method is recommended.