user14482: 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.

user1871: Assuming your editor can rotate videos, use
ffmpeg -i "recording6.mp4" -vf "transpose=1" -vcodec dnxhd -r 60 -b:v 36M "recording6.mov"

This will rotate the video, so the 1080x1920 video becomes 1920x1080.

14482: <p>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.</p>

<p>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.</p>

<p>I've tried:</p>

<pre><code>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"
</code></pre>

<p>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.</p>

<p>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.</p>

<p>Any help you can offer would be much appreciated.</p>
 1871: <p>Assuming your editor can rotate videos, use</p>

<pre><code>ffmpeg -i "recording6.mp4" -vf "transpose=1" -vcodec dnxhd -r 60 -b:v 36M "recording6.mov"
</code></pre>

<p>This will rotate the video, so the 1080x1920 video becomes 1920x1080.</p>
