I used the Android SDK to record some steps for a tutorial video and am having some difficulty working with the footage. First of all, it's of a variable framerate and secondly it's in 1080:1920 - vertical 1080p.
I had hoped to use ffmpeg to transcode to DNxHD but I can't find the right video filter (scale? hflip?) to squeeze it into a resolution that DNxHD supports while retaining the aspect ratio.
I've tried:
ffmpeg -i "recording6.mp4" -vf "scale=-1:1080" -vcodec dnxhd -r 60 -b:v 36M "recording6_DNxHD.mov"
ffmpeg -i "recording6.mp4" -vf "scale=1920:1080" -vcodec dnxhd -r 60 -b:v 36M "recording6_DNxHD.mov"
ffmpeg -i "recording6.mp4" -vf hflip -vcodec dnxhd -r 60 -b:v 36M "recording6_DNxHD.mov"
ffmpeg -i "recording6.mp4" -vf vflip -vcodec dnxhd -r 60 -b:v 36M "recording6_DNxHD.mov"
The first fails because of an unsupported resolution, the second works but changes the aspect ratio, and the third and fourth also fail due to unsupported resolutions.
I realize there are other codecs which are more forgiving than dnxhd in terms of resolution, but I really don't want to lose any detail at this step. So if anyone knows of one which is similarly visually-lossless I'm open to trying it.
Any help you can offer would be much appreciated.