Performance issues with Video enhancement

Using Version 3.35 on OSX 13.4.1(c) I am getting about .4/FPS.
Video Card is AMD Radeon Pro 5500M 8 GB
Processor(s) are 2.4 GHz 8-Core Intel Core i9
Input Video is VOB file direct from DVD.

The FFMPEG command is:

ffmpeg "-hide_banner" "-i" "/Volumes/PROJECT4/vob_files/input_video.mpeg" "-sws_flags" "spline+accurate_rnd+full_chroma_int" "-color_trc" "2" "-colorspace" "2" "-color_primaries" "2" "-filter_complex" "tvai_up=model=thm-2:scale=1:device=0:vram=0.9:instances=0,tvai_up=model=dtd-4:scale=0:w=720:h=480:device=0:vram=0.9:instances=1" "-c:v" "h264_videotoolbox" "-profile:v" "high" "-pix_fmt" "yuv420p" "-allow_sw" "1" "-b:v" "10.358M" "-map" "0:a" "-map_metadata:s:a:0" "0:s:i:128" "-c:a" "copy" "-map_metadata" "0" "-map_metadata:s:v" "0:s:v" "-movflags" "use_metadata_tags+write_colr" "-metadata" "videoai=Motion blur removed using  Themis. Deinterlaced and enhanced using dtd-4" "/Volumes/RED2TB/ai_files/input_video_1_thm2_dtd4.mp4"

I am showing 70% use of the GPU and 50% use of the CPU. Working on SSD(s) so not sure why performance is so bad or how to fix it. Looking at 1-2 days per video.

Source Video is: (ffprobe)
Duration: 00:29:52.42, start: 0.533367, bitrate: 4209 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], 4000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Side data:
cpb: bitrate max/min/avg: 4000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s

Hi there, can you share more about the performance issue you are seeing? Based on what you shared, I do not see any issues at hand.

Are you seeing a decrease in processing time compared to an earlier build?

The issue was related to using an Intel Processor. It was 2 FPS on Intel and 24fps on Silicon. The intel machine had the high end GPU but made no difference in performance.

This was an ongoing problem until I switch processors.


Ps. It means Intel processor MACs are not viable.

1 Like

Did you have the AMD GPU selected as the AI Processor?

I did.The Mac 8800

While I do agree with the comment you made about intel processors vs silicon, the increase in performance seems a bit too high compared to the machine with the dedicated GPU- odd!

I think so as well.

It was 2fps → 24pfs. AMD Radeon Pro 5500M 8GB.

I reloaded the machine from scratch.


1 Like