[FFmpeg-user] MJPEG encoder large memory allocation issue

Tithi Patel tithi.patel at einfochips.com
Fri Sep 5 09:26:27 CEST 2014


Hi,

With the ffmpeg version 2.3.2 also I am getting the same error.

Below is the unsut console output fot the same :

./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 Moritz Barsnick <barsnick at gmx.net>
Sent: Friday, September 5, 2014 12:32 PM
To: FFmpeg user discussions
Subject: Re: [FFmpeg-user] MJPEG encoder large memory allocation issue

On Fri, Sep 05, 2014 at 06:56:46 +0000, Tithi Patel wrote:
> ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers

Why would you want to use this version? It's not even the latest on the
1.x branch (and won't be fixed if it's buggy). If you _need_ to use
releases, 2.3.3 is out, otherwise this list recommends using latest git
head.

Moritz
_______________________________________________
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