I already achieved it after a little research, using this command:
ffmpeg -f video4linux2 -input_format h264 -video_size 1280x720 -i
/dev/video0 -vframes 1 -f mjpeg menu%d.jpg
ffmpeg version 3.4.1-1+b2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (Debian 7.2.0-19)
2018-02-27 8:58 GMT-05:00 Moritz Barsnick :
> On Mon, Feb 26, 2018 at 16:43:50 -0500, Lindsey Williams wrote:
> > "-r 1 " is just going to use the input file sampling rate, no?
>
> Input file? We are talking about an input device (as this is a camera),
> and the term is "frame
2018-02-27 14:58 GMT+01:00 Moritz Barsnick :
> On Mon, Feb 26, 2018 at 16:43:50 -0500, Lindsey Williams wrote:
>> "-r 1 " is just going to use the input file sampling rate, no?
>
> Input file? We are talking about an input device (as this is a camera),
> and the term is "frame
On Mon, Feb 26, 2018 at 16:43:50 -0500, Lindsey Williams wrote:
> "-r 1 " is just going to use the input file sampling rate, no?
Input file? We are talking about an input device (as this is a camera),
and the term is "frame rate". "-r" should be "-framerate" for a v4l2
input, but "-r" works. It
"-r 1 " is just going to use the input file sampling rate, no? I don't
think this is a sampling rate problem unless there's signs of "rolling
shutters" or total disconnect in the expected output playback.
"You need to check with V4L utilities or ffmpeg, which formats /
resolutions your v4l2
On Fri, Feb 23, 2018 at 00:34:26 -0500, DiegoUG wrote:
> I'm doing a capture of an image from the docker using my web cam, but the
> docker is doing it at a resolution of 176x144 and outside of the docker in
> my localhost it takes it to 640x360, in both it's the same installation, I
> do not know
I can't say for certain as its been some time since I used ffmpeg, but
there are only a fixed number of resolutions to pass to ffmpeg using the -s
size parameter and the behavior isn't what you're probably looking for.
What you probably need to look at is the scaling filter:
Hello, can someone guide me a little towards the solution?
I really do not understand what it is, and with another camera the same
thing is happening to me.
2018-02-23 0:34 GMT-05:00 DiegoUG :
> Hello,
>
> I'm doing a capture of an image from the docker using my web