[FFmpeg-user] -f segment does not seem to be working
michael at redmule.com
Tue Apr 1 00:07:22 CEST 2014
On 3/31/2014 4:37 PM, Lou wrote:
> On Mon, 31 Mar 2014 16:28:34 -0500
> Michael Hipp <michael at redmule.com> wrote:
>> I'm attempting to segment an incoming mp3 audio stream:
>> ffmpeg -i udp://220.127.116.11:5000 -acodec copy -f segment -segment_time 5 out%03d.mp3
>> The audio records fine but it never segments. The one file (out000.mp3) just
>> grows and grows.
>> What am I doing wrong?
>> I'm using ffpmeg as ships with ubuntu 12.04 (version
> As of 13.10 Ubuntu does not include ffmpeg from FFmpeg. The version you
> are using is from a fork of FFmpeg. This mailing list only supports
> stuff from FFmpeg.
> You can try using a recent build of ffmpeg:
Thank you. I'm afraid the version numbers are a bit confusing.
But anyways, I downloaded a static build from
http://ffmpeg.gusari.org/static/32bit/ as linked on that page and now it
segments as expected. I only had to add a -map 0 option:
./ffmpeg -i udp://18.104.22.168:5000 -acodec copy -map 0 -f segment -segment_time
More information about the ffmpeg-user