[FFmpeg-user] MJPEG encoder large memory allocation issue

Tithi Patel tithi.patel at einfochips.com
Fri Sep 5 14:19:58 CEST 2014


Hi Carl,

Error is :
=======
[mjpeg @ 0x557c0] Failed to allocate packet of size 144935000

As per my understanding the units is bytes.
So 144935000 bytes = 138 MB and not 14 MB.

Thanks,
Tithi.
________________________________________
From: ffmpeg-user-bounces at ffmpeg.org <ffmpeg-user-bounces at ffmpeg.org> on behalf of Carl Eugen Hoyos <cehoyos at ag.or.at>
Sent: Friday, September 5, 2014 5:36 PM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] MJPEG encoder large memory allocation issue

Tithi Patel <tithi.patel <at> einfochips.com> writes:

> Output #0, image2, to 'out.jpg':
>   Metadata:
>     encoder         : Lavf54.29.104
>     Stream #0:0: Video: mjpeg, yuvj422p, 4000x2992

yuvj422p means 16 bit per pixel, while these are less
than 12M, I don't think an allocation of 14M is
completely unexpected or do you disagree?

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************


More information about the ffmpeg-user mailing list