Posts

Showing posts with the label mp4

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:

FFmpeg] How to Convert WAV (MP4) to MP3 Using FFmpeg

FFmpeg is a powerful tool that can handle various multimedia formats. Converting a WAV file to MP3 is straightforward with FFmpeg. Basic Conversion To convert a WAV file to MP3, use the following command: -i is the input file option, which specifies the file that you want to convert. In this case, input.wav is the name of the WAV file you want to convert.   C:\Users\jason\Downloads> ffmpeg -i input.wav output.mp3 Setting the Bitrate You can specify the bitrate of the output MP3 file using the -b:a option. For example, to convert the file with a bitrate of 192kbps, use: -b:a 192k specifies that the audio bitrate should be set to 192 kilobits per second (kbps). Common bitrates for MP3 files range from 128kbps (standard quality) to 320kbps (high quality).   C:\Users\jason\Downloads> ffmpeg -i input.wav -b:a 192k output.mp3 Extracting MP3 from MP4 The same command can also be used to extract the audio from an MP4 video file and save it as an MP3 file. For exampl...