[FFmpeg-user] ffmpeg cannot capture h264 from webcam C920

William C Bonner wimbonner at gmail.com
Sat Aug 31 22:08:21 CEST 2013


I finally figured out that to use FFMPEG directly with the logitech C920
camera doing h.264 encoding, I need to use the -copyinkf flag.

ffmpeg -report -s 1920x1080 f v4l2 -vcodec h264 -i /dev/video0 -copyinkf
-vcodec copy test.mp4


On Thu, Aug 29, 2013 at 2:57 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> andrea <mariofutire <at> googlemail.com> writes:
>
> > I have the same issue reported here
> >
> > http://ffmpeg.org/pipermail/ffmpeg-user/2013-May/015046.html
> > and
> > http://ffmpeg.org/pipermail/ffmpeg-user/2013-July/016243.html
> >
> > I have tried ffmpeg 1.2.2 on fedora and 2.0.1 on raspberry
> > (same result). I have only tried ffplay 1.2.2 on fedora.
>
> Iirc, all users so far reported (repeatedly) that ffplay
> works fine with this camera (as does reencoding with ffmpeg).
> Please test reencoding with current ffmpeg and report back.
> (current != 2.0.1 !)
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list