[FFmpeg-user] FFMPeg reading from Logitech C920 generating H264 source produces empty output file

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Aug 31 22:59:43 CEST 2013

William C Bonner <wimbonner <at> gmail.com> writes:

> I finally came up with a way of getting FFMPEG to read 
> h.264 directly from my Logitech C920 webcam and stream 
> it over RTP. The parameter required was -copyinkf (copy 
> initial non-keyframes)

Please provide a sample.
$ ffmpeg -f v4l2 -vcodec h264 -i /dev/video0 -copyinkf -vcodec copy out.h264

Carl Eugen

More information about the ffmpeg-user mailing list