[FFmpeg-user] Detecting frames on Raw video stream

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jul 14 16:29:57 EEST 2016


Charl Wentzel <charl.wentzel <at> vodamail.co.za> writes:

> $ ffmpeg -f image2pipe -vcodec rawvideo -pixel_format gray 
> -video_size 2592x1944 -framerate 10 -i tcp://192.168.1.40:5556

You are not using the -frame_size option, the command cannot 
work without it.

[...]

> >> I seems my images might be too big for this
> >> option, i.e.  2592 x 1944 = 5MB per image.
> > It's actually 10MB but I cannot believe you are running a
> > system that has issues with 10MB frames. Memory usage is
> > 170MB here for 10 seconds using the mpeg4 asp encoder.
>
> It is exactly 5,038,848 byte (one byte per pixel) that I'm 
> sending per frame.

Sorry, you are correct, I mixed up your question and another 
one about gray16;-)

Carl Eugen



More information about the ffmpeg-user mailing list