Proteus Segfaults on MacOS when run from the command line

  1. The bug / behavior you have encountered
export TVAI_MODEL_DIR="/Users/xxx/SSD/Topaz_Models"
export TVAI_MODEL_DATA_DIR="/Users/xxx/SSD/Topaz_Models

/Applications/Topaz\ Video\ AI.app/Contents/MacOS/ffmpeg "-hide_banner" "-nostdin" "-y" "-nostats" "-i" "/Volumes/Sabrent Media/Documents/RSD_2023/eevah_x256_test.mkv" "-sws_flags" "spline+accurate_rnd+full_chroma_int" "-color_trc" "2" "-colorspace" "2" "-color_primaries" "2" "-filter_complex" "tvai_up=model=prob-3:preblur=0:noise=0.5:details=1:halo=0:blur=0:compression=0:estimate=20:device=0:vram=0.25:instances=1" "-c:v" "hevc_videotoolbox" "-profile:v" "main" "-tag:v" "hvc1" "-pix_fmt" "yuv420p" "-allow_sw" "1" "-b:v" "397.733M" "-map_metadata" "0" "-movflags" "frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr " "-map_metadata:s:v" "0:s:v" "-map_metadata:s:a" "0:s:a" "-c:a" "copy" "-metadata" "videoai=Enhanced using prob-3 auto with recover details at 100, dehalo at 0, reduce noise at 50, sharpen at 0, revert compression at 0, and anti-alias/deblur at 0" "/Volumes/Sabrent Media/Documents/RSD_2023/eevah_x256_test_2_prob3_temp.mp4"

Input #0, matroska,webm, from '/Volumes/Sabrent Media/Documents/RSD_2023/eevah_x256_test.mkv':
  Metadata:
    VIDEOAI         : Enhanced using amq-13
    creation_time   : 1980-01-03T21:36:17.000000Z
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: isommp41
    MODEL           : VuzeXR
    ENCODER         : Lavf60.4.100
  Duration: 00:04:31.07, start: 0.000000, bitrate: 207871 kb/s
  Stream #0:0(eng): Video: prores (Proxy) (apco / 0x6F637061), yuv422p10le(tv, progressive), 5760x2880, 29.97 fps, 29.97 tbr, 1k tbn
    Metadata:
      HANDLER_NAME    : Rh.1.4.61381-release- MCTF:1 FIN:1 S0{ AE:r1m AWB:r17m image:0 aaa:0 scene:0 warp:-1 cawarp:0 vig:0f awb:0f ae:0 sta:-1 bpc:-1 eis:-1 cc_video:0 blc:0f stitch_warp:0f warp_precalc:-1 }
      VENDOR_ID       : [0][0][0][0]
      ENCODER         : Ambarella AVC encoder
      DURATION        : 00:04:31.070000000
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      HANDLER_NAME    : Rh.Audio
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:04:31.061000000
Stream mapping:
  Stream #0:0 (prores) -> tvai_up:default
  tvai_up:default -> Stream #0:0 (hevc_videotoolbox)
  Stream #0:1 -> #0:1 (copy)
zsh: segmentation fault  /Applications/Topaz\ Video\ AI

Note doing the same with an Artemis amq-13 based command works without issue
and the command is a copy of an export command (with full path to ffmpeg added)
Running that export in TVAI works without issue.

  1. Your system profile
    Apple M1 Mac Mini - 8 GB - Ventura 13.3.1 (a) (22E772610a)
  2. Your log files (Help > Logging > Get Logs for Support)
    logsForSupport.tar.gz (112.4 KB)

EDIT. I’ve should also point out I’ve tried this with h264 input too with the same results

also contents of models directory

-rwxr-xr-x@  1 xxx  staff     17180  1 May 14:06 amq-13.json
-rw-r--r--   1 xxx  staff   6487320  1 May 14:06 amq-v13-fnet-fp16-480x384-1x-ml.tz
-rw-r--r--   1 xxx  staff  17014009  1 May 14:06 amq-v13-gnet-fp16-480x384-1x-ml.tz
-rwxr-xr-x   1 xxx  staff     21457  2 May 17:40 prob-3.json
lrwxr-xr-x   1 xxx  staff        67  2 May 17:42 auth.tpz -> /Applications/Topaz Video AI.app/Contents/Resources/models/auth.tpz
lrwxr-xr-x   1 xxx  staff        66  2 May 17:42 tvai.tz -> /Applications/Topaz Video AI.app/Contents/Resources/models/tvai.tz
-rwxr-xr-x   1 xxx  staff     17142  2 May 17:58 ahq-12.json
-rw-r--r--   1 xxx  staff   6486434  2 May 17:58 ahq-v12-fnet-fp16-384x480-1x-ml.tz
-rw-r--r--   1 xxx  staff  17006555  2 May 17:58 ahq-v12-gnet-fp16-384x480-1x-ml.tz
drwxr-xr-x  12 xxx  staff       384  2 May 17:58 coreMLCache
-rw-r--r--   1 xxx  staff   6502191  2 May 18:15 prob-v3-fnet-fp16-384x480-1x-ml.tz
-rw-r--r--   1 xxx  staff  17054186  2 May 18:15 prob-v3-gnet-fp16-384x480-1x-ml.tz
-rw-r--r--   1 xxx  staff   6502191  2 May 18:37 prob-v3-fnet-fp16-576x672-1x-ml.tz
-rw-r--r--   1 xxx  staff  17054186  2 May 18:37 prob-v3-gnet-fp16-576x672-1x-ml.tz
-rw-r--r--   1 xxx  staff   6502192  4 May 14:10 prob-v3-fnet-fp16-480x384-1x-ml.tz
-rw-r--r--   1 xxx  staff  17054186  4 May 14:10 prob-v3-gnet-fp16-480x384-1x-ml.tz

Hello,

To use all of Proteus’ features in the CLI you will need to add prap-3.json to your custom models directory = /Users/xxx/SSD/Topaz_Models

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.