#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 )
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 , 2 years ago
Description: | modified (diff) |
---|
follow-up: 3 comment:2 by , 2 years ago
Priority: | important → normal |
---|---|
Version: | 5.1.2 → git-master |
comment:3 by , 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:5 by , 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?
follow-up: 7 comment:6 by , 2 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
So big resolutions are not currently support nor there is plan to support them.
comment:7 by , 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.
follow-up: 9 comment:8 by , 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.
comment:9 by , 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.
Do you know the resolution of 4k?