Skip to content

CCExtractor not working on Native Node (Mac) #1293

@aataylor95

Description

@aataylor95

CCExtractor is not working while running a native node on my Mac (works fine on docker but that's way slower.)

I have built my own version of ccextractor from their github. I've added to /usr/local/bin, given it the correct permissions and verified it works.

I have this line in my config json

...
  "ccextractorPath": "/usr/local/bin/ccextractor"
...

But when I spin up the node, I get

[WARN] Tdarr_Node - Scanner test 4: CCExtractor not working:"Unable to run CCExtractor exit code 2"

Weirdly, the first time I ran it I've managed to get

[WARN] Tdarr_Node - Scanner test 4:success

But i've not been able to replicate that since.

Steps to reproduce the behavior:

brew install pkg-config autoconf automake libtool cmake gpac tesseract leptonica rust ffmpeg handbrake mkvproedit
git clone https://github.com/CCExtractor/ccextractor.git
cd ccextractor/mac
pkg-config --exists --print-errors tesseract
pkg-config --exists --print-errors lept
export LIBRARY_PATH="/opt/homebrew/lib"
export CPATH="/opt/homebrew/include"
./build.command -hardsubx
cp ./ccextractor /usr/local/bin/ccextractor
sudo chmod +x /usr/local/bin/ccextractor
which ccextractor
cd ~/Documents/tdarr
sudo ./Tdarr_Node/Tdarr_Node

Config:

{
  "nodeName": "Tdarr_Node_1",
  "serverURL": "http://XXX:8266",
  "serverIP": "XXX",
  "serverPort": "8266",
  "handbrakePath": "/opt/homebrew/bin/HandBrakeCLI",
  "ffmpegPath": "",
  "mkvpropeditPath": "/opt/homebrew/bin/mkvpropedit",
  "pathTranslators": [
    {
      "server": "/data",
      "node": "~/Documents/tdarr/data/media"
    },
    {
      "server": "/cache",
      "node": "~/Documents/tdarr/cache"
    }
  ],
  "nodeType": "mapped",
  "unmappedNodeCache": "~/Documents/tdarr/native_node/unmappedNodeCache",
  "logLevel": "INFO",
  "priority": -1,
  "cronPluginUpdate": "",
  "apiKey": "XXX",
  "maxLogSizeMB": 10,
  "pollInterval": 2000,
  "startPaused": false,
  "ccextractorPath": "/usr/local/bin/ccextractor"
}

Logs:

Loading...
~/Documents/tdarr/native_node/Tdarr_Node/Tdarr_Node
Running in console
Found Tdarr entry file:~/Documents/tdarr/native_node/Tdarr_Node/srcug/main.js
ExeDir:~/Documents/tdarr/native_node/Tdarr_Node
AppsDir:~/Documents/tdarr/native_node
RootDataPath:~/Documents/tdarr/native_node
IcoPath:~/Documents/tdarr/native_node/Tdarr_Node/assets/favicon.ico
NodeExePath:~/Documents/tdarr/native_node/Tdarr_Node/runtime/Tdarr_Node_Runtime
MainJsPath:~/Documents/tdarr/native_node/Tdarr_Node/srcug/main.js
LogLocation:~/Documents/tdarr/native_node/logs
ModuleName:Tdarr_Node
IsProd:true
IsTray:false
ExePath:~/Documents/tdarr/native_node/Tdarr_Node/Tdarr_Node
WebUIPort:8265
{
  environment: 'production',
  execDir: '~/Documents/tdarr/native_node/Tdarr_Node',
  appsDir: '~/Documents/tdarr/native_node'
}
[2025-11-12T12:56:54.482] [INFO] Tdarr_Node - Logger started
[2025-11-12T12:56:54.500] [INFO] Tdarr_Node - Config path: "~/Documents/tdarr/native_node/configs/Tdarr_Node_Config.json"
[2025-11-12T12:56:54.510] [INFO] Tdarr_Node - {
  "nodeName": "Tdarr_Node_1",
  "serverURL": "http://XXX:8266",
  "serverIP": "XXX",
  "serverPort": "8266",
  "handbrakePath": "/opt/homebrew/bin/HandBrakeCLI",
  "ffmpegPath": "",
  "mkvpropeditPath": "/opt/homebrew/bin/mkvpropedit",
  "pathTranslators": [
    {
      "server": "/data",
      "node": "~/Documents/tdarr/data/media"
    },
    {
      "server": "/cache",
      "node": "~/Documents/tdarr/cache"
    }
  ],
  "nodeType": "mapped",
  "unmappedNodeCache": "~/Documents/tdarr/native_node/unmappedNodeCache",
  "logLevel": "INFO",
  "priority": -1,
  "platform_arch_isdocker": "darwin_arm64_docker_false",
  "processPid": 10683,
  "cronPluginUpdate": "",
  "apiKey": "*****",
  "maxLogSizeMB": 10,
  "pollInterval": 2000,
  "startPaused": false,
  "ccextractorPath": "/usr/local/bin/ccextractor",
  "nodeID": "8NE5lkAGZ"
}
[2025-11-12T12:56:54.512] [INFO] Tdarr_Node - Config validation passed
[2025-11-12T12:56:54.551] [INFO] Tdarr_Node - Checking Server version
[2025-11-12T12:56:54.568] [INFO] Tdarr_Node - Node version 2.54.01 matches Server version 2.54.01
[2025-11-12T12:56:54.631] [INFO] Tdarr_Node - version: 2.54.01, buildDate: 2025_11_10T08_47_21z
[2025-11-12T12:56:54.631] [INFO] Tdarr_Node - platform_arch_isdocker: darwin_arm64_docker_false
[2025-11-12T12:56:54.631] [INFO] Tdarr_Node - Starting Tdarr_Node
[2025-11-12T12:56:54.631] [INFO] Tdarr_Node - Preparing environment
[2025-11-12T12:56:54.631] [INFO] Tdarr_Node - Path translator: Checking Node path: "~/Documents/tdarr/data/media"
[2025-11-12T12:56:54.638] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: "~/Documents/tdarr/data/media"
[2025-11-12T12:56:54.639] [INFO] Tdarr_Node - Path translator: Checking Node path: "~/Documents/tdarr/cache"
[2025-11-12T12:56:54.639] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: "~/Documents/tdarr/cache"
[2025-11-12T12:56:54.665] [INFO] Tdarr_Node - Node connected & registered, count:1
[2025-11-12T12:56:54.671] [INFO] Tdarr_Node - Checking Server version
[2025-11-12T12:56:54.685] [INFO] Tdarr_Node - Node version 2.54.01 matches Server version 2.54.01
[2025-11-12T12:56:54.754] [INFO] Tdarr_Node - Downloading plugins from server
[2025-11-12T12:56:54.883] [INFO] Tdarr_Node - Finished downloading plugins from server
[2025-11-12T12:56:54.885] [INFO] Tdarr_Node - Running encoder tests
[2025-11-12T12:56:54.906] [INFO] Tdarr_Node - FFmpeg version:  7.1.2-jellyfin 
[2025-11-12T12:56:55.638] [INFO] Tdarr_Node - Running binary tests
[2025-11-12T12:56:55.855] [INFO] Tdarr_Node - encoder-enabled-working,libx264-true-true,libx265-true-true,h264_nvenc-false-false,hevc_nvenc-false-false,av1_nvenc-false-false,h264_qsv-false-false,hevc_qsv-false-false,av1_qsv-false-false,h264_vaapi-false-false,hevc_vaapi-false-false,av1_vaapi-false-false,h264_amf-false-false,hevc_amf-false-false,av1_amf-false-false,h264_rkmpp-false-false,hevc_rkmpp-false-false,av1_rkmpp-false-false,h264_videotoolbox-true-true,hevc_videotoolbox-true-true,av1_videotoolbox-false-false,libaom-av1-false-false,libsvtav1-true-true
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ---------------Binary tests start----------------
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - handbrakePath:"/opt/homebrew/bin/HandBrakeCLI"
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ffmpegPath:"~/Documents/tdarr/native_node/Tdarr_Node/assets/app/ffmpeg/darwin_arm64/ffmpeg"
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - mkvpropedit:"/opt/homebrew/bin/mkvpropedit"
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - Binary test 1: handbrakePath working
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - Binary test 2: ffmpegPath working
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - Binary test 3: mkvpropeditPath working
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ---------------Binary tests end-------------------
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - Running scanner tests
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ---------------Scanner tests start----------------
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ffprobePath:"~/Documents/tdarr/native_node/Tdarr_Node/assets/app/ffmpeg/darwin_arm64/ffprobe"
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - ccextractorPath:"/usr/local/bin/ccextractor"
[2025-11-12T12:56:55.860] [INFO] Tdarr_Node - Scanner test: Scanning file start
[2025-11-12T12:56:56.913] [INFO] Tdarr_Node - Scanner test: Scanning file end
[2025-11-12T12:56:56.913] [INFO] Tdarr_Node - Scanner test 1: FFprobe working
[2025-11-12T12:56:56.913] [INFO] Tdarr_Node - Scanner test 2: Exiftool working
[2025-11-12T12:56:56.913] [INFO] Tdarr_Node - Scanner test 3: Mediainfo working
[2025-11-12T12:56:56.913] [WARN] Tdarr_Node - Scanner test 4: CCExtractor not working:CCExtractor not working:"Unable to run CCExtractor exit code 2" 
CCExtractor is only used to detect closed captions in video files. If you are not needing to detect closed captions, you can ignore this message.
[2025-11-12T12:56:56.913] [INFO] Tdarr_Node - ---------------Scanner tests end----------------
[2025-11-12T13:06:01.810] [INFO] Tdarr_Node - Downloading plugins from server
[2025-11-12T13:06:01.997] [INFO] Tdarr_Node - Finished downloading plugins from server
[2025-11-12T14:06:04.982] [INFO] Tdarr_Node - Downloading plugins from server
[2025-11-12T14:06:05.439] [INFO] Tdarr_Node - Finished downloading plugins from server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions