[FFmpeg-user] Using ffmpeg receive udp stream without hangs

Moritz Barsnick barsnick at gmx.net
Fri Sep 28 10:16:35 EEST 2018

On Fri, Sep 28, 2018 at 09:25:40 +0800, zy wrote:
> ffmpeg -i udp:// -vn -acodec pcm_s16le -ac 8000 -f segment -segment_time 3 -reset_timestamps 1 -strftime 1 -segment_format wav ~/Desktop/temp/%s.wav

Not part of your issue, but:
You are requesting ffmpeg to create output with 8000 audio channels
("-ac 8000")! ffmpeg is kindly ignoring this and using the input's

You meant to use "-ar 8000".


More information about the ffmpeg-user mailing list