[FFmpeg-user] MPEG1/2 does not support 3/1 fps
Moritz Barsnick
barsnick at gmx.net
Tue Jan 12 00:31:58 CET 2016
On Mon, Jan 11, 2016 at 21:12:05 +0100, db123 at bergqvist.se wrote:
> Then I start ffmpeg with:
> ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 -f alsa -ac 2 -i hw:1,0
> http://localhost:8090/feed1.ffm
>
> But I get the errors:
> MPEG1/2 does not support 3/1 fps
> Error while opening encoder for output stream #0:1 - maybe incorrect
> parameters such as bit_rate, rate, width or height
I have come to the conclusion that
http://ffmpeg.org/sample.html
is a really bad example. Indeed, it tries to encode to mpeg1video with
a frame rate of 3, which ffmpeg only supports if it is forced to so.
Moritz
More information about the ffmpeg-user
mailing list