CasparCG Server hotfix releases for Flash Player end of life

@HUDis Try Following this.

I think I did everything right:

1.I downloaded and started the server version 2.3.1 from there

  1. I have installed Adobe Flash Player 32.0.0.465.

  2. I launched FlashCfgWriter
    and pointed to C: \ CasparCG_Server \ template

and after that all the CMP plays the video files as beautiful as usual but does not run the flash modules. What can I do?

And you runned the FlashCfgWriter as Administrator and it reported success, right? Are you sure, that CMP does not use it’s own server / template folder? Can you post, what is inside the mms.cfg files?

I have mms.cfg files in 2 locations:

C: \ Windows \ System32 \ Macromed \ Flash
and
C: \ Windows \ SysWOW64 \ Macromed \ Flash

the file includes:

AutoUpdateDisable = 1
EOLUninstallDisable = 1
EnableAllowList = 1
AllowListPreview = 0
AllowListRootMovieOnly = 1
AllowListUrlPattern = file: /// C: / CasparCG_Server / template /

I was running FlashCfgWriter as administrator.
Should I copy the mms.cfg file to C: \ CasparCG_Server \ template too?

Why does the AllowListUrlPattern contain these spaces? No, you should not copy the files to the template folder, that does not do anything, but wasting a little space on your harddisc :slight_smile:

copy and paste error. :relaxed:

AutoUpdateDisable=1
EOLUninstallDisable=1
EnableAllowList=1
AllowListPreview=0
AllowListRootMovieOnly=1
AllowListUrlPattern=file:///C:/CasparCG_Server/template/

What does it say in the log, when you play a Flash template? Do you run one of the patched builds?

after starting the twoliner module, the console gives this message:

[

2021-02-15 16:19:33.025] [info]    Received message from 127.0.0.1: CG 1-66 ADD 66 "cmp/TwoLiner/TwoLiner" 1 "<templateData><componentData id=\"xf0\"><data id=\"text\" value=\"RW5naW5lZXJpbmcgQXNzaXN0YW50LCBEb29yZGFyc2FoYW4gS2VuZHJhLCBNdW1iYWksIEluZGlh\" /></componentData><componentData id=\"f0\"><data id=\"text\" value=\"Engineering Assistant, Doordarsahan Kendra, Mumbai, India\" /></componentData><componentData id=\"xf1\"><data id=\"text\" value=\"UmFtIExhbCBUcmlwYXRoaQ==\" /></componentData><componentData id=\"f1\"><data id=\"text\" value=\"Ram Lal Tripathi\" /></componentData></templateData>"\r\n
[2021-02-15 16:19:33.025] [error]    Turn on log level debug for stacktrace.
[2021-02-15 16:19:33.025] [info]    Sent message to 127.0.0.1:404 CG ADD FAILED\r\n

That looks like it does not find the template… Does Caspar find the Flash player? What does it say at startup? Could you use the </> button to format logs and code, please.

Type "q" to close application.
Logging [info] or higher severity to log/

