Posts

Showing posts with the label mkv

Changing the Default Terminal to Terminator on Ubuntu

Image
Terminator is a powerful tool for developers, allowing you to manage multiple terminal sessions in a single window. Features like splitting panes, tabs, and simultaneous input can significantly boost your productivity. Step 1: Install Terminator First, install Terminator using the apt package manager. sudo apt update sudo apt install terminator -y The -y option automatically answers 'yes' to any prompts during the installation process, streamlining the setup. Step 2: Set as the System Default Ubuntu uses a utility called update-alternatives to manage default applications. We'll use this tool to change the default terminal emulator ( x-terminal-emulator ) to Terminator. Run the Configuration Command Enter the following command in your terminal. A list of available terminals will appear. sudo update-alternatives --config x-terminal-emulator Select Terminator From the resulting list, enter the selection number corresponding to terminator and press Enter. ...

FFmpeg] How to Convert MKV (MP4, AVI) to MP3 Using FFmpeg on Windows 11

Image
I've installed FFmpeg on your Windows 11 laptop and added the FFmpeg directory to my system PATH so I can execute the ffmpeg command from any directory. 1. Create "convert_mkv_to_mp3.bat" in the directory where FFmpeg is installed. @echo off for %%f in (*.mkv *.mp4 *.avi) do (      ffmpeg -i "%%f" -vn -ab 192k "%%~nf.mp3" ) pause for %%f in (*.mkv *.mp4 *.avi) do ( This for loop iterates over all files in the current directory with the specified extensions: .mkv, .mp4, and .avi. %%f: each video file found during the iteration. ffmpeg -i "%%f" -vn -ab 192k "%%~nf.mp3" -i: "%%f" specifies the input video file. -vn: ignore the video stream, extracting only the audio. -ab 192k: sets the audio bitrate to 192 kbps. %%~nf.mp3: output MP3 file and %%~nf extracts the filename. 2. Run the convert_mkv_to_mp3.bat Navigate to the directory containing video files. Open a Command Prompt window in that directory and run: