Opened 6 years ago

Closed 6 years ago

#6795 closed defect (fixed)

minterpolate filter does not work on very large video files

Reported by: jimqode Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: minterpolate
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Trying to run ffmpeg with -vf minterpolate option with videos larger than 2717x2707 spits out an error.

% ./ffmpeg [input] -vf minterpolate [output]
ffmpeg version N-88186-g00bfe85 Copyright (c) 2000-2017 the FFmpeg developers
...

Input #0, png_pipe, from 'testout.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 2717x2707 [SAR 7874:7874 DAR 2717:2707], 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'out.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[Parsed_minterpolate_0 @ 0x25a69e0] Failed to configure input pad on Parsed_minterpolate_0
Error reinitializing filters!
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:0
Conversion failed!

Attachments (1)

ffmpeg-20171031-205351.log (4.7 KB ) - added by jimqode 6 years ago.
report log

Download all attachments as: .zip

Change History (3)

by jimqode, 6 years ago

Attachment: ffmpeg-20171031-205351.log added

report log

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: minterpolate added
Reproduced by developer: set
Status: newopen

The maximum resolution (width x height) for default minterpolate is currently 7354395, independent of memory resources, limited by sizeof(Pixel), currently 292.

comment:2 by Carl Eugen Hoyos, 6 years ago

Resolution: fixed
Status: openclosed

The limit is raised to approximately 4096x4095 since ad73b32d2922f4237405043d19763229aee0e59e.

Note: See TracTickets for help on using tickets.