[2021-02-15 16:28:21.727] [info]    ############################################################################
[2021-02-15 16:28:21.727] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-02-15 16:28:21.727] [info]    under the GNU General Public License GPLv3 or higher.
[2021-02-15 16:28:21.727] [info]    Please see LICENSE.TXT for details.
[2021-02-15 16:28:21.727] [info]    http://www.casparcg.com/
[2021-02-15 16:28:21.727] [info]    ############################################################################
[2021-02-15 16:28:21.727] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.1 e767c1dda Release
[2021-02-15 16:28:21.846] [info]    Initializing OpenGL Device.
[2021-02-15 16:28:21.847] [info]    Initialized OpenGL 4.5.0 NVIDIA 452.39 NVIDIA Corporation
[2021-02-15 16:28:21.848] [info]    Initialized ffmpeg module.
[2021-02-15 16:28:21.848] [info]    Initialized oal module.
[2021-02-15 16:28:21.848] [info]    Initialized decklink module.
[2021-02-15 16:28:21.848] [info]    Initialized screen module.
[2021-02-15 16:28:21.848] [info]    Initialized newtek module.
[0215/162821.859:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
[2021-02-15 16:28:21.875] [info]    Initialized html module.
[2021-02-15 16:28:21.875] [info]    Flash support is disabled
[2021-02-15 16:28:21.875] [info]    Initialized flash module.
[2021-02-15 16:28:21.876] [info]    Initialized bluefish module.
[2021-02-15 16:28:21.876] [info]    Initialized image module.
[2021-02-15 16:28:21.876] [info]    "C:/CasparCG_Server\casparcg.config":
[2021-02-15 16:28:21.876] [info]    -----------------------------------------
[2021-02-15 16:28:21.876] [info]    <?xml version="1.0" encoding="utf-8"?>
[2021-02-15 16:28:21.876] [info]    <configuration>
[2021-02-15 16:28:21.876] [info]       <paths>
[2021-02-15 16:28:21.876] [info]          <media-path>S:/studio/_STUDIO PLAYER/</media-path>
[2021-02-15 16:28:21.876] [info]          <log-path>log/</log-path>
[2021-02-15 16:28:21.876] [info]          <data-path>data/</data-path>
[2021-02-15 16:28:21.876] [info]          <template-path>template/</template-path>
[2021-02-15 16:28:21.876] [info]          <thumbnails-path>thumbnails\</thumbnails-path>
[2021-02-15 16:28:21.876] [info]       </paths>
[2021-02-15 16:28:21.876] [info]       <thumbnails>
[2021-02-15 16:28:21.876] [info]          <generate-thumbnails>false</generate-thumbnails>
[2021-02-15 16:28:21.876] [info]       </thumbnails>
[2021-02-15 16:28:21.876] [info]       <channels>
[2021-02-15 16:28:21.876] [info]          <channel>
[2021-02-15 16:28:21.876] [info]             <video-mode>1080i5000</video-mode>
[2021-02-15 16:28:21.876] [info]             <consumers>
[2021-02-15 16:28:21.876] [info]                <decklink>
[2021-02-15 16:28:21.876] [info]                   <device>6</device>
[2021-02-15 16:28:21.876] [info]                   <embedded-audio>true</embedded-audio>
[2021-02-15 16:28:21.876] [info]                   <latency>low</latency>
[2021-02-15 16:28:21.876] [info]                   <keyer>external_separate_device</keyer>
[2021-02-15 16:28:21.876] [info]                   <key-device>8</key-device>
[2021-02-15 16:28:21.876] [info]                </decklink>
[2021-02-15 16:28:21.876] [info]                <newtek-ivga/>
[2021-02-15 16:28:21.876] [info]             </consumers>
[2021-02-15 16:28:21.876] [info]          </channel>
[2021-02-15 16:28:21.876] [info]       </channels>
[2021-02-15 16:28:21.876] [info]       <controllers>
[2021-02-15 16:28:21.876] [info]          <tcp>
[2021-02-15 16:28:21.876] [info]             <port>5250</port>
[2021-02-15 16:28:21.876] [info]             <protocol>AMCP</protocol>
[2021-02-15 16:28:21.876] [info]          </tcp>
[2021-02-15 16:28:21.876] [info]       </controllers>
[2021-02-15 16:28:21.876] [info]    </configuration>
[2021-02-15 16:28:21.876] [info]    -----------------------------------------
[2021-02-15 16:28:21.881] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2021-02-15 16:28:21.882] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2021-02-15 16:28:21.965] [info]    DeckLink Quad 2 [1-6&&8|1080i5000] Enabled low-latency mode.
[2021-02-15 16:28:21.966] [info]    DeckLink Quad 2 [1-6&&8|1080i5000] Enabled embedded-audio.
[2021-02-15 16:28:21.966] [info]    DeckLink Quad 2 [1-6&&8|1080i5000] Enabled low-latency mode.
[2021-02-15 16:28:21.976] [info]    DeckLink Quad 2 [1-6&&8|1080i5000] Initialized.
[2021-02-15 16:28:21.979] [info]    Loaded C:\Windows\SYSTEM32\Processing.AirSend.x64.dll
[2021-02-15 16:28:21.984] [info]    newtek-ivga[not connected] Initialized.
[2021-02-15 16:28:21.984] [info]    Initialized channels.
[2021-02-15 16:28:21.985] [info]    Initialized controllers.
[2021-02-15 16:28:21.985] [info]    Initialized osc.
[2021-02-15 16:28:22.069] [info]    DeckLink Quad 2 [1-6&&8|1080i5000] Reference signal: not detected.

CMP

So in log i can see Flash support is disabled.

So put a code in casparcg.config file above last line.

<flash>
<enabled>true</enabled>
</flash>

I changed the config and still no effect

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>S:/studio/_STUDIO PLAYER/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <thumbnails>
    <generate-thumbnails>false</generate-thumbnails>
  </thumbnails>
  <channels>
    <channel>
      <video-mode>1080i5000</video-mode>
      <consumers>
        <decklink>
          <device>6</device>
          <embedded-audio>true</embedded-audio>
          <latency>low</latency>
          <keyer>external_separate_device</keyer>
          <key-device>8</key-device>
        </decklink>
        <newtek-ivga />
      </consumers>
    </channel>
  </channels>

  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>
<!--

<log-level>        trace [trace|debug|info|warning|error]</log-level>
<channel-grid>     false [true|false]</channel-grid>
<auto-deinterlace> true  [true|false]</auto-deinterlace>
<auto-transcode>   true  [true|false]</auto-transcode>
<pipeline-tokens>  2     [1..]       </pipeline-tokens>
<mixer>
    <blend-modes>          false [true|false]</blend-modes>
    <straight-alpha>       false [true|false]</straight-alpha>
    <chroma-key>           false [true|false]</chroma-key>
    <mipmapping_default_on>false [true|false]</mipmapping_default_on>
</mixer>
<template-hosts>
    <template-host>
        <video-mode/>
        <filename/>
        <width/>
        <height/>
    </template-host>
</template-hosts>

<flash>
    <enabled>true [true|false]</enabled>	
    <buffer-depth>auto [auto|1..]</buffer-depth>
</flash>

<thumbnails>
	<generate-thumbnails>true [true|false]</generate-thumbnails>
	<width>256</width>
	<height>144</height>
	<video-grid>2</video-grid>
	<scan-interval-millis>5000</scan-interval-millis>
	<generate-delay-millis>2000</generate-delay-millis>
	<video-mode>720p2500</video-mode>
	<mipmap>false</mipmap>
