[FFmpeg-user] MJPEG encoder large memory allocation issue

Tithi Patel tithi.patel at einfochips.com
Fri Sep 5 09:31:03 CEST 2014


Below is the command line and uncut console output
=============================================
./ffmpeg -i /mnt/nfs/tithi/jpeg_quadrants_2/%d.jpg -vf tile=2x2 out.jpg
ffmpeg version 2.3.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep  5 2014 12:53:05 with gcc 4.3.3 (Sourcery G++ Lite 2009q1-203)
  configuration: --prefix=/home/tithi/05Sept14_ffmpeg/ffmpeg_232_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      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.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(pc, bt470bg), 2000x1496 [SAR 1:1 DAR 250:187], 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'out.jpg' already exists. Overwrite ? [y/N] y
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.48.100
    Stream #0:0: Video: mjpeg, yuvj422p, 4000x2992 [SAR 1:1 DAR 250:187], q=2-31, 200 kb/s, 6.25 fps, 6.25 tbn, 6.25 tbc
    Metadata:
      encoder         : Lavc55.69.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[mjpeg @ 0x557c0] ff_MPV_encode_picture : 1695 Going to allocate size  : 144935000
[mjpeg @ 0x557c0] Failed to allocate packet of size 144935000
Video encoding failed
Conversion 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