We've been investigation an issue whereby portrait iOS videos fail to encode by Azure Media Encoding services. Is there some workaround?
The error occurs where a video is 720 wide and 1280 high, without any rotation meta data.
Windows Azure Media Encoder ran into errors during the encode process on source Invalid Width specified. The value must be an even number between 64 and 1280 and a multiple of 4.
Similar videos which are 1280 wide and 720 high with rotation 90 degrees meta data, are encoded without a problem.
We've tried different xml preset values believing that video aren't being handled correctly.
<Presets Rotation="Auto">
<Preset
Version="5.0">
Having looked at the source of these videos, we have determined that these are mp4 videos produced from Snapchat, with some effect added to them. Videos without effects seem fine. Therefore Snapchat is corrupting them in some way.
We believe that the error provided above is therefore false and that the actual error, some other problem with the video, is being caught by this dimension error handler.
It would be nice to provide users with a useful error. Actually saying the dimensions are incorrect it's useful as other videos with this dimension are fine.