</thumbnails>
<channels>
    <channel>
        <video-mode> PAL [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>
        <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
        <straight-alpha-output>false [true|false]</straight-alpha-output>
        <consumers>
            <decklink>
                <device>[1..]</device>
                <key-device>device + 1 [1..]</key-device>
                <embedded-audio>false [true|false]</embedded-audio>
                <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
                <latency>normal [normal|low|default]</latency>
                <keyer>external [external|external_separate_device|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
                <buffer-depth>3 [1..]</buffer-depth>
                <custom-allocator>true [true|false]</custom-allocator>
            </decklink>
            <bluefish>
                <device>[1..]</device>
                <embedded-audio>false [true|false]</embedded-audio>
                <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
                <key-only>false [true|false]</key-only>
            </bluefish>
            <system-audio></system-audio>
            <screen>
                <device>[0..]</device>
                <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>
                <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>
                <windowed>false [true|false]</windowed>
                <key-only>false [true|false]</key-only>
                <auto-deinterlace>true [true|false]</auto-deinterlace>
                <vsync>false [true|false]</vsync>
                <name>[Screen Consumer]</name>
                <borderless>false [true|false]</borderless>
            </screen>
            <newtek-ivga>
              <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
              <provide-sync>true [true|false]</provide-sync>
            </newtek-ivga>
            <file>
                <path></path>
                <vcodec>libx264 [libx264|qtrle]</vcodec>
                <separate-key>false [true|false]</separate-key>
            </file>
            <stream>
                <path></path>
                <args></args>
            </stream>
        </consumers>
    </channel>
</channels>
<osc>
	<default-port>6250</default-port>
	<predefined-clients>
		<predefined-client>
			<address>127.0.0.1</address>
			<port>5253</port>
		</predefined-client>
	</predefined-clients>
</osc>
<audio>
	<channel-layouts>
		<channel-layout>
			<name>mono</name>
			<type>1.0</type>
			<num-channels>1</num-channels>
			<channels>C</channels>
		</channel-layout>
		<channel-layout>
			<name>stereo</name>
			<type>2.0</type>
			<num-channels>2</num-channels>
			<channels>L R</channels>
		</channel-layout>
		<channel-layout>
			<name>dts</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>C L R Ls Rs LFE</channels>
		</channel-layout>
		<channel-layout>
			<name>dolbye</name>
			<type>5.1+stereomix</type>
			<num-channels>8</num-channels>
			<channels>L R C LFE Ls Rs Lmix Rmix</channels>
		</channel-layout>
		<channel-layout>
			<name>dolbydigital</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>L C R Ls Rs LFE</channels>
		</channel-layout>
		<channel-layout>
			<name>smpte</name>
			<type>5.1</type>
			<num-channels>6</num-channels>
			<channels>L R C LFE Ls Rs</channels>
		</channel-layout>
		<channel-layout>
			<name>passthru</name>
			<type>16ch</type>
			<num-channels>16</num-channels>
			<channels />
		</channel-layout>
	</channel-layouts>
	<mix-configs>
		<mix-config>
			<from>1.0</from>
			<to>2.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L 1.0</mapping>
				<mapping>C R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>1.0</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L 1.0</mapping>
				<mapping>C R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>1.0</from>
			<to>5.1+stereomix</to>
			<mix>add</mix>
			<mappings>
				<mapping>C L    1.0</mapping>
				<mapping>C R    1.0</mapping>
				<mapping>C Lmix 1.0</mapping>
				<mapping>C Rmix 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>1.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>L C 1.0</mapkping>
				<mapping>R C 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>L L 1.0</mapping>
				<mapping>R R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>2.0</from>
			<to>5.1+stereomix</to>
			<mix>add</mix>
			<mappings>
				<mapping>L L    1.0</mapping>
				<mapping>R R    1.0</mapping>
				<mapping>L Lmix 1.0</mapping>
				<mapping>R Rmix 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>1.0</to>
			<mix>average</mix>
			<mappings>
				<mapping>L  C 1.0</mapping>
				<mapping>R  C 1.0</mapping>
				<mapping>C  C 0.707</mapping>
				<mapping>Ls C 0.707</mapping>
				<mapping>Rs C 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>2.0</to>
			<mix>average</mix>
			<mappings>
				<mapping>L  L 1.0</mapping>
				<mapping>R  R 1.0</mapping>
				<mapping>C  L 0.707</mapping>
				<mapping>C  R 0.707</mapping>
				<mapping>Ls L 0.707</mapping>
				<mapping>Rs R 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1</from>
			<to>5.1+stereomix</to>
			<mix>average</mix>
			<mappings>
				<mapping>L   L   1.0</mapping>
				<mapping>R   R   1.0</mapping>
				<mapping>C   C   1.0</mapping>
				<mapping>Ls  Ls  1.0</mapping>
				<mapping>Rs  Rs  1.0</mapping>
				<mapping>LFE LFE 1.0</mapping>

				<mapping>L  Lmix 1.0</mapping>
				<mapping>R  Rmix 1.0</mapping>
				<mapping>C  Lmix 0.707</mapping>
				<mapping>C  Rmix 0.707</mapping>
				<mapping>Ls Lmix 0.707</mapping>
				<mapping>Rs Rmix 0.707</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>1.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>Lmix C 1.0</mapping>
				<mapping>Rmix C 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>2.0</to>
			<mix>add</mix>
			<mappings>
				<mapping>Lmix L 1.0</mapping>
				<mapping>Rmix R 1.0</mapping>
			</mappings>
		</mix-config>
		<mix-config>
			<from>5.1+stereomix</from>
			<to>5.1</to>
			<mix>add</mix>
			<mappings>
				<mapping>L   L   1.0</mapping>
				<mapping>R   R   1.0</mapping>
				<mapping>C   C   1.0</mapping>
				<mapping>Ls  Ls  1.0</mapping>
				<mapping>Rs  Rs  1.0</mapping>
				<mapping>LFE LFE 1.0</mapping>
			</mappings>
		</mix-config>
	</mix-configs>
</audio>
-->
Type "q" to close application.
Logging [info] or higher severity to log/

[2021-02-15 16:52:23.931] [info]    ############################################################################
[2021-02-15 16:52:23.931] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-02-15 16:52:23.932] [info]    under the GNU General Public License GPLv3 or higher.
[2021-02-15 16:52:23.932] [info]    Please see LICENSE.TXT for details.
[2021-02-15 16:52:23.932] [info]    http://www.casparcg.com/
[2021-02-15 16:52:23.932] [info]    ############################################################################
[2021-02-15 16:52:23.932] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.1 e767c1dda Release
[2021-02-15 16:52:24.047] [info]    Initializing OpenGL Device.
[2021-02-15 16:52:24.047] [info]    Initialized OpenGL 4.5.0 NVIDIA 452.39 NVIDIA Corporation
[2021-02-15 16:52:24.048] [info]    Initialized ffmpeg module.
[2021-02-15 16:52:24.048] [info]    Initialized oal module.
[2021-02-15 16:52:24.048] [info]    Initialized decklink module.
[2021-02-15 16:52:24.048] [info]    Initialized screen module.
[2021-02-15 16:52:24.048] [info]    Initialized newtek module.
[0215/165224.060:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
[2021-02-15 16:52:24.074] [info]    Initialized html module.
[2021-02-15 16:52:24.075] [info]    Flash support is disabled
[2021-02-15 16:52:24.075] [info]    Initialized flash module.
[2021-02-15 16:52:24.075] [info]    Initialized bluefish module.
[2021-02-15 16:52:24.075] [info]    Initialized image module.
[2021-02-15 16:52:24.075] [info]    "C:/CasparCG_Server\casparcg.config":

Maybe some more ideas? I really need this functionality. I don’t know what else I can check

Understand, that everything between <!-- and --> is commented out and does not do anything. Try with this:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
	<paths>
		<media-path>S:/studio/_STUDIO PLAYER/</media-path>
		<log-path>log/</log-path>
		<data-path>data/</data-path>
		<template-path>template/</template-path>
		<thumbnails-path>thumbnails\</thumbnails-path>
	</paths>
	<flash>
		<enabled>true</enabled>	
		<buffer-depth>auto</buffer-depth>
	</flash>
	<thumbnails>
		<generate-thumbnails>false</generate-thumbnails>
	</thumbnails>
	<channels>
		<channel>
			<video-mode>1080i5000</video-mode>
			<consumers>
				<decklink>
					<device>6</device>
					<embedded-audio>true</embedded-audio>
					<latency>low</latency>
					<keyer>external_separate_device</keyer>
					<key-device>8</key-device>
				</decklink>
				<newtek-ivga />
			</consumers>
		</channel>
	</channels>
	<controllers>
		<tcp>
			<port>5250</port>
			<protocol>AMCP</protocol>
		</tcp>
	</controllers>
</configuration>

Great! It worked :slight_smile:
Thanks guys :clap:

1 Like

Hi, I learned that a new Windows Update is in place to remove Flash completely from Windows now. Be aware.

1 Like

I have installed a tool that stops the updates. Could be a way to do it.

Hi
Does someone find a working solution ? I losed flash in my main laptop that I developed all of my projects . I try to reinstall didi solution without success
I ve been lucky and I have a restore point now flash is working again.
I’ve also install stopwindowsupdate to bypass this update, for now

Please discuss that further at this topic.