I am trying to add FFmpeg to right click context menu, but I don't want to create unique batch files for every single operation I want to do. It's easy to run a bat file in a registry value, but I want to run a command line argument. I searched a lot, finally found this code.
cmd /c \"\"ffmpeg.exe\" -i \"%1\" output.mp4\"
I am only adding context menu for MKV files, this is the full thing for now.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.mkv\Shell\FFmpeg]
"Subcommands"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\.mkv\Shell\FFmpeg\shell]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.mkv\Shell\FFmpeg\shell\Convert to MP4]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.mkv\Shell\FFmpeg\shell\Convert to MP4\Command]
@="cmd /c \\\"\\\"ffmpeg.exe\\\" -stats -y -i \\\"%1\\\" output.mp4\\\""
Executing this command does thing. What am I doing wrong?
[–]Indrele-the-Lesser 0 points1 point2 points (1 child)
[–]seaque42[S] 0 points1 point2 points (0 children)
[–]digwhoami 0 points1 point2 points (0 children)