the real order of the below is: "ffmpeg -i rtsp://172.26.3.67:8554/dawang_crop_aac.mkv -vn -c:a pcm_s16le -ar 16000 -ac 1 -f segment -segment_time 10 audio-%d.wav",it works by cmd. if i want to do this by fluent-ffmpeg,how to do ?? thanks
You should be able to pass the same input string as file name to fluent ffmpeg:
ffmpeg('rtsp://172.26.3.67:8554/dawang_crop_aac.mkv')
.noVideo()
.audioCodec('pcm_s16le')
.audioFrequency(16000)
.audioChannels(1)
.format('segment')
.outputOptions('-segment_time 10')
.saveToFile('audio-%d.wav')
@niklaskorz thank you!!
Most helpful comment
You should be able to pass the same input string as file name to fluent ffmpeg: