What's happening?

I recently started using Caspar again, but I can only use it if it’s in my desktop area. I can’t even rename the folder because if I run a command, the server crashes and closes. Currently, I’m using casparcg-server-e12bfccecba4a8c050158a7b84e2f2b0d325faac-windows, which is the only version that works, but I have to keep the folder on the desktop and can’t rename it because the error of crashing and closing happens.

  1. I am running it in administrator mode.
  2. If I rename the folder, it crashes when executing a command.
  3. I can only use it if I extract it with the name I downloaded.
  4. The error occurs regardless of the version, from the oldest to the beta versions.
  5. The Windows log points to an ntd.dll error, but this doesn’t make sense since it works on the desktop.
  6. All permissions have been granted.
  7. Even the antivirus has been disable

ntd.dll seems to be a typo, shouldn’t it read ntdll.dll?

Anyway, ntdll.dll is a system dll, that will be called a lot by any application. So maybe something else is causing the error. Can you provide Caspar’s log?

Yes, ndtdll.dll.In the Caspar log, there are no errors.

[2025-03-18 15:16:35.800] [info]    ############################################################################
[2025-03-18 15:16:35.801] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2025-03-18 15:16:35.801] [info]    under the GNU General Public License GPLv3 or higher.
[2025-03-18 15:16:35.801] [info]    Please see LICENSE.TXT for details.
[2025-03-18 15:16:35.801] [info]    http://www.casparcg.com/
[2025-03-18 15:16:35.801] [info]    ############################################################################
[2025-03-18 15:16:35.801] [info]    Starting CasparCG Video and Graphics Playout Server 2.4.0 e12bfcc Dev
[2025-03-18 15:16:35.802] [info]    "E:/Program Files\CasparCG\casparcg-server-e12bfccecba4a8c050158a7b84e2f2b0d325faac-windows\casparcg.config":
[2025-03-18 15:16:35.802] [info]    -----------------------------------------
[2025-03-18 15:16:35.802] [info]    <?xml version="1.0" encoding="utf-8"?>
[2025-03-18 15:16:35.802] [info]    <configuration>
[2025-03-18 15:16:35.802] [info]       <paths>
[2025-03-18 15:16:35.802] [info]          <media-path>media/</media-path>
[2025-03-18 15:16:35.802] [info]          <log-path disable="false">log/</log-path>
[2025-03-18 15:16:35.802] [info]          <data-path>data/</data-path>
[2025-03-18 15:16:35.802] [info]          <template-path>D:/SPORTV/Templates/</template-path>
[2025-03-18 15:16:35.802] [info]       </paths>
[2025-03-18 15:16:35.802] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2025-03-18 15:16:35.802] [info]       <channels>
[2025-03-18 15:16:35.802] [info]          <channel>
[2025-03-18 15:16:35.802] [info]             <video-mode>720p5000</video-mode>
[2025-03-18 15:16:35.802] [info]             <consumers>
[2025-03-18 15:16:35.802] [info]                <screen/>
[2025-03-18 15:16:35.802] [info]                <system-audio/>
[2025-03-18 15:16:35.802] [info]             </consumers>
[2025-03-18 15:16:35.802] [info]          </channel>
[2025-03-18 15:16:35.802] [info]       </channels>
[2025-03-18 15:16:35.802] [info]       <controllers>
[2025-03-18 15:16:35.802] [info]          <tcp>
[2025-03-18 15:16:35.802] [info]             <port>5250</port>
[2025-03-18 15:16:35.802] [info]             <protocol>AMCP</protocol>
[2025-03-18 15:16:35.802] [info]          </tcp>
[2025-03-18 15:16:35.802] [info]       </controllers>
[2025-03-18 15:16:35.802] [info]       <amcp>
[2025-03-18 15:16:35.802] [info]          <media-server>
[2025-03-18 15:16:35.802] [info]             <host>localhost</host>
[2025-03-18 15:16:35.802] [info]             <port>8000</port>
[2025-03-18 15:16:35.802] [info]          </media-server>
[2025-03-18 15:16:35.802] [info]       </amcp>
[2025-03-18 15:16:35.802] [info]    </configuration>
[2025-03-18 15:16:35.802] [info]    -----------------------------------------
[2025-03-18 15:16:35.815] [info]    Initialized video modes.
[2025-03-18 15:16:35.907] [info]    Initializing OpenGL Device.
[2025-03-18 15:16:35.915] [info]    Initialized OpenGL 4.5.0 Core Profile Context 24.9.1.240813 ATI Technologies Inc.
[2025-03-18 15:16:36.028] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2025-03-18 15:16:36.028] [info]    video_channel[1|720p5000] Successfully Initialized.
[2025-03-18 15:16:36.029] [info]    Initialized channels.
[2025-03-18 15:16:36.029] [info]    Initialized command repository.
[2025-03-18 15:16:36.029] [info]    Initialized image module.
[2025-03-18 15:16:36.029] [info]    Initialized ffmpeg module.
[2025-03-18 15:16:36.029] [info]    Initialized oal module.
[2025-03-18 15:16:36.029] [info]    Initialized decklink module.
[2025-03-18 15:16:36.029] [info]    Initialized screen module.
[2025-03-18 15:16:36.029] [info]    Initialized newtek module.
[2025-03-18 15:16:36.029] [info]    Initialized artnet module.
[2025-03-18 15:16:36.097] [info]    Initialized html module.
[2025-03-18 15:16:36.097] [info]    Flash support is disabled
[2025-03-18 15:16:36.098] [info]    Initialized flash module.
[2025-03-18 15:16:36.112] [info]    Initialized bluefish module.
[2025-03-18 15:16:36.112] [info]    Initialized modules.
[2025-03-18 15:16:36.114] [info]    Screen consumer [1|720p5000] Initialized.
[2025-03-18 15:16:36.142] [info]    oal[1|720p5000] Initialized.
[2025-03-18 15:16:36.143] [info]    Initialized startup producers.
[2025-03-18 15:16:36.143] [info]    Initialized controllers.
[2025-03-18 15:16:36.143] [info]    Initialized osc.
[2025-03-18 15:16:54.013] [info]    async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2025-03-18 15:16:54.193] [info]    Received message from 127.0.0.1: VERSION SERVER\r\n
[2025-03-18 15:16:54.194] [info]    Received message from 127.0.0.1: INFO\r\n
[2025-03-18 15:16:54.194] [info]    Sent message to 127.0.0.1:201 VERSION OK\r\n2.4.0 e12bfcc Dev\r\n
[2025-03-18 15:16:54.194] [info]    Received message from 127.0.0.1: CLS\r\n
[2025-03-18 15:16:54.194] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 720p5000 PLAYING\r\n\r\n
[2025-03-18 15:16:54.194] [info]    Received message from 127.0.0.1: TLS\r\n
[2025-03-18 15:16:54.195] [info]    Received message from 127.0.0.1: DATA LIST\r\n
[2025-03-18 15:16:54.195] [info]    Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2025-03-18 15:16:58.202] [error]   Failed to connect to media-scanner. Is it running? 
[2025-03-18 15:16:58.202] [error]   Reason: Connection refused
[2025-03-18 15:16:58.203] [info]    Sent message to 127.0.0.1:501 CLS FAILED\r\n
[2025-03-18 15:17:02.209] [error]   Failed to connect to media-scanner. Is it running? 
[2025-03-18 15:17:02.209] [error]   Reason: Connection refused
[2025-03-18 15:17:02.209] [info]    Sent message to 127.0.0.1:501 TLS FAILED\r\n
[2025-03-18 15:17:02.210] [info]    Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n
[2025-03-18 15:17:06.216] [error]   Failed to connect to media-scanner. Is it running? 
[2025-03-18 15:17:06.216] [error]   Reason: Connection refused
[2025-03-18 15:17:06.216] [info]    Sent message to 127.0.0.1:501 THUMBNAIL LIST FAILED\r\n
[2025-03-18 15:17:27.974] [info]    Received message from 127.0.0.1: VERSION SERVER\r\n
[2025-03-18 15:17:27.974] [info]    Received message from 127.0.0.1: INFO\r\n
[2025-03-18 15:17:27.974] [info]    Sent message to 127.0.0.1:201 VERSION OK\r\n2.4.0 e12bfcc Dev\r\n
[2025-03-18 15:17:27.974] [info]    Received message from 127.0.0.1: CLS\r\n
[2025-03-18 15:17:27.975] [info]    Sent message to 127.0.0.1:200 INFO OK\r\n1 720p5000 PLAYING\r\n\r\n
[2025-03-18 15:17:27.975] [info]    Received message from 127.0.0.1: TLS\r\n
[2025-03-18 15:17:27.975] [info]    Received message from 127.0.0.1: DATA LIST\r\n
[2025-03-18 15:17:27.975] [info]    Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2025-03-18 15:17:27.985] [info]    Sent message to 127.0.0.1:200 CLS OK\r\n"VID_1"  MOVIE  33876853 20250305214033 746 474283/11190000\r\n"VT_SORTEIO_LIBERTADORES"  MOVIE  1906732932 20250317230831 43656 513799/19260000\r\n\r\n
[2025-03-18 15:17:27.988] [info]    Sent message to 127.0.0.1:200 TLS OK\r\nCRONO\r\nINDEX\r\nOVER_GOL_VIS\r\nPLACAR_EXPANDIDO\r\nOVER_GOL_CASA\r\nTARJA - LIBERTADORES\r\nTARJA_PRE_JOGO_2\r\nTARJA_PRE_JOGO\r\n[TARJA]_GOL\r\n[TABELA]_GOL\r\nPLACAR_REDUZIDO\r\n\r\n
[2025-03-18 15:17:27.989] [info]    Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n
[2025-03-18 15:17:27.993] [info]    Sent message to 127.0.0.1:200 THUMBNAIL LIST OK\r\n"VID_1" 20250308T201710 62385\r\n"VT_SORTEIO_LIBERTADORES" 20250318T001714 50934\r\n\r\n
[2025-03-18 15:17:37.299] [info]    Received message from 127.0.0.1: PLAY 1-10 "VID_1" CUT 0 Linear RIGHT\r\n
[2025-03-18 15:17:37.307] [info]    Sent message to 127.0.0.1:202 PLAY OK\r\n

