[FFmpeg-user] Detecting frames on Raw video stream

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jul 14 15:31:05 EEST 2016


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

> On 14/07/2016 12:12, Carl Eugen Hoyos wrote:
> > You need to use the pipe format (-f image2pipe -vcodec rawvideo)
> > together with the -frame_size option.
>
> Thanks, I tried it but I get an "tcp://192.168.1.40:5556: 
> Cannot allocate memory" error.

Command line and complete, uncut console output missing.

> 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.

> I tried to set a buffer size using the -bufsize option, 
> but it did not seem to work.

How is this related?

Carl Eugen



More information about the ffmpeg-user mailing list