This repository contains two .reg
files for modifying the Windows context menu to add or remove an option for converting .264
video files to .mp4
using FFmpeg.
add-to-context-menu.reg
: Adds a "Convert to MP4" option to the right-click context menu for.264
files.remove-from-context-menu.reg
: Removes the "Convert to MP4" option from the right-click context menu for.264
files.
The conversion process relies on FFmpeg, a powerful command-line tool for handling video and audio files.
- Download FFmpeg from the official website.
- Extract the downloaded archive to a directory (e.g.,
C:\ffmpeg
). - Add the
bin
folder to your system'sPATH
environment variable:- Open
Edit the system environment variables > Advanced > Environment Variables
. - Find the
Path
variable under "System variables" and click Edit. - Add the full path to the
bin
folder (e.g.,C:\ffmpeg\bin
).
- Open
- Verify the installation by opening Command Prompt and typing:
You should see FFmpeg's version information.
ffmpeg -version
Note: By adding FFmpeg to your system's
PATH
, you can runffmpeg.exe
from any directory without specifying its full location.
- Double-click the
add-to-context-menu.reg
file. - Click Yes when prompted to modify the Registry.
- Right-click any
.264
file, and you should see a "Convert to MP4" option. - Selecting this option will convert the
.264
file to.mp4
in the same directory using FFmpeg.
- Double-click the
remove-from-context-menu.reg
file. - Click Yes when prompted to modify the Registry.
- The "Convert to MP4" option will no longer appear in the context menu for
.264
files.
- The
add-to-context-menu.reg
file creates a context menu entry for.264
files. - When you right-click a
.264
file and select "Convert to MP4," it runs the following FFmpeg command:ffmpeg.exe -i "input.264" -c:v copy "input.mp4"
"%1"
: Refers to the full path of the selected.264
file."%~dpn1.mp4"
: Automatically sets the output file name and location, replacing the.264
extension with.mp4
.
- No Context Menu Option Appears: Ensure the
.reg
file was successfully imported. - Conversion Doesn't Work: Check if FFmpeg is installed correctly and accessible from the command line (
ffmpeg -version
).
Use these .reg
files with caution. Always back up your Registry before applying changes. The author is not responsible for any issues caused by modifying the Registry.
- E-mail: velimir.paleksic@gmail.com.
- VexSystems GitHub: github.com/vexsystems.
- VexSystems Instagram: @vex.systems.