cumincode / frameserver-issues

0 stars 0 forks source link

Slow render speeds in Vegas Pro 15 #4

Open C4pT4in0bvi0u5 opened 1 year ago

C4pT4in0bvi0u5 commented 1 year ago

Any reason why frameserving speeds are so slow in Vegas Pro 15? I am frameserving 1080p24 to ffmpeg. Computer has plenty of horsepower (dual socket Xeon, 96 GB RAM, NVMe etc.), but the system just sits there at nearly idle as Vegas/CCFS/ffmpeg putter along at 0.8x-1.2x speed.

Ran the same ffmpeg command line on a test file (non-frameserved), and speed is fine 8x+.

Set up a dummy ffmpeg test that just pulls the video from Vegas+CCFS as fast as possible and discards it, and speed was a pathetic 1.8x peak.

CPU usage is abnormally low, maybe 20%. Vegas normally uses 90-95% CPU when rendering to a regular file or Voukoder.

Hard drive workload is very low, about 1%. Presumably that is Vegas reading from the source files.

I can render the same output files in half the time or less by using 4 parallel instances of Vegas+Voukoder(ffmpeg), even with all the computational waste of 4 redundant Vegas renders, 2 of which are using Vegas' notoriously slow scaling algorithm.

So Vegas isn't the problem, and neither is ffmpeg nor my encoding hardware. Problem seems to be the link between the 2 programs, which is CCFS.

C4pT4in0bvi0u5 commented 1 year ago

crickets

malini-cumincode commented 1 year ago

Thanks for the detailed instructions! We knew we could do more optimizations in CCFS, but the comparison is certainly useful. Will take a look..