rainbowcreatures / FlashyWrappers

AIR / Flash video recording SDK
17 stars 10 forks source link

macOS: Recorded video got stretched #40

Open mrgoonie opened 6 years ago

mrgoonie commented 6 years ago

I'm using the ANE for macOS, but the result video look weird, do you know why?

image

While it should be: image

Thanks,

mrgoonie commented 6 years ago

Windows ANE works just fine...

rainbowcreatures commented 6 years ago

This usually happens when feeding video dimensions to the encoder it doesn't like (the width in particular). What are your values?

mrgoonie commented 6 years ago

It's 550x400

rainbowcreatures commented 6 years ago

Try a value you can divide by 16, in this case 544, or anything else(you can begin with super safe ones like 640 x 480 etc.). The mp4 encoders on iOS / mac have issues with other values which demonstrate exactly like your screenshot.

mrgoonie commented 6 years ago

Alright, after trying your suggestion, I already got a clearer video, but there are a black border at the right side & bottom of the video... 2018-01-08_01-18-51

rainbowcreatures commented 6 years ago

Can you share your capture code and your stage dimensions?