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

Paul paul at hivetool.org
Mon May 13 14:20:09 CEST 2013


On Monday, May 13, 2013 08:14:36 am Paul wrote:
> On Monday, May 13, 2013 07:58:19 am Carl Eugen Hoyos wrote:
> > Paul <paul <at> hivetool.org> writes:
> > > ffmpeg -f video4linux2  -vcodec h264 -s 640x48
> > > -r 15 -i /dev/video0 -vcodec copy  output.mkv
> > 
> > Does "-re" (an input option) help?
> > Please try to avoid top-posting here.
> 
> Sorry.
> 
> No,
> 
> ffmpeg -f video4linux2 -re -s 640x480 -r 15 -vcodec h264 -i /dev/video0 -
> vcodec copy output.mkv
> 
> yields same result, Output file is empty ...

-re 
Read input at native frame rate. Mainly used to simulate a grab device.

So, I guess I should leave out the -r 15?

Didn't matter.  Still Output file empty.

--Paul


More information about the ffmpeg-user mailing list