video proxy creating with ffmpeg (I want a proper sfvp0 Vegas file)

Qbrick wrote on 5/10/2025, 4:05 AM
ffmpeg -i input.mp4 -c:v mpeg2video `
-brand mp42 `
-vf "scale=1280:720,select=gte(n\, 2),tpad=start=2,fps=fps=source_fps" `
-profile:v main -level:v 4.0 `
-colorspace:v "bt709" `
-color_primaries:v "bt709" `
-color_trc:v "bt709" `
-color_range:v "tv" `
-qscale:v 5 `
-video_format component -g 2 `
-an `
-f mp4 input.mp4.sfvp0

Hi all,

is this ffmpeg command (via Powershell) correct to produce a proper Vegas proxy file?

I need to use ffmpeg and FFAStrans to batching creation...

ps:

reference

Thanks!

Comments

Qbrick wrote on 5/10/2025, 4:36 AM
ffmpeg -i video.mp4 `
-c:v mpeg2video `
-brand mp42 `
-vf "scale=1280:720,select=gte(n\, 2),tpad=start=2,fps=fps=source_fps" `
-maxrate 35000k `
-bufsize 35000k `
-profile:v main `
-level:v 4.0 `
-colorspace:v "bt709" `
-color_primaries:v "bt709" `
-color_trc:v "bt709" `
-color_range:v "tv" `
-qscale:v 5 `
-video_format component `
-g 2 `
-an `
-f mp4 video.mp4.sfvp0

updated script

johnny-s wrote on 5/10/2025, 9:38 AM

https://www.vegascreativesoftware.info/us/forum/correct-workflow-to-use-video-proxy-generated-by-ffmpeg--142440/

PC 1:

Intel i9-9900K

32 GB Ram

AMD Radeon XFX RX 7900 XT

Intel UHD 630

Win 10

PC 2:

AMD Ryzen 9 7950X3D 16 core CPU

64 GB Ram

Nvidia 4090 GPU

Intel A770 GPU

Win 11

 

Laptop:

Intel 11th. Gen 8 core CPU. i9-11900K

64 GB Ram

Nvidia RTX 3080 GPU

Win 10

Qbrick wrote on 5/10/2025, 11:58 AM

https://www.vegascreativesoftware.info/us/forum/correct-workflow-to-use-video-proxy-generated-by-ffmpeg--142440/

Hi! That was my old post.

I'd like to do a XDCAM 35 file this time, like a proper Vegas file but via ffmpeg

johnny-s wrote on 5/10/2025, 1:31 PM

Ok. Some good info in that link.

PC 1:

Intel i9-9900K

32 GB Ram

AMD Radeon XFX RX 7900 XT

Intel UHD 630

Win 10

PC 2:

AMD Ryzen 9 7950X3D 16 core CPU

64 GB Ram

Nvidia 4090 GPU

Intel A770 GPU

Win 11

 

Laptop:

Intel 11th. Gen 8 core CPU. i9-11900K

64 GB Ram

Nvidia RTX 3080 GPU

Win 10

johnny-s wrote on 5/10/2025, 3:13 PM

@Qbrick @3d87c4

To my mind this appears (see link above from 3d87c4) to be a good solution because if I understand the posters method, by proxy he doesn’t mean a proxy identical to VP's proxies rather a dumbed down easier to use file ? That is, a lower resolution version and say avc instead of a hevc source.

“Here's what I do...more or less:
Place original clips in FOLDER1

Create proxies, preferably with identical file names, in FOLDER2. Use these files when editing.
Close Vegas.Rename FOLDER2 to FOLDER3.
Open Vegas. It won't be able to find the proxies because of the folder name change and prompt you to navigate to the folder containing the videos. Navigate to FOLDER1 and it will use the original clips.
If your proxy files have different names than the original clips you will just have to do the navigation step for each clip.

Render.”

Last changed by johnny-s on 5/10/2025, 3:16 PM, changed a total of 2 times.

PC 1:

Intel i9-9900K

32 GB Ram

AMD Radeon XFX RX 7900 XT

Intel UHD 630

Win 10

PC 2:

AMD Ryzen 9 7950X3D 16 core CPU

64 GB Ram

Nvidia 4090 GPU

Intel A770 GPU

Win 11

 

Laptop:

Intel 11th. Gen 8 core CPU. i9-11900K

64 GB Ram

Nvidia RTX 3080 GPU

Win 10

johnny-s wrote on 5/10/2025, 3:30 PM

It could be easily automated in a batch file.

#1. Drag and drop source folders (Folder1) onto say make-proxy.bat.

#2. Answer Y/N/R prompt to create proxies (Y) and put into Folder2, or rename. Selecting R means editing is done and now rename folder2 to Folder3. Selecting N means exit do nothing.

Anyway, something like that.

Last changed by johnny-s on 5/10/2025, 3:34 PM, changed a total of 1 times.

PC 1:

Intel i9-9900K

32 GB Ram

AMD Radeon XFX RX 7900 XT

Intel UHD 630

Win 10

PC 2:

AMD Ryzen 9 7950X3D 16 core CPU

64 GB Ram

Nvidia 4090 GPU

Intel A770 GPU

Win 11

 

Laptop:

Intel 11th. Gen 8 core CPU. i9-11900K

64 GB Ram

Nvidia RTX 3080 GPU

Win 10

Qbrick wrote on 5/11/2025, 1:05 AM

Thanks for your help.

My problem is that when I switch from proxy version to non proxy version the frames are not perfect synched.

I'm using the the method with taken, no Vegas official method.

Later I'll post a video example

johnny-s wrote on 5/11/2025, 3:20 AM

I wasn't aware of that. I'm curious to see example of source and proxy samples and difference.

To add to my suggestion above (3d87c4) I think that most machines can handle a 1920 source ok.

With that in mind I would use avc "proxies" with Width for all source media of 1920 maintaining aspect ratio. Audio included of course as it's proxies in name only, using cut down source files without proxies!

I wouldn't expect any frames sync issue using this method?

Last changed by johnny-s on 5/11/2025, 3:40 AM, changed a total of 4 times.

PC 1:

Intel i9-9900K

32 GB Ram

AMD Radeon XFX RX 7900 XT

Intel UHD 630

Win 10

PC 2:

AMD Ryzen 9 7950X3D 16 core CPU

64 GB Ram

Nvidia 4090 GPU

Intel A770 GPU

Win 11

 

Laptop:

Intel 11th. Gen 8 core CPU. i9-11900K

64 GB Ram

Nvidia RTX 3080 GPU

Win 10