Those who often download various videos to a computer and phone have probably come across the fact that some videos have an inverted image. It's not very convenient to watch it. Yes, of course, you can rotate the screen of a phone or laptop, but this is also not always a solution (how to rotate a laptop screen: https://pcpro100.info/kak-perevernut-ekran-na-monitore/).
In this instructional article I will show you how you can quickly and easily rotate the image of any video file by 90, 180, 360 degrees. To work, you need a couple of programs: VirtualDub and a codec pack. So, let's begin…
VirtualDub is one of the best programs for processing video files (for example, for transcoding videos, changing resolutions, trimming edges, and much more). You can download it from the official website: http://www.virtualdub.org (all necessary filters are already included).
Codecs: I recommend that you read the article —https: //pcpro100.info/luchshie-kodeki-dlya-video-i-audio-na-windows-7-8/. By the way, if VirtualDub gives an error when opening a video (for example, 'Not installed DirectShow codec …'), remove your codecs from the system and install the K-Lite Codec Pack (when downloading, choose the most complete set of MEGA or FULL) in Lost of stuff mode . As a result, you will have all the most necessary codecs for working with video in your system.
How to rotate a video in VirtualDub 90 degrees
Take, for example, the most common video, of which there are hundreds on the network. The picture on it is upside down, which is not always convenient.
Typical upside-down video …
First, launch VirtualDub and open the video in it. If there are no errors (if there are – the reason is most likely in the codecs, see above in the article), set the settings in section Audi o:
– Direct Stream Copy (direct copying of the audio track without modification).
Next, go to the Video tab:
- set the Full Processing Mode value (full video processing);
- then open the Filters tab (Ctrl + F – keyboard shortcuts).
Press the ADD Filter button and a huge list of filters will open in front of you: each of the filters is designed to change the image in some way (crop edges, change the resolution, etc.). Among all this list, you need to find a filter called Rotate and add it.
VirtualDub should open a window with the settings for this filter: here you just choose how many degrees you want to rotate the video picture. In my case, I turned it 90 degrees to the right.
Then just click OK and watch how the picture changes in VirtualDub (the program window is divided into two parts: the first one shows the original video picture, the second: what will happen to it after all the changes made).
If everything is done correctly, the picture in the second VirtualDub window should rotate. Then there was the last step: choose which codec to compress the video with. To select a codec, open the Video / Compression tab (you can press the Ctrl + P key combination).
In general, the topic of codecs is quite extensive. The most popular codecs today are Xvid and Divx. For video compression, I recommend sticking with one of them.
I had the Xvid codec on my computer and I decided to compress the video. To do this, select this codec from the list and go to its settings (Configure button).
Well, in fact, in the codec settings, we set the video bitrate.
Bitrate (from the English bitrate) – the number of bits used to store one second of multimedia content. It is customary to use the bit rate when measuring the effective transmission rate of a data stream over a channel, that is, the minimum size of a channel that can pass this stream without delays. The bit rate is expressed in bits per second (bit / s, bps), as well as derived values with the prefixes kilo (kbps, kbps), mega (Mbps, Mbps), etc.
It remains only to save the video: for this you need to press the F7 key (or select File / Save as AVI … from the menu). After that, encoding of the video file should start. The encoding time depends on many factors: the power of your PC, the length of the video, what filters you applied and what settings you specified, etc.
The result of the inverted video image can be seen below.
Yes, of course, there are simpler programs to simply rotate a video. But, personally, I think it is better to understand VirtualDub once and perform most of the video processing tasks in it than to download and install a separate program for each task (by the way, you have to deal with each separately and spend time on it).
That's all, good luck everyone!