[FFmpeg-user] -vcodec copy encodes nothing (empty output file) with h264 input

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 13 14:22:34 CEST 2013


Paul <paul <at> hivetool.org> writes:

> ffmpeg -f video4linux2 -re -s 640x480 -r 15 
> -vcodec h264 -i /dev/video0 -vcodec copy output.mkv
> 
> yields same result, Output file is empty ...

You could try to add -vsync 0 (another input option).
Unfortunately, no developer owns such a device afaik.

Carl Eugen



More information about the ffmpeg-user mailing list