Run ffmpeg from Windows Explorer Right Click?

Questions involving a Windows version of FFmpeg.
Post Reply
Nozomi
Posts: 2
Joined: Wed Oct 30, 2019 2:36 am

Run ffmpeg from Windows Explorer Right Click?

Post by Nozomi » Thu Oct 31, 2019 6:19 am

Greetings all from Australia.
A new member here.

I want to use ffmpeg to clean up PVR files from my TV, which aparently have frame errors.
They are in the format: NAME.TSV (mpeg-ts)

The command for ffmpeg is:
ffmpeg -i "NAME.TSV" -c copy "NAME.TSV_"
- which produces a smaller for some reason) !

I want to run this command when I right-click on a video file in Windows Explorer but I don't know the correct syntax for Regedit.
Something like:
D:\\Videos\\_APPS\\ffmpeg-421\\bin\\ffmpeg.exe -i "%1" -c copy "%1_"

This does not work :-(
Can someone who is savvy with Windows Regedit please help?

Thanks,
Mike.

NewPlaza
Posts: 4
Joined: Tue Nov 19, 2019 9:13 am

Re: Run ffmpeg from Windows Explorer Right Click?

Post by NewPlaza » Thu Nov 21, 2019 4:26 am

Copy the following code to notepad and save.

Code: Select all

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tsv\shell\Convert with ffmpeg\command]
@="\"D:\\Videos\\_APPS\\ffmpeg-421\\bin\\ffmpeg.exe\" -i \"%1\" -c copy \"%1.mp4\""

Save as type: All Files (*.*)
File name: tsv.reg

Post Reply
'