[FFmpeg-user] Save webcam stream in mpg, not avi format

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 28 18:10:22 CEST 2015


Felix Baier <felixbaier-at-yahoo.de <at> ffmpeg.org> writes:

> I changed “-vcodec mpeg4 -qscale 2” to “-vcodec mpeg4 -q:v 2” 
> after I got a notification that the first version was 
> ambiguous.

For a video-only file?

> ffmpeg -r 25 -f dshow -s 640x480 -i video="Microsoft LifeCam HD-5000” 

Use -framerate 25 as explained by Roger.

> -vcodec mpeg4 -q:v 2 -f segment -segment_time 3600 
> -reset_timestamps 1 

> -segment_start_number 1 -segment_format avi

Are these necessary?

> -r 25

Please remove this.

> c:\Users\Desktop\out%%03d.avi

Please do not top-post here, Carl Eugen


More information about the ffmpeg-user mailing list