To answer VIKAS question, to rotate your video use the filter
-vf transpose=1
There is 0, 1, 2, and 3 for different orientations of rotating and flipping. Thanks for this document.