CasparCG Server 使用教程

CasparCG Server 使用教程

serverCasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.项目地址:https://gitcode.com/gh_mirrors/server12/server

1. 项目的目录结构及介绍

CasparCG Server 的目录结构如下:

CasparCG/
├── bin/
│   ├── linux/
│   ├── mac/
│   └── win/
├── docs/
├── lib/
├── media/
├── my_channel/
├── resources/
├── server/
├── templates/
├── tools/
└── LICENSE

目录介绍

  • bin/:包含不同操作系统的可执行文件。
    • linux/:Linux 平台的可执行文件。
    • mac/:Mac 平台的可执行文件。
    • win/:Windows 平台的可执行文件。
  • docs/:项目文档。
  • lib/:依赖库文件。
  • media/:媒体文件存储目录。
  • my_channel/:自定义频道配置文件。
  • resources/:资源文件。
  • server/:服务器核心代码。
  • templates/:模板文件。
  • tools/:工具脚本。
  • LICENSE:项目许可证文件。

2. 项目的启动文件介绍

CasparCG Server 的启动文件位于 bin/ 目录下,根据不同的操作系统选择相应的可执行文件。

Windows 平台

在 Windows 平台下,启动文件为 casparcg.exe,位于 bin/win/ 目录下。

Linux 平台

在 Linux 平台下,启动文件为 casparcg,位于 bin/linux/ 目录下。

Mac 平台

在 Mac 平台下,启动文件为 casparcg,位于 bin/mac/ 目录下。

3. 项目的配置文件介绍

CasparCG Server 的配置文件主要位于 my_channel/ 目录下,主要的配置文件为 casparcg.config

配置文件结构

<configuration>
    <paths>
        <media-path>media/</media-path>
        <log-path>log/</log-path>
    </paths>
    <channels>
        <channel>
            <name>Channel 1</name>
            <framerate>25</framerate>
            <outputs>
                <output>
                    <type>decklink</type>
                    <device>1</device>
                </output>
            </outputs>
        </channel>
    </channels>
</configuration>

配置文件介绍

  • <paths>:定义媒体文件和日志文件的路径。
    • <media-path>:媒体文件存储路径。
    • <log-path>:日志文件存储路径。
  • <channels>:定义频道配置。
    • <channel>:单个频道的配置。
      • <name>:频道名称。
      • <framerate>:帧率。
      • <outputs>:输出配置。
        • <output>:单个输出配置。
          • <type>:输出类型,如 decklink
          • <device>:设备编号。

通过以上配置文件,可以自定义 CasparCG Server 的运行参数和输出设置。

serverCasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.项目地址:https://gitcode.com/gh_mirrors/server12/server

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

张俊领Tilda

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值