Hi
Based on the name of the folder you are not using the latest stable version downloaded from Github. I suggest you start by using a version from Girhub.
The only error I see is the one about mediascanner missing.
Some strange things I see is that you said that caspar was installed on your desktop but it seams to be at E:/Program Files\CasparCG.…
2 things about this

  • usually windows and program files are on C (not honestly needed)
  • if the files where truly on the desktop the config-file would be (usually) C:\USER\Desktop\folder\casparcg.config or something simular to this (Im writing on a Ubuntu so I cant check right now).
    So I would advise
  • Create on the windows-drive (lets all it C) a folder called Temp.
  • download the latest stable version of casparcg.
  • extract casparcg to c:\temp\
  • in same folder as caspar.exe create a folder called media
  • move a mp4-file (lets call it xxx.mp4) to the media folder
  • start casparcg from restart-casparcg…bat
  • in the casparcg-window write “PLAY 1-10 xxx loop”. this should make your mp4-file to play at loop in the screen window.
    This is a simple way of knowing if your server is working. I always have a couple of old mp4, png and html-templates that I know is working that I use for testing when ever I run in to any problem.
  1. Yes, it is an unstable version because it’s the only one that works. None of the stable versions released (old or new) work, even when placed on the desktop. The beta version I’m using is the only one that functions, as long as it is on my desktop and the folder is not renamed. I have to extract the file exactly as I downloaded it.
  2. Yes, I am using the E:/ directory because I copied (not moved) a program that works perfectly when on the desktop, but when placed in another directory such as C, D, or E, it simply crashes.

I just wanted to move it to another location to avoid cluttering my desktop. But I’ll test what you suggested.

Is this machine part of a corporate network? Is the user, that runs CasparCG at least a „Local Administrator“? - For me this sounds like a extremely weird situation.