CasparCG Server setting a drive as media path

Hi,

I have a CasparCG Server running on my server. it was working fine until I change its media path to a drive rather than a folder. now, it is not running and it is getting an UNHANDLED EXCEPTION:

below is the log of it.

Type "q" to close application.
Logging [info] or higher severity to C:\ChameleonLog\

[2020-04-28 10:03:42.051] [00E7C9C8] [info]    ############################################################################
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    under the GNU General Public License GPLv3 or higher.
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    Please see LICENSE.TXT for details.
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    http://www.casparcg.com/
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    ############################################################################
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    Starting CasparCG Video and Graphics Playout Server 2.0.7.b0a44c2 Beta2
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    on Windows 7 Professional 
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz Physical Threads: 8
[2020-04-28 10:03:42.051] [00E7C9C8] [info]    HP Z440 Workstation
[2020-04-28 10:03:42.150] [00E7C9C8] [info]    Decklink 10.3.5
[2020-04-28 10:03:42.274] [00E7C9C8] [info]     - DeckLink SDI [1]
[2020-04-28 10:03:42.275] [00E7C9C8] [info]     - DeckLink SDI [2]
[2020-04-28 10:03:42.275] [00E7C9C8] [info]     - DeckLink SDI [3]
[2020-04-28 10:03:42.275] [00E7C9C8] [info]     - DeckLink SDI [4]
[2020-04-28 10:03:42.275] [00E7C9C8] [info]    Bluefish Not found
[2020-04-28 10:03:42.275] [00E7C9C8] [info]    FreeImage 3.15.4
[2020-04-28 10:03:42.275] [00E7C9C8] [info]    FFMPEG-avcodec 55.45.101
[2020-04-28 10:03:42.276] [00E7C9C8] [info]    FFMPEG-avformat 55.22.100
[2020-04-28 10:03:42.276] [00E7C9C8] [info]    FFMPEG-avfilter 3.92.100
[2020-04-28 10:03:42.276] [00E7C9C8] [info]    FFMPEG-avutil 52.58.100
[2020-04-28 10:03:42.276] [00E7C9C8] [info]    FFMPEG-swscale 2.5.101
[2020-04-28 10:03:42.276] [00E7C9C8] [info]    Flash 19.0.0.226
[2020-04-28 10:03:42.277] [00E7C9C8] [info]    flash[cg20.fth.pal|0] Initialized.
[2020-04-28 10:03:42.277] [00E7C9C8] [info]    flash[cg20.fth.pal|0] Invoking info-command: <invoke name="GetInfo" returntype="xml"><arguments></arguments></invoke>
Vector smash protection is enabled.
[2020-04-28 10:03:42.352] [00E1EC28] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2020-04-28 10:03:42.390] [00E1EC28] [info]    flash-player[cg20.fth.pal|1024x576] Initialized.
[2020-04-28 10:03:42.391] [00E1EC28] [debug]   flash-player[cg20.fth.pal|1024x576] [command]      <invoke name="OnCommand" returntype="xml"><arguments><string>Command recieved @GetInfo@?@</string></arguments></invoke>
[2020-04-28 10:03:42.468] [00E7C9C8] [trace]   Template-Host 2.0.4.3803 RC
[2020-04-28 10:03:42.469] [00E7C9C8] [info]    NewTek iVGA unavailable (Processing.AirSend.x86.dll)
[2020-04-28 10:03:42.470] [00E7C9C8] [info]    casparcg.config:
-----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
   <paths>
      <media-path>M:\</media-path>
      <log-path>C:\ChameleonLog\</log-path>
      <data-path>data\</data-path>
      <template-path>templates\</template-path>
      <thumbnails-path>thumbnails\</thumbnails-path>
   </paths>
   <thumbnails>
      <generate-thumbnails>false</generate-thumbnails>
   </thumbnails>
   <channels>
      <channel>
         <video-mode>1080i5994</video-mode>
         <consumers>
            <decklink>
               <device>1</device>
               <embedded-audio>true</embedded-audio>
               <keyer>default</keyer>
            </decklink>
         </consumers>
      </channel>
      <channel>
         <video-mode>1080i5994</video-mode>
         <consumers>
            <decklink>
               <device>2</device>
               <embedded-audio>true</embedded-audio>
               <keyer>default</keyer>
            </decklink>
         </consumers>
      </channel>
      <channel>
         <video-mode>1080i5994</video-mode>
         <consumers>
            <decklink>
               <device>3</device>
               <embedded-audio>true</embedded-audio>
               <keyer>default</keyer>
            </decklink>
         </consumers>
      </channel>
      <channel>
         <video-mode>1080i5994</video-mode>
         <consumers>
            <decklink>
               <device>4</device>
               <embedded-audio>true</embedded-audio>
               <keyer>default</keyer>
            </decklink>
         </consumers>
      </channel>
   </channels>
   <controllers>
      <tcp>
         <port>5250</port>
         <protocol>AMCP</protocol>
      </tcp>
   </controllers>
</configuration>
-----------------------------------------
[2020-04-28 10:03:42.470] [00E7C9C8] [info]    Initializing OpenGL Device.
[2020-04-28 10:03:42.539] [06A1FDC8] [info]    OpenGL 4.5.0 NVIDIA 354.35 NVIDIA Corporation
[2020-04-28 10:03:42.539] [06A1FDC8] [info]    Successfully initialized OpenGL Device.
[2020-04-28 10:03:42.571] [00E7C9C8] [info]    Initialized html module.
[2020-04-28 10:03:42.574] [00E1EC28] [info]    flash-player[cg20.fth.pal|1024x576] Uninitialized.
[2020-04-28 10:03:42.577] [06A1FD68] [info]    flash[cg20.fth.pal|5000] Uninitialized.
[2020-04-28 10:03:42.580] [00E7C9C8] [info]    Initialized ffmpeg module.
[2020-04-28 10:03:42.580] [00E7C9C8] [info]    Initialized bluefish module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized decklink module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized oal module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized newtek module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized ogl module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized flash module.
[2020-04-28 10:03:42.684] [00E7C9C8] [info]    Initialized image module.
[2020-04-28 10:03:42.688] [06A1FDC8] [info]    [shader] Blend-modes are disabled.
[2020-04-28 10:03:42.689] [00E7C9C8] [info]    video_channel[1|1080i5994] Successfully Initialized.
[2020-04-28 10:03:42.787] [06A21370] [warning] Device does not support video-format: 1214854457
[2020-04-28 10:03:42.787] [06A21370] [info]    DeckLink SDI [1-1|1080i5994] Using custom allocator.
[2020-04-28 10:03:42.788] [06A21370] [info]    DeckLink SDI [1-1|1080i5994] Enabled embedded-audio.
[2020-04-28 10:03:42.788] [06A21370] [info]    DeckLink SDI [1-1|1080i5994] Disabled low-latency mode.
[2020-04-28 10:03:42.825] [06A21370] [debug]   DeckLink SDI [1-1|1080i5994] allocated buffer of size: 4147200 for a total of 4147200
[2020-04-28 10:03:42.829] [06A21370] [info]    DeckLink SDI [1-1|1080i5994] Reference signal: locked.
[2020-04-28 10:03:42.855] [06A21370] [debug]   DeckLink SDI [1-1|1080i5994] allocated buffer of size: 4147200 for a total of 8294400
[2020-04-28 10:03:42.893] [06A21370] [debug]   DeckLink SDI [1-1|1080i5994] allocated buffer of size: 4147200 for a total of 12441600
[2020-04-28 10:03:42.909] [06A21370] [debug]   DeckLink SDI [1-1|1080i5994] allocated buffer of size: 4147200 for a total of 16588800
[2020-04-28 10:03:42.924] [06A21370] [debug]   DeckLink SDI [1-1|1080i5994] allocated buffer of size: 4147200 for a total of 20736000
[2020-04-28 10:03:42.926] [00E7C9C8] [info]    DeckLink SDI [1-1|1080i5994] Successfully Initialized.
[2020-04-28 10:03:42.930] [00E1ECE8] [info]    output[1] DeckLink SDI [1-1|1080i5994] Added.
[2020-04-28 10:03:42.934] [00E7C9C8] [info]    video_channel[2|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.037] [06A21490] [warning] Device does not support video-format: 1214854457
[2020-04-28 10:03:43.037] [06A21490] [info]    DeckLink SDI [2-2|1080i5994] Using custom allocator.
[2020-04-28 10:03:43.038] [06A21490] [info]    DeckLink SDI [2-2|1080i5994] Enabled embedded-audio.
[2020-04-28 10:03:43.038] [06A21490] [info]    DeckLink SDI [2-2|1080i5994] Disabled low-latency mode.
[2020-04-28 10:03:43.074] [06A21490] [debug]   DeckLink SDI [2-2|1080i5994] allocated buffer of size: 4147200 for a total of 4147200
[2020-04-28 10:03:43.076] [06A21490] [info]    DeckLink SDI [2-2|1080i5994] Reference signal: locked.
[2020-04-28 10:03:43.091] [06A21490] [debug]   DeckLink SDI [2-2|1080i5994] allocated buffer of size: 4147200 for a total of 8294400
[2020-04-28 10:03:43.132] [06A21490] [debug]   DeckLink SDI [2-2|1080i5994] allocated buffer of size: 4147200 for a total of 12441600
[2020-04-28 10:03:43.149] [06A21490] [debug]   DeckLink SDI [2-2|1080i5994] allocated buffer of size: 4147200 for a total of 16588800
[2020-04-28 10:03:43.163] [00E7C9C8] [info]    DeckLink SDI [2-2|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.166] [06A21400] [info]    output[2] DeckLink SDI [2-2|1080i5994] Added.
[2020-04-28 10:03:43.169] [00E7C9C8] [info]    video_channel[3|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.196] [06A13700] [debug]   DeckLink SDI [2-2|1080i5994] allocated buffer of size: 4147200 for a total of 20736000
[2020-04-28 10:03:43.267] [06A21610] [warning] Device does not support video-format: 1214854457
[2020-04-28 10:03:43.267] [06A21610] [info]    DeckLink SDI [3-3|1080i5994] Using custom allocator.
[2020-04-28 10:03:43.268] [06A21610] [info]    DeckLink SDI [3-3|1080i5994] Enabled embedded-audio.
[2020-04-28 10:03:43.268] [06A21610] [info]    DeckLink SDI [3-3|1080i5994] Disabled low-latency mode.
[2020-04-28 10:03:43.280] [06A21610] [debug]   DeckLink SDI [3-3|1080i5994] allocated buffer of size: 4147200 for a total of 4147200
[2020-04-28 10:03:43.282] [06A21610] [info]    DeckLink SDI [3-3|1080i5994] Reference signal: locked.
[2020-04-28 10:03:43.296] [06A21610] [debug]   DeckLink SDI [3-3|1080i5994] allocated buffer of size: 4147200 for a total of 8294400
[2020-04-28 10:03:43.311] [06A21610] [debug]   DeckLink SDI [3-3|1080i5994] allocated buffer of size: 4147200 for a total of 12441600
[2020-04-28 10:03:43.326] [06A21610] [debug]   DeckLink SDI [3-3|1080i5994] allocated buffer of size: 4147200 for a total of 16588800
[2020-04-28 10:03:43.340] [06A21610] [debug]   DeckLink SDI [3-3|1080i5994] allocated buffer of size: 4147200 for a total of 20736000
[2020-04-28 10:03:43.342] [00E7C9C8] [info]    DeckLink SDI [3-3|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.368] [06A21520] [info]    output[3] DeckLink SDI [3-3|1080i5994] Added.
[2020-04-28 10:03:43.369] [00E7C9C8] [info]    video_channel[4|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.466] [06A21760] [warning] Device does not support video-format: 1214854457
[2020-04-28 10:03:43.466] [06A21760] [info]    DeckLink SDI [4-4|1080i5994] Using custom allocator.
[2020-04-28 10:03:43.467] [06A21760] [info]    DeckLink SDI [4-4|1080i5994] Enabled embedded-audio.
[2020-04-28 10:03:43.467] [06A21760] [info]    DeckLink SDI [4-4|1080i5994] Disabled low-latency mode.
[2020-04-28 10:03:43.494] [06A21760] [debug]   DeckLink SDI [4-4|1080i5994] allocated buffer of size: 4147200 for a total of 4147200
[2020-04-28 10:03:43.498] [06A21760] [info]    DeckLink SDI [4-4|1080i5994] Reference signal: locked.
[2020-04-28 10:03:43.510] [06A21760] [debug]   DeckLink SDI [4-4|1080i5994] allocated buffer of size: 4147200 for a total of 8294400
[2020-04-28 10:03:43.528] [06A21760] [debug]   DeckLink SDI [4-4|1080i5994] allocated buffer of size: 4147200 for a total of 12441600
[2020-04-28 10:03:43.543] [06A21760] [debug]   DeckLink SDI [4-4|1080i5994] allocated buffer of size: 4147200 for a total of 16588800
[2020-04-28 10:03:43.562] [06A21760] [debug]   DeckLink SDI [4-4|1080i5994] allocated buffer of size: 4147200 for a total of 20736000
[2020-04-28 10:03:43.565] [00E7C9C8] [info]    DeckLink SDI [4-4|1080i5994] Successfully Initialized.
[2020-04-28 10:03:43.568] [06A216D0] [info]    output[4] DeckLink SDI [4-4|1080i5994] Added.
[2020-04-28 10:03:43.568] [00E7C9C8] [info]    Initialized channels.
[2020-04-28 10:03:43.569] [00E7C9C8] [info]    WinSock2 Initialized.
[2020-04-28 10:03:43.570] [00E7C9C8] [info]    Listener successfully initialized
[2020-04-28 10:03:43.570] [00E7C9C8] [info]    Initialized controllers.
[2020-04-28 10:03:43.570] [00E7C9C8] [info]    Initialized osc.
[2020-04-28 10:03:43.570] [00E7C9C8] [info]    Started initial media information retrieval.
[2020-04-28 10:03:43.945] [06A21970] [fatal]   #######################
 UNHANDLED EXCEPTION: 
Adress:775CC42D
Code:3765269347
Flag:1
Info:1E7AF82C
Continuing execution. 
#######################

any idea?

thanks,

Have you tried to add a folder in drive M and let Caspar use that instead of the root?

<media-path>M:\media</media-path>

instead of:

<media-path>M:\</media-path>

yes, I do. and it works fine. so we cannot set a drive as media path on the CasparCG Server?

It seems. I also don‘t know why.

Usually drive roots have admin or weirder permissions. I’d try to allow full control to current user.
Also you could try with a / instead of \

In drive root, you have “System Volume Information” hidden directory where access is denied. That’s why CasparCG can’t retrieve information from it.

1 Like