Video with lower dimensions gets transcoded to higher dimensions
|Reported by:||Vijeth||Owned by:|
|Cc:||Boris Bobrov, alyph, thomzane||Parent Tickets:|
I uploaded a video with (256, 144) dimensions, and changed the max default size (that a video can be transcoded to) to (1920, 1080). And, to my surprise, the video actually got transcoded to those dimensions.
So, when I viewed it on my local machine, there was zero padding (black colour) added to the top and bottom of the video to be in that resolution (dimensions).
I checked skip_transcode() method myself, and I realized the dimensionality check was working fine, but there was a problem with container-formats (not sure if it is a problem).
Basically, the video had 'ISO-MP4' container-format but mediagoblin config container-format string only allowed 'Matroska' container-format, and because of this the video was getting transcoded again (even though all other checks were fine).
Shall we remove this container-format check? Or add more container-formats to the config?