[FFmpeg-user] How can I get byte-accurate segments?

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 12 17:57:32 CET 2016


Grant Curtis <codercurtis <at> gmail.com> writes:

> ffmpeg -i "[rtmp url]" -ar 16000 -f segment -segment_time 10 out%04d.wav
> 
> I think part of my problem is that I'm adding in 

(The main issue is of course that you didn't show us 
command line and console output in your first post, 
it would have avoided a lot of confusion.)

> .wav headers by specifying this file type. To start out 
> on the right foot, I should use .raw, right?

No, ".sw" to avoid having to type "-f s16le" (acodec 
is unneeded).

Carl Eugen



More information about the ffmpeg-user mailing list