Batch rename proxies

redhotsonic wrote on 3/4/2024, 7:16 AM

Hi, all.

 

I'm using Vegas Pro 21 (legit). I've been making a new video and it's going to be in 4K. Of course, editing using 4K files is near impossible so I re-rendered all of my video footage into 720p proxies so it was easier to edit with. I've now done my editing and it's all ready to render in 720p.

 

However, I want to change these files to use the 4K files, not the 720p proxies.

 

So, I search for the keyword "_proxy" and there they all are. In the past, I just right click on one file, choose replace, and then go and find the 4K file. I had to do that for each one and it takes time to do. But this time, I have over 50 proxy files. There must be an easier way rather than replace each one separately and manually. I've made it that all the 4K files are named exactly the same but it doesn't include "_proxy" (if it means anything, I have a folder "Broll" and inside is all the 4K files, then there's another folder within called "proxies" which contains the 720p variants but with the added "_proxy").

I was hoping to open the .veg file in notepad or something, find and replace/remove all instances of "_proxy" with " " (so remove it basically). And then when I re-open VEGAS, it would then ask "C0157.MP4" is missing, I'd tell it to search for it, and when it finds it, it'll then ask "found others in same location", click yes, and all done.

 

However, veg files can't be opened in notepad or similar. And I can't see any batch renaming tool.

 

So, my question is, is there any way in VEGAS Pro to remove all instances of "_proxy" so then it then uses my 4K MP4 files?

 

And no, I didn't use VEGAS' built-in proxy tool because it's sooooooo slow even creating the proxies.

 

Incase you need it:

Vegas Pro 21.0 Build 208

Ryzen 3950X

3080TI FE

64GB RAM

860 Samsung Pro SSD

 

Many Thanks!

Ben

Comments

Howard-Vigorita wrote on 3/4/2024, 7:37 AM

If the names in the 2 folders are made to match exactly, pointing to the 4k folder in Vegas with Swap instead of Replace will replace them all in one swoop. Looks like the easiest recovery now is to add "_proxy" to the names of all your 4k clips.

3POINT wrote on 3/4/2024, 8:27 AM

Hi, all.

 

I'm using Vegas Pro 21 (legit). I've been making a new video and it's going to be in 4K. Of course, editing using 4K files is near impossible so I re-rendered all of my video footage into 720p proxies so it was easier to edit with. I've now done my editing and it's all ready to render in 720p.

 

However, I want to change these files to use the 4K files, not the 720p proxies.

 

For easier 4k editing use (next) time the Vegas proxy option, which creates automatically proxies of your 4k media and also automatically uses the original 4k footage to render your project. So no need to create own proxies or replacing files for rendering. Creating Vegas proxies isn't that slow, it's faster than the time you spend to write this post...Also a faster computer suitable for editing 4k footage is an option to save time.

redhotsonic wrote on 3/4/2024, 2:54 PM

If the names in the 2 folders are made to match exactly, pointing to the 4k folder in Vegas with Swap instead of Replace will replace them all in one swoop. Looks like the easiest recovery now is to add "_proxy" to the names of all your 4k clips.

I would do this, but then all my 4K files would have to be renamed "proxies" which then makes matters confusing.

 

For easier 4k editing use (next) time the Vegas proxy option, which creates automatically proxies of your 4k media and also automatically uses the original 4k footage to render your project. So no need to create own proxies or replacing files for rendering. Creating Vegas proxies isn't that slow, it's faster than the time you spend to write this post...Also a faster computer suitable for editing 4k footage is an option to save time.

So, I just tried this option again. Huh, they must have sped the proxy thing up since I last upgraded. I remember Vegas 18 taking over 20 minutes to do a minute's worth so I always used handbrake to re-render them which took less than a minute to create. This time, it was about the same speed of the proxy. So I will try this next time.

However there's an issue. While I cannot tell if it's actually worked or not (whereas mine I could because it would say "_proxy"), every time I click off VEGAS, and then click back on it, it then re-builds the same proxy. If I used the VEGAS way to make two proxies, it builds both of them again whenever I click off and back on. Meaning I've got to re-create the proxy every single time I re-click on the window. Why is it doing this?

 

Also, I would have thought a 16-core CPU with a 3080TI GPU and 64GB RAM would be pretty good for editing lol

 

EDIT: I closed VEGAS down and re-opened it and now it's not rebuilding anymore. But going real slow. I then wondered if it was even using the proxy file so I renamed the proxy file it built and vegas didn't complain. I renamed the 4K file and then it did; meaning it wasn't even using the proxy. Unless I'm doing something wrong, it seems unreliable?

 

EDIT2: I found a solution to my problem. I discovered if I open the VEG file in a HEX editor, I could search for the "_proxy" filename. So I found all instasnces of "5F 00 70 00 72 00 6F 00 78 00 79 00 2E 00 4D 00 50 00 34" and replaced them all with "2E 00 4D 00 50 00 34 00 00 00 00 00 00 00 00 00 00 00 00" (changes all "_proxy.mp4" to ".mp4 ".

 

I then re-opened the project file, and it complained it couldn't find the 4K file (because it's in the previous folder). I told it where to find one, then it found the rest automatically. All my proxies are now using my 4K files.

 

Thanks for the help. I much rather use the VEGAS way but I can't tell if it's really using the proxy or not so I may stick to the way I do it for now. Thanks for the advice, all.

3POINT wrote on 3/4/2024, 3:06 PM

 

However there's an issue. While I cannot tell if it's actually worked or not (whereas mine I could because it would say "_proxy"), every time I click off VEGAS, and then click back on it, it then re-builds the same proxy. If I used the VEGAS way to make two proxies, it builds both of them again whenever I click off and back on. Meaning I've got to re-create the proxy every single time I re-click on the window. Why is it doing this?

I cannot replicate the issue you described.

Howard-Vigorita wrote on 3/7/2024, 7:13 PM

@redhotsonic The built in proxy facility has the advantage that it automatically bypasses for all renders. It also automatically bypasses if preview is set to Good or Best. Or if you rename or delete the the proxy file. Default proxies don't seem to work as well for me with some material, like 60p, and don't play as efficiently as manually made proxies.

3POINT wrote on 3/8/2024, 1:55 AM

Default proxies don't seem to work as well for me with some material, like 60p, and don't play as efficiently as manually made proxies.

Vegas proxies are XDCAM 720p24 files played at projectframerate, so 60p shouldn't be an issue.