Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10064 closed defect (wontfix)

ffmpeg filter error: Picture size is invalid

Reported by: Han LiangLiang Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Han LiangLiang)

Summary of the bug: ffmpeg: [png @ 0x7f804d005e00] [IMGUTILS @ 0x7ff7b26715f8] Picture size 96301x5197 is invalid
How to reproduce:

% ffmpeg -i fuchun01.jpg -i fuchun02.jpg -filter_complex hstack test.png
ffmpeg 5.1.2

fuchun01.jpg and fuchun02.jpg you need to prepare your self, with a big resolution of images. I can't upload it from the attach file since they are too big.
After google, I also found the https://video.stackexchange.com/questions/28408/how-to-fix-ffmpeg-picture-size-32768x16384-is-invalid
But seems no one create a ticket for this issue, so I create one.
This feature is impressive as nowdays video switched to 4K, I think more and more images would have high resolutions.
Maybe simple change it int64 could fix this issue?

Change History (9)

comment:1 by Han LiangLiang, 2 years ago

Description: modified (diff)

comment:2 by Carl Eugen Hoyos, 2 years ago

Priority: importantnormal
Version: 5.1.2git-master

Do you know the resolution of 4k?

in reply to:  2 comment:3 by Han LiangLiang, 2 years ago

Replying to Carl Eugen Hoyos: Thanks for your reply. I surely know the resolution of 4k. But now if I want to make a 4k video with a big image size as I reported (fuchun01: 46301 × 5197, funchun02: 50000 × 5197) will encounter the issue. Currently, my workaround is to scale these two images to -1:1920 (2k) first, but if I want to make a 4k video like: -1:3840, then it would easily encounter this issue. (Since I totally have 4 images to do the hstack) Another workaround is to open PS to resize the images. Do you clear of this issue?

Do you know the resolution of 4k?

comment:4 by Carl Eugen Hoyos, 2 years ago

Did you test -1:3840?

in reply to:  4 comment:5 by Han LiangLiang, 2 years ago

Replying to Carl Eugen Hoyos: Yes sir, I just did a test and got error: Picture size 71155x3840 is invalid

Did you test -1:3840?

comment:6 by Elon Musk, 2 years ago

Resolution: wontfix
Status: newclosed

So big resolutions are not currently support nor there is plan to support them.

in reply to:  6 comment:7 by Han LiangLiang, 2 years ago

Replying to Elon Musk: I think you need to reconsider this issue. Thinking to convert a big picture to a 4k video, currently, this great tool doesn't support it, and from the internet, I'm not alone.

So big resolutions are not currently support nor there is plan to support them.

comment:8 by Jacky Koning, 2 years ago

Upload the image with another website. I think it should be fixed. The issue is obviously that you have a super high resolution photo that you want down downscale using ffmpeg and it does not work because the resolution is too high. Which is a bit of a weird problem but here we are.

Though if they say they won't fix it its unlikely they will change their mind.

in reply to:  8 comment:9 by Han LiangLiang, 2 years ago

Replying to Jacky Koning: np, later I found another tool magick convert can scale big images

Upload the image with another website. I think it should be fixed. The issue is obviously that you have a super high resolution photo that you want down downscale using ffmpeg and it does not work because the resolution is too high. Which is a bit of a weird problem but here we are.

Though if they say they won't fix it its unlikely they will change their mind.

Note: See TracTickets for help on using tickets.