translated

This commit is contained in:
geekpi 2023-08-23 08:53:54 +08:00
parent 6ec4bd9bd4
commit f031a2b33c
2 changed files with 149 additions and 149 deletions

View File

@ -1,149 +0,0 @@
[#]: subject: "How to Rotate a Video With VLC Media Player"
[#]: via: "https://itsfoss.com/rotate-video-vlc/"
[#]: author: "Sreenath https://itsfoss.com/author/sreenath/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to Rotate a Video With VLC Media Player
======
Sometimes, you come across videos displayed in the wrong orientation. Most probably, the videos taken using smartphone cameras may appear this way.
It's better viewed if you can rotate it to a convenient orientation.
The versatile VLC media player provides a method for rotating the videos. You can:
* Rotate videos temporarily (you'll have to rotate again when you play it the next time)
* Rotate videos permanently (videos will always be played in the new orientation)
Let's see how to achieve either of the two.
### Rotate the Video Temporarily in VLC
Let us see about rotating videos temporarily inside VLC. That is, after you have completed the process, it won't reflect on the actual file. This will be good for just viewing a file or testing it.
#### Rotate videos using preset values
In this method, you can rotate the video at 90, 180 and 270 degrees. This is what you would need most of the time.
Open VLC and select the video you want to rotate.
![Open File in VLC][1]
Click on **Tools** on the Main menu and go to **Effects and Filters**. You can also press the shortcut CTRL + E.
![Tools > Effects and Filters][2]
On the Effects and Filters page, select the **Video Effects** tab and inside that, go to **Geometry**. Now, check the transform checkbox.
![Set the Rotation][3]
A drop-down menu will be activated. From there, select the appropriate rotation you need, like 90 degrees, 180 degrees, horizontal flip, etc. It is possible to view the changes on VLC window.
Once satisfied with the changes, press **the Save** button to save the configuration with the selected orientation.
#### Rotate videos using custom values
Need to rotate the video to an orientation other than the available preset? VLC has an option for that too.
First, like in the previous step, open the media and then go to **Tools > Effects and Filters > Video Effects > Geometry**.
Now, click on the **rotate** checkbox, and you can see that an interactive circle slider has now been activated.
🚧
On irregular rotation values like 230 degree etc., some part will be removed anyway from the video.
![Irregular rotation][4]
Move the slider so that you get the correct rotation. You can see the changes appearing to the video on VLC window. Press the **Save** button to save that configuration once you are OK with your changes.
🚧
Remember, this configuration won't be applied to the video permanently at this stage. But, if you press save, the orientation will be applied temporarily to other videos played in VLC also.
### Permanently rotate a video
You know how to rotate a file temporarily. That step is also required to permanently save the video file changes.
#### Step 1: Transform the Video
This is the previous part. Open a video file and then make the rotation that you wanted. Once you confirm the rotation needed for a particular video, save that configuration as explained in the previous step.
#### Step 2: Save the Video
Now, open VLC and click on **Media > Convert/Save**. This can be without any video file opened, because we are not working on the currently opened video anyway.
![Click on Convert/Save][5]
On the next dialog box, select the file you want to rotate (the one you tested to confirm the required rotation in the previous step) using the **Add** button. Then press **Convert and Save**.
![Add Files to convert][6]
Next, select the video output you want and then click on the adjacent settings button as shown below.
![Click on Configuration button][7]
A profile settings window appears. On it, go to **Video Codec** and then **Filters** tab. Here, you have to apply filters as needed. One is **Rotate Video Filter** and another **Video transformation Filter**.
If you have applied fixed transformation to a video using the transform button, select the **Video transformation Filter**. On the other hand, if you have done some irregular rotation to the video, select **Rotate Video Filter**.
![Apply the Filters][8]
Once checked, press the **Save** button.
Now, select an output file location, where we want to save the converted file.
![Select Output file location][9]
A new file name should be given, which can be done by going into a directory of your choice and simply enter the name of your choice on the top bar.
💡
It is advised to give a new unique name to avoid overwriting of file and data loss.
![Give file name][10]
Press **Start** to start the conversion.
The conversion will take some time depending on your video. Once finished, you will get the rotated video to view on any video player.
🚧
Once you converted the video (be it permanent or temporary), it is good to turn off the applied rotation in ****Tools > Effects and Filters > Video Effects > Geometry****. Otherwise, the future videos played using VLC will appear rotated.
I hope you liked this VLC tip. Your suggestions and feedback are welcome.
Meanwhile, you can also learn this cool VLC tip and download subtitles automatically.
![][11]
--------------------------------------------------------------------------------
via: https://itsfoss.com/rotate-video-vlc/
作者:[Sreenath][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/sreenath/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/content/images/2023/08/open-a-file-in-vlc.png
[2]: https://itsfoss.com/content/images/2023/08/effects-and-filters-in-main-menu.png
[3]: https://itsfoss.com/content/images/2023/08/rotate-video-in-transform.png
[4]: https://itsfoss.com/content/images/2023/08/rotate.png
[5]: https://itsfoss.com/content/images/2023/08/click-on-convert-and-save.png
[6]: https://itsfoss.com/content/images/2023/08/Add-files-to-convert.png
[7]: https://itsfoss.com/content/images/2023/08/click-on-config-button.png
[8]: https://itsfoss.com/content/images/2023/08/apply-filters.png
[9]: https://itsfoss.com/content/images/2023/08/give-an-output-file-name.png
[10]: https://itsfoss.com/content/images/2023/08/select-filename.png
[11]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png

View File

@ -0,0 +1,149 @@
[#]: subject: "How to Rotate a Video With VLC Media Player"
[#]: via: "https://itsfoss.com/rotate-video-vlc/"
[#]: author: "Sreenath https://itsfoss.com/author/sreenath/"
[#]: collector: "lujun9972"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
如何使用 VLC 媒体播放器旋转视频
======
有时,你会遇到以错误方向显示的视频。使用智能手机摄像头拍摄的视频很可能会以这种方式出现。
如果你可以将其旋转到方便的方向,那么效果会更好。
功能丰富的 VLC 媒体播放器提供了一种旋转视频的方法。你可以:
* 暂时旋转视频(下次播放时需要再次旋转)
* 永久旋转视频(视频将始终以新方向播放)
让我们看看如何实现这两者之一。
### 在 VLC 中暂时旋转视频
让我们看看如何在 VLC 中临时旋转视频。也就是说,完成该过程后,它不会反映在实际文件上。这对于查看文件或测试文件很有用。
#### 使用预设值旋转视频
在此方法中,你可以将视频旋转 90 度、180 度和 270 度。这是你大多数时候所需要的。
打开 VLC 并选择要旋转的视频。
![Open File in VLC][1]
单击主菜单上的**工具**,然后转到**效果和滤镜**。你也可以按快捷键 CTRL + E。
![Tools > Effects and Filters][2]
在“效果和滤镜”页面上,选择“**视频效果**”选项卡,然后进入“**几何**”。现在,选中变换复选框。
![Set the Rotation][3]
这将激活一个下拉菜单。从那里,选择你需要的适当旋转,如 90 度、180 度、水平翻转等。你可以在 VLC 窗口中查看变化。
n.
对更改感到满意后,按**保存**按钮以所选方向保存配置。
#### 使用自定义值旋转视频
需要将视频旋转到可用预设以外的方向? VLC 也有一个选项。
首先,像上一步一样,打开媒体,然后转到**工具>效果和滤镜>视频效果>几何**。
现在,单击“旋转”复选框,你可以看到交互式圆形滑块现已激活。
🚧
对于不规则的旋转值(例如 230 度等),某些部分都会从视频中删除。
![Irregular rotation][4]
移动滑块以获得正确的旋转。你可以在 VLC 窗口中看到视频出现的变化。确定更改后,请按 **保存** 按钮保存该配置。
🚧
请记住,此配置在此阶段不会永久应用于视频。但是,如果你按“保存”,方向也会暂时应用于 VLC 中播放的其他视频。
### 永久旋转视频
你知道了如何临时旋转文件。永久保存视频文件更改也需要该步骤。
#### 第 1 步:转换视频
这是前一部分。打开视频文件,然后进行所需的旋转。确认特定视频所需的旋转后,按照上一步中的说明保存该配置。
#### 第 2 步:保存视频
现在,打开 VLC 并单击**媒体 > 转换/保存**。这可以在没有打开任何视频文件的情况下进行,因为无论如何我们都不会处理当前打开的视频。
![Click on Convert/Save][5]
在下一个对话框中,使用**添加**按钮选择要旋转的文件(在上一步中测试以确认所需旋转的文件)。然后按**转换并保存**。
![Add Files to convert][6]
接下来,选择所需的视频输出,然后单击相邻的设置按钮,如下所示。
![Click on Configuration button][7]
出现了配置文件设置窗口。在其上,进入“**视频编解码器**”,然后转到“**过滤器**”选项卡。在这里,你必须根据需要应用过滤器。一个是**旋转视频过滤器**,另一个是**视频转换过滤器**。
如果你已使用变换按钮对视频应用固定变换,请选择**视频变换过滤器**。另一方面,如果你对视频进行了一些不规则的旋转,请选择“旋转视频过滤器”。
![Apply the Filters][8]
检查后,按**保存**按钮。
现在,选择输出文件位置,我们要在其中保存转换后的文件。
![Select Output file location][9]
应给出一个新的文件名,这可以通过进入你选择的目录并只需在顶部栏上输入你选择的名称来完成。
💡
建议提供一个新的唯一名称,以避免文件覆盖和数据丢失。
![Give file name][10]
按**开始**开始转换。
转换将需要一些时间,具体取决于你的视频。完成后,你将获得旋转的视频,可以在任何视频播放器上查看。
🚧
转换视频后(无论是永久的还是临时的),最好在**工具 > 效果和滤镜 > 视频效果 > 几何**中关闭应用的旋转。否则,以后使用 VLC 播放的视频将出现旋转。
我希望你喜欢这个 VLC 技巧。欢迎你提出建议和反馈。
同时,你还可以学习这个很酷的 VLC 技巧并自动下载字幕。
![][11]
--------------------------------------------------------------------------------
via: https://itsfoss.com/rotate-video-vlc/
作者:[Sreenath][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/sreenath/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/content/images/2023/08/open-a-file-in-vlc.png
[2]: https://itsfoss.com/content/images/2023/08/effects-and-filters-in-main-menu.png
[3]: https://itsfoss.com/content/images/2023/08/rotate-video-in-transform.png
[4]: https://itsfoss.com/content/images/2023/08/rotate.png
[5]: https://itsfoss.com/content/images/2023/08/click-on-convert-and-save.png
[6]: https://itsfoss.com/content/images/2023/08/Add-files-to-convert.png
[7]: https://itsfoss.com/content/images/2023/08/click-on-config-button.png
[8]: https://itsfoss.com/content/images/2023/08/apply-filters.png
[9]: https://itsfoss.com/content/images/2023/08/give-an-output-file-name.png
[10]: https://itsfoss.com/content/images/2023/08/select-filename.png
[11]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png