[FFmpeg-user] MJPEG encoder large memory allocation issue

Tithi Patel tithi.patel at einfochips.com
Fri Sep 5 08:56:46 CEST 2014


Please suggest where to post such a query.

The command line I am using is :
./ffmpeg -i input_jpeg%d.jpg -vf tile=2x2 out.jpg

The console output is

/ffmpeg -i /mnt/nfs/tithi/jpeg_quadrants_2/%d.jpg -vf
 tile=2x2 out.jpg

ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  5 2014 12:23:24 with gcc 4.3.3 (Sourcery G++ Lite 2009q1-203)
  configuration: --prefix=/home/tithi/05Sept14_ffmpeg/ffmpeg_arm/arm.out --target-os=linux --arch=arm --cc=arm-none-linux-gnueabi-gcc --cross-prefix=arm-none-linux-gnueabi- --disable-static --enable-shared
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Input #0, image2, from '/mnt/nfs/tithi/jpeg_quadrants_2/%d.jpg':
  Duration: 00:00:00.16, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p, 2000x1496 [SAR 1:1 DAR 250:187], 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf54.29.104
    Stream #0:0: Video: mjpeg, yuvj422p, 4000x2992 [SAR 1:1 DAR 250:187], q=2-31, 200 kb/s, 90k tbn, 6.25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mjpeg)
Press [q] to stop, [?] for help
Size to be allocated : 144935000
[mjpeg @ 0x3c710] Failed to allocate packet of size 144935000
Video encoding failed





________________________________________
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: Thursday, September 4, 2014 5:51 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:

> [mjpeg  <at>  0x69d40] Failed to allocate packet of
> size 144935000

Please provide your failing command line together with
the complete, uncut console output.

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

Please understand that this makes no sense when sending
an email to a public mailing list.

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