[FFmpeg-user] Need help using segment muxer to create mpegts segment every 10 second.

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 13 10:22:06 CET 2012

Ly Tran Cong <lytc <at> vega.com.vn> writes:

> It works,
> Here is my command
> ffmpeg -i udp:// -r 25 -c:a libfaac -ab:a 48k -ac:a
> 2 -c:v libx264 -s:v 320x240 -b:v 150k -aspect:v 16:9 -map 0 -vbsf
> h264_mp4toannexb -flags -global_header -f segment -segment_time 10
> -segment_list test.m3u8 -segment_format mpegts stream%05d.ts
> Waiting for next ffmpeg release.

If you are a user (and not a distributor), please only use current git head, it
always contains more features and less bugs than any released version.

Carl Eugen

More information about the ffmpeg-user mailing list