From 5df00aa12a9dfff1224a82229a0895d945099d31 Mon Sep 17 00:00:00 2001 From: geekpi Date: Tue, 8 Nov 2022 08:53:34 +0800 Subject: [PATCH] translating --- ...m a Video in VLC Player [If You Really Want to].md | 132 ------------------ ...m a Video in VLC Player [If You Really Want to].md | 132 ++++++++++++++++++ 2 files changed, 132 insertions(+), 132 deletions(-) delete mode 100644 sources/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md create mode 100644 translated/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md diff --git a/sources/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md b/sources/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md deleted file mode 100644 index 16e58bc5ff..0000000000 --- a/sources/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md +++ /dev/null @@ -1,132 +0,0 @@ -[#]: subject: "How to Trim a Video in VLC Player [If You Really Want to]" -[#]: via: "https://itsfoss.com/vlc-trim-video/" -[#]: author: "Sreenath https://itsfoss.com/author/sreenath/" -[#]: collector: "lkxed" -[#]: translator: "geekpi" -[#]: reviewer: " " -[#]: publisher: " " -[#]: url: " " - -How to Trim a Video in VLC Player [If You Really Want to] -====== - -VLC media player is one of the [best media players][1] out there. This cross-platform player is feature rich and it can literally play any media format that’s available. - -You’ll be surprised to know that VLC is much more than just a video player. It can do a lot of things with your media files. - -[Downloading YouTube video with VLC][2] is one of the [VLC tips][3] we have shared on It’s FOSS. - -Let me share another one with you. How about trimming a video with VLC? It’s not the best way to [trim videos][4] but it is available as an option. - -### Trim videos using VLC - -Trimming a video in VLC essentially means recording the video from the beginning to end of the required portion. The recording control tools are usually not visible in the VLC panel by default. - -Let me show the steps in detail. - -#### Step 1: Enable advanced controls - -To get the controls, you need to make it visible on the main control panel. - -First select the view option and then check the Advanced controls check box. Now, a new row of controls with a couple of buttons appears as shown in the screenshot. - -![enable advanced controls view in vlc player][5] - -#### Step 2: Open the video - -In order to trim a video, you need to open it in VLC. You can either open the video in VLC player by Media > Open File: - -![open media file through vlc file menu][6] - -Or you can open the video file with VLC from Nautilus file manager: - -![open media file with vlc player from nautilus file manager][7] - -#### Step 3: Trim video using VLC’s recording feature - -Once video file is opened, set the timeline to the starting point of the required output and pause the video. After that, press the record button and play the video. - -![pause at start point and start record by pressing record button][8] - -When the end point of the required output is reached, pause the video and press the record button again to stop recording. - -![pause at end point and press record][9] - -This should save the trimmed output to your ~/Videos directory. - -![original and trimmed file in nautilus file manager][10] - -### Troubleshooting: Unrecognized Output File - -VLC records the videos in .ts file format. This is supported in VLC, and you can use that as you want. But many other players in Ubuntu, including the native video player doesn’t recognize the format. So, in this case, there are two solutions. - -#### Gnome-Video prompts Installation of GStreamer package - -When you try to open the file, GNOME-Videos will prompt an error and suggestion to install Gstreamer multimedia codecs. - -![converted video shows a play error in gnome video player app][11] - -You can click on the “Find in Ubuntu Software” button as shown above, which will open ubuntu software center. There you can install the required codec package. - -![install gstreamer from software as prompted by the gnome video player][12] - -Install the same and open the video with Gnome-videos again will solve the problem. - -#### Convert the Video file using VLC - -If you don’t want to install any additional packages for the purpose, you can use VLC itself to convert the .ts file to mp4 format to play in any other player. - -For this, open VLC and select Convert option under File menu. - -![select convert from media menu][13] - -Now, provide the location of the file that needs to be converted using the “Add” button and select Convert/Save as shown in the screenshot. - -![select file to convert in the media convert dialog box][14] - -Select the required output profile (MP4) and set a file name for the output and press Start. - -![set conversion profiles and output file name in vlc media convert menu][15] - -This will start the conversion and will be completed as per the duration of the source. Once done, you can access the converted output from your ~/Videos directory. - -![original trimmed and converted file in nautilus file manager][16] - -### Wrapping Up - -While it is true that VLC player can be used to trim videos, the entire process is in no way similar to a dedicated [video editor][17]. - -The biggest issue is that you need to watch the entire trim portion to compete the trimming, which is not convenient if you are trimming a large portion of a video spanning several minutes. - -Anyway, this cool feature can be a handy tool on some occasion, where all you want is to trim a particular small clip or make a gif from a movie scene. - --------------------------------------------------------------------------------- - -via: https://itsfoss.com/vlc-trim-video/ - -作者:[Sreenath][a] -选题:[lkxed][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/lkxed -[1]: https://itsfoss.com/video-players-linux/ -[2]: https://itsfoss.com/download-youtube-videos-vlc/ -[3]: https://itsfoss.com/simple-vlc-tips/ -[4]: https://itsfoss.com/video-trimmer/ -[5]: https://itsfoss.com/wp-content/uploads/2022/11/enable-advanced-controls-view-in-vlc-player.png -[6]: https://itsfoss.com/wp-content/uploads/2022/11/open-media-file-through-vlc-file-menu.png -[7]: https://itsfoss.com/wp-content/uploads/2022/11/open-media-file-with-vlc-player-from-nautilus-file-manager.png -[8]: https://itsfoss.com/wp-content/uploads/2022/11/pause-at-start-point-and-start-record-by-pressing-record-button.png -[9]: https://itsfoss.com/wp-content/uploads/2022/11/pause-at-end-point-and-press-record.png -[10]: https://itsfoss.com/wp-content/uploads/2022/11/original-and-trimmed-file-in-nautilus-file-manager.png -[11]: https://itsfoss.com/wp-content/uploads/2022/11/converted-video-shows-a-play-error-in-gnome-video-player-app.png -[12]: https://itsfoss.com/wp-content/uploads/2022/11/install-gstreamer-from-software-as-prompted-by-the-gnome-video-player.png -[13]: https://itsfoss.com/wp-content/uploads/2022/11/select-convert-from-media-menu.png -[14]: https://itsfoss.com/wp-content/uploads/2022/11/select-file-to-convert-in-the-media-convert-dialog-box.png -[15]: https://itsfoss.com/wp-content/uploads/2022/11/set-conversion-profiles-and-output-file-name-in-vlc-media-convert-menu.png -[16]: https://itsfoss.com/wp-content/uploads/2022/11/original-trimmed-and-converted-file-in-nautilus-file-manager.png -[17]: https://itsfoss.com/open-source-video-editors/ diff --git a/translated/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md b/translated/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md new file mode 100644 index 0000000000..a2fb07ea02 --- /dev/null +++ b/translated/tech/20221103.2 ⭐️⭐️ How to Trim a Video in VLC Player [If You Really Want to].md @@ -0,0 +1,132 @@ +[#]: subject: "How to Trim a Video in VLC Player [If You Really Want to]" +[#]: via: "https://itsfoss.com/vlc-trim-video/" +[#]: author: "Sreenath https://itsfoss.com/author/sreenath/" +[#]: collector: "lkxed" +[#]: translator: "geekpi" +[#]: reviewer: " " +[#]: publisher: " " +[#]: url: " " + +如何在 VLC 播放器中裁剪视频(如果你真的想要) +====== + +VLC 媒体播放器是[最好的媒体播放器][1]之一。这款跨平台播放器功能丰富,可以播放任何可用的媒体格式。 + +你会惊讶地发现 VLC 不仅仅是一个视频播放器。它可以对你的媒体文件做很多事情。 + +[使用 VLC 下载 YouTube 视频][2]是我们在 It's FOSS 上分享的 [VLC 技巧][3]之一。 + +让我再和你分享一个。用 VLC 裁剪视频怎么样?这不是[裁剪视频][4]的最佳方式,但它可以作为一个选择使用。 + +### 使用 VLC 裁剪视频 + +在 VLC 中裁剪视频本质上意味着从所需部分的开头到结尾录制视频。默认情况下,录制控制工具通常在 VLC 面板中不可见。 + +让我详细介绍一下步骤。 + +#### 步骤 1:启用高级控件 + +要获取控件,你需要使其在主控制面板上可见。 + +首先选择视图选项,然后选中高级控件复选框。现在,如截图所示,出现了带有几个按钮的新控件行。 + +![在 vlc 播放器中启用高级控件视图][5] + +#### 步骤 2:打开视频 + +为了裁剪视频,你需要在 VLC 中打开它。你可以通过“媒体 > 打开文件”在 VLC 播放器中打开视频: + +![通过 vlc 文件菜单打开媒体文件][6] + +或者你可以使用 Nautilus 文件管理器中的 VLC 打开视频文件: + +![使用 nautilus 文件管理器中的 vlc 播放器打开媒体文件][7] + +#### 步骤 3:使用 VLC 的录制功能裁剪视频 + +打开视频文件后,将时间线设置为所需输出的起点并暂停视频。之后,按录制按钮并播放视频。 + +![在起点暂停,按录制键开始录制][8] + +当达到所需输出的终点时,暂停视频并再次按下录制按钮停止录制。 + +![在终点暂停并按下录制][9] + +这应该将裁剪后的输出保存到你的 \~/Videos 目录中。 + +![nautilus 文件管理器中的原始和裁剪后文件][10] + +### 故障排除:无法识别的输出文件 + +VLC 以 .ts 文件格式录制视频。这在 VLC 中受支持,你可以根据需要使用它。但是 Ubuntu 中的许多其他播放器,包括本地视频播放器,都无法识别该格式。因此,在这种情况下,有两种解决方案。 + +#### Gnome-Video 提示安装 GStreamer 包 + +当你尝试打开文件时,GNOME-Videos 会提示错误并建议安装 Gstreamer 多媒体编解码器。 + +![转换后的视频在 gnome 视频播放器中显示播放错误][11] + +你可以点击上图所示的 “Find in Ubuntu Software” 按钮,这将打开 ubuntu 软件中心。你可以在那里安装所需的编解码器包。 + +![根据 gnome 视频播放器的提示从软件中心安装 gstreamer][12] + +安装过程相同并再次使用 Gnome-videos 打开视频将解决问题。 + +#### 使用 VLC 转换视频文件 + +如果你不想为此安装任何额外的软件包,你可以使用 VLC 本身将 .ts 文件转换为 mp4 格式以在任何其他播放器中播放。 + +为此,打开 VLC 并在文件菜单下选择转换选项。 + +![从媒体菜单中选择转换][13] + +现在,使用“添加”按钮提供需要转换的文件的位置,然后选择转换/保存,如截图所示。 + +![在媒体转换对话框中选择要转换的文件][14] + +选择所需的输出配置 (MP4) 并为输出设置文件名,然后按“开始”。 + +![在 vlc 媒体转换菜单中设置转换配置和输出文件名][15] + +这将开始转换,并根据源的时长决定转换时间。完成后,你可以从 \~/Videos 目录访问转换后的输出。 + +![nautilus 文件管理器中的原始裁剪和转换文件][16] + +### 总结 + +虽然确实可以使用 VLC 播放器来裁剪视频,但整个过程与专门的[视频编辑器][17]完全不同。 + +最大的问题是你需要观看所有裁剪部分才能完成裁剪,如果你要裁剪跨越数分钟的视频的一大部分,这就不方便了。 + +无论如何,这个很酷的功能在某些情况下可能是一个方便的工具,比如你想要的只是裁剪一个特定的小剪辑或从电影场景中制作一个 gif。 + +-------------------------------------------------------------------------------- + +via: https://itsfoss.com/vlc-trim-video/ + +作者:[Sreenath][a] +选题:[lkxed][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/lkxed +[1]: https://itsfoss.com/video-players-linux/ +[2]: https://itsfoss.com/download-youtube-videos-vlc/ +[3]: https://itsfoss.com/simple-vlc-tips/ +[4]: https://itsfoss.com/video-trimmer/ +[5]: https://itsfoss.com/wp-content/uploads/2022/11/enable-advanced-controls-view-in-vlc-player.png +[6]: https://itsfoss.com/wp-content/uploads/2022/11/open-media-file-through-vlc-file-menu.png +[7]: https://itsfoss.com/wp-content/uploads/2022/11/open-media-file-with-vlc-player-from-nautilus-file-manager.png +[8]: https://itsfoss.com/wp-content/uploads/2022/11/pause-at-start-point-and-start-record-by-pressing-record-button.png +[9]: https://itsfoss.com/wp-content/uploads/2022/11/pause-at-end-point-and-press-record.png +[10]: https://itsfoss.com/wp-content/uploads/2022/11/original-and-trimmed-file-in-nautilus-file-manager.png +[11]: https://itsfoss.com/wp-content/uploads/2022/11/converted-video-shows-a-play-error-in-gnome-video-player-app.png +[12]: https://itsfoss.com/wp-content/uploads/2022/11/install-gstreamer-from-software-as-prompted-by-the-gnome-video-player.png +[13]: https://itsfoss.com/wp-content/uploads/2022/11/select-convert-from-media-menu.png +[14]: https://itsfoss.com/wp-content/uploads/2022/11/select-file-to-convert-in-the-media-convert-dialog-box.png +[15]: https://itsfoss.com/wp-content/uploads/2022/11/set-conversion-profiles-and-output-file-name-in-vlc-media-convert-menu.png +[16]: https://itsfoss.com/wp-content/uploads/2022/11/original-trimmed-and-converted-file-in-nautilus-file-manager.png +[17]: https://itsfoss.com/open-source-video-editors/