As I cannot make the proxy-function work with my actioncams own proxy files LRV for GOPRO and LRF for DJI, I want a quick function that toggles them both ways by the click of a button.
LRV and LRF are already supported. These files must be in the same directory as the MP4 file. Switching on and off proxy already exists.
I see you have a history of complaining about the support for LRV as proxy. I do not know what else to tell you that I have not already said except it seems you try too hard to make it work instead of just doing the simple and easy thing. Here is my folder view. I did not rename any files, simply copied them from the card reader:
I start Shotcut and press F4 to turn on Proxy
I drag an MP4 from the folder to Shotcut’s Timeline:
Both Timeline and Properties show “(PROXY)”
If I decide not to proxy this clip I choose Properties > Proxy > Disable Proxy. Now, it is switched off only for that clip
I have a Hero 4, the naming is different. That being said, I like to rename my files to
Not necessarily the best roadtrip.mp4
and
Not necessarily the best roadtrip.lrv
or
Not necessarily the best roadtrip.lrf
So the same filename but a different lowercase extension, like probably most people do.
If anything, the proxy function needs to be more flexible and allow regex for instance to match proxy and main file, when not being taken straight from the camera or when naming conventions are different for an exotic actioncam.
The best would be a list that you can edit to add your cameras and naming conventions with regex, so after everything is entered, you can just drag your mp4 into the editor and before proxies are created, it goes through all naming conventions.
Also, if that fails, an optional “do you want to create proxies?” would be handy if the regex was faulty or your files were not recognized for other reasons to prevent automatic creation. This should be enabled/disabled in Properties > Proxy.
You can rename your files but you need to keep the original prefix, so for example:
GH010119.MP4
+
GL010119.LRV
→
GH010119 - start pizza timelapse.mp4
+
GL010119 - start pizza timelapse.lrv
This works for me. I press F4 and it switches to proxy. I press F4 again and switches to original file.
I’d say it’s a valid suggestion to check <filename>.lrf
or <filename>.lrv
as proxies for <filename>.mp4
but sadly gopro stupidly decided to use a different name for the proxy… in fact the entire gopro’s filename structure is mind-blowingly stupid.