PinBox icon indicating copy to clipboard operation
PinBox copied to clipboard

BUG [swscaler...]Warning: Data is not aligned!...

Open Nekuake opened this issue 7 years ago • 7 comments
trafficstars

Expected Behavior

The stream shouldn't show any error.

Current Behavior

The console shows an error: [swscaler @ ] Warning: Data is not aligned! This can lead to a speed loss. It can be due to an scale error according to a ffmpeg Pipeline.

Possible Solution

There are a lot of possible solutions. One is changing the image format or the pixel format. Other is making sure that final dimensions are multiples of 8, 16 or 32. Also, FFmpeg says that the codec may be deprecated and they reccomend to use AVStream.codecpar instead.

Steps to Reproduce

  1. Just initialize an stream

Nekuake avatar Aug 31 '18 22:08 Nekuake

my plan was change final image size to 512x256, so we do not extra step to convert on 3ds side.

namkazt avatar Sep 01 '18 02:09 namkazt

According to FFMPEG, that would solve the problem.

Nekuake avatar Sep 01 '18 16:09 Nekuake

I have the exact same problem, what are the exact steps I should take to fix this? also, the dicord link doesn't work anymore.

ghost avatar Dec 22 '19 18:12 ghost

Bonjour , Comment ont initialise le flux

jerielbg avatar Jul 11 '22 12:07 jerielbg

I'm experiencing the same problem as well, I know this is no longer worked on but is there any forks that don't have this issue @namkazt.

I'm using an old 3DS and it's really annoying.

If this was not fixed in 2018, I wouldn't expect it in 2022.

Nekuake avatar Jul 26 '22 08:07 Nekuake

If this was not fixed in 2018, I wouldn't expect it in 2022.

:(

6VJ-Bugged avatar Sep 02 '22 16:09 6VJ-Bugged

my plan was change final image size to 512x256, so we do not extra step to convert on 3ds side.

how do you do that

XDcodingBTW avatar Sep 20 '23 19:09 XDcodingBTW