I would like to crop and rotate a video, and then encode it to mp4 or mkv.
mencoder video.mp4 -vf rotate=1,crop=720:1280:0:0 -oac pcm -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:fast_pskip=0:threads=auto -lavfopts format=matroska -o test.mkv
But when I do the above encoding, the frame rate is way too fast. The encoding options were something I found, so I don't know if that is the problem.
All I want is to crop and rotate the video, and keep the audio/video quality as good as possible.
Have anyone tried this?