Run ffmpeg from Windows Explorer Right Click?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Run ffmpeg from Windows Explorer Right Click?

Mike M
Greetings all from Australia.
A new member here.

I want to use ffmpeg to clean up PVR files which have frame errors.
The are in the format: *NAME.TSV* (mpeg-ts)

The command for ffmpeg is:
*ffmpeg -i "NAME.TSV" -c copy "NAME.TSV_"*

Now, 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 doesn't work.
Can someone please help?

Thanks,
Mike.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Run ffmpeg from Windows Explorer Right Click?

kumowoon1025
> ... Regedit.
I really have no idea on how registries work, but aren’t they keys and values? What's
> Something like:
> *D:\\Videos\\_APPS\\ffmpeg-421\\bin\\ffmpeg.exe -i "%1" -c copy "%1_"*
the value for? Also is delimiting the value in asterisks, of all things, the syntax? I really don’t know, just find it bizarre.
I do recall forward slashes needing to be escaped if they represent a directory boundary, but also that underscores had some sort of significance and spaces needed to be quoted or maybe they could be escaped also? Oh and this might be for editing through something other than Regedit, powershell probably, so I could be completely wrong about all of this, just thought I’d mention some things I found odd.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Run ffmpeg from Windows Explorer Right Click?

Mark Filipak
In reply to this post by Mike M
On 10/29/2019 09:15 PM, Mike M wrote:

> Greetings all from Australia.
> A new member here.
>
> I want to use ffmpeg to clean up PVR files which have frame errors.
> The are in the format: *NAME.TSV* (mpeg-ts)
>
> The command for ffmpeg is:
> *ffmpeg -i "NAME.TSV" -c copy "NAME.TSV_"*
>
> Now, 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 doesn't work.
> Can someone please help?
>
> Thanks,
> Mike.

What I do, Mike, is simpler. I add the ffmpeg command to the 'Send to'
context menu. To do that, all you need is to put the line
D:\Videos\_APPS\\fmpeg-421\bin\ffmpeg.exe -i "%1" -c copy "%1_"
into a batch file, and put the batch file in
'C:\Users\...\AppData\Roaming\Microsoft\Windows\SendTo', where '...' is
your user account.

No regedit needed.

Hope this helps.
- Mark.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Run ffmpeg from Windows Explorer Right Click?

Mark Filipak
In reply to this post by Mike M
Oops. Sent too soon. Had an extra '\'.

What I do, Mike, is simpler. I add the ffmpeg command to the 'Send to'
context menu. To do that, all you need is to put the line
D:\Videos\_APPS\fmpeg-421\bin\ffmpeg.exe -i "%1" -c copy "%1_"
into a batch file, and put the batch file in
'C:\Users\...\AppData\Roaming\Microsoft\Windows\SendTo', where '...' is
your user account.

No regedit needed.

Hope this helps.
- Mark.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Run ffmpeg from Windows Explorer Right Click?

Kieran O Leary
In reply to this post by Mark Filipak
On Wed, 30 Oct 2019, 03:40 Mark Filipak, <
[hidden email]> wrote:

> On 10/29/2019 09:15 PM, Mike M wrote:
> > Greetings all from Australia.
> > A new member here.
> >
> > I want to use ffmpeg to clean up PVR files which have frame errors.
> > The are in the format: *NAME.TSV* (mpeg-ts)
> >
> > The command for ffmpeg is:
> > *ffmpeg -i "NAME.TSV" -c copy "NAME.TSV_"*
> >
> > Now, 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 doesn't work.
> > Can someone please help?
> >
> > Thanks,
> > Mike.
>
> What I do, Mike, is simpler. I add the ffmpeg command to the 'Send to'
> context menu. To do that, all you need is to put the line
> D:\Videos\_APPS\\fmpeg-421\bin\ffmpeg.exe -i "%1" -c copy "%1_"
> into a batch file, and put the batch file in
> 'C:\Users\...\AppData\Roaming\Microsoft\Windows\SendTo', where '...' is
> your user account.
>

This is what I used to do as well, it's pretty handy. Probably more
flexible and simpler than editing the registry.

Best,

Kieran.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".