[FFmpeg-user] resolution problem with recording from webcam
Jeff L
jeffreylaut at gmail.com
Fri Mar 23 14:25:37 CET 2012
Andrey Utkin wrote
>
> 2012/3/23 Jeff L <jeffreylaut@>:
>> I am trying to record webcam (logitech pro 9000) video using ffmpeg... If
>> I
>> use cheese, the webcam will record at whatever resolution I tell it to.
>
> What is cheese?
>
>> If I use the following command;
>>
>> ffmpeg -t 10 -f video4linux2 -s 1280x720 -r 9 -i /dev/video0 -an
>> webcam.avi
>
> Why do you have _two_ inputs?
> Why do you set explicitly the resolution?
>
>> The webcam will record, and I'll have a video that is 1280x720 in size,
>> but
>> the quality is crap. It looks like it is just stretching a low resolution
>> image to be 1280x720. Recording with cheese it looks great. I can't seem
>> to
>> figure out why.
>> Any ideas?
>
> Stick with single video input, and use "-c copy".
>
> --
> Andrey Utkin
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
cheese is a webcam recording program.
I have two inputs? I thought that /dev/video0 was my only input....
I explicitly set the resolution because it was using the default framerate
(25 fps I think?). I thought that maybe it was using a lower image
resolution to get that framerate, so I tried lowering it to something
reasonable for that framesize.
"-c" doesn't seem to be an option for me, but if I use "-vcodec copy", it
seems to do the trick. Thanks!
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/resolution-problem-with-recording-from-webcam-tp4498565p4498790.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list