Do you have a suggestion on what I should do instead? I simply want to stream my web cam to another computer and I have no clue on which encoder I should use.

Kind regards,
Daniel


2016-01-12 00:31 skrev Moritz Barsnick:
On Mon, Jan 11, 2016 at 21:12:05 +0100, [email protected] 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
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to