FAQ
Can’t find you question answered here? Please check the CasparCG wiki documentation and forum as well!
Who are you and why are you sharing CasparCG?
CasparCG was developed by the Swedish Broadcasting Corporation (“SVT”) which is the license-fee funded public service television broadcaster in Sweden.
What started as an in-house tool quickly developed to become a corner-stone of our production. We hope that the community will build upon CasparCG and look forward to seeing what you come up with.
Is it really free?
Yes, the download of the installers and source code is free and shared under the GNU General Public License version 3.
Are there any competitors to CasparCG?
There are plenty of broadcast-ready play-out systems, but we aren’t aware of any that has such a broad feature set, support such a wide variety of video codecs and offer Flash playback (and that are free.)
Who is using CasparCG?
Swedish Broadcasting Corporation (SVT) has been using CasparCG for national television broadcasting since version 1.0 which was developed and launched in-house in 2005. Please check the Cases section and the forum for updated reference cases.
Is a free graphics system really suitable for professional work?
We are convinced it is; that’s why we are using it 24/7 for national broadcast in all our six TV channels.
Where can I download the source code?
The source code, the compiled installers and a variety of tools and templates are available under the Download section.
What video, audio and graphics formats and codecs can be played?
CasparCG has several “producers” that are used to playback and control media such as video, animations, audio and still images.
For video playback CasparCG uses the “FFmpeg Producer,” so everything that FFmpeg can play should be usuable by CasparCG (here’s a list of recommended codecs to use.) This includes many of the standard Apple QuickTime codecs such as “Animation” with support for alpha channels and audio.
Dynamic media is played by CasparCG’s “Flash Producer,” so everything that the Adobe Flash Player can handle can be played. This includes Flash animations (SWF’s) and Flash video (FLV’s) as well as audio. Since you have full control over everything in Flash so that you can dynamically change texts and control individual animations, and since the rendering is done by Adobe’s own Flash Player, all ActionScript execution works (unlike when you import SWF’s into other tools such as Adobe After Effects.)
If you want interlaced output to HDMI, SDI or HD-SDI (50i for PAL, 59.97i for NTSC or any of the HDTV flavors of interlacing) you just set the frame rate of the Flash template to that frame rate and you will get interlaced output. Field dominance (upper/odd or lower/even) is set via the SDI and/or HDMI card’s controls.
There is also source code available for a “TGA Producer” that can read 24 and 32 bit Targa bitmaps from disk and animate them, but it is still experimental.
What video and audio codecs are recommended for video playback?
CasparCG supports many codecs. When using the “FFmpeg Producer” we normally use QuickTime Animation (Best, Millions of Colors+) with alpha channel and uncompressed 48 kHz stereo audio. Use the “Keyframes: Automatic” or “Keyframes: All” options.
There’s even templates for rendering from Adobe After Effects available.
When using the “Flash Producer” we normally use FLV video with alpha channel.
CasparCG uses FFmpeg for video playback, so everything that FFmpeg can decode can also be played by CasparCG. If you have shot video in a codec that is supported (such DV25, DVCPRO25 or DVCPRO50) you will be able to play it directly from disk/card. Otherwise you must first transcode to a supported codec.
Does CasparCG play P2, DV25, DVCPRO25, DVCPRO50, DVCPROHD, MXF, AVCHD, HDV, XDCAM, HDCAM, RED, R3D and ProRes422 videos?
CasparCG uses FFmpeg for video playback, so everything that FFmpeg can decode can also be played by CasparCG. If you have video in a codec that is supported and tested (for example DV25, DVCPRO25, DVCPRO50, QuickTime Animation+, QuickTime None+) and in a proper resolution, you will be able to play it directly from disk/card. Otherwise you must first transcode to a supported codec.
What bitmap still formats can be played?
The “Flash producer” can be used to play and animate a multitude of formats such as PNG and JPEG by creating a Flash template that loads files from disk at run-time.
Does CasparCG play interlaced video?
Due to a bug, currently only upper/odd field order (or progressive output) is supported for all frame rates that are played out on the several consumers. This will change in the next version. The actual field order used in the HDMI, SDI and HD-SDI output from the card is determined by the settings on the card.
Can I download and play Flash SWF files I find on the web?
Yes, almost. Many SWF’s are built on the assumption that they will be stored on a web server and embedded in a web page. If they require any sort of interaction such as mouse clicks, they won’t be very suited for CasparCG playback. However, all features of the Flash Player (such as ActionScripted downloading of RSS feeds, for example) is fully functional when played by CasparCG.
What kinds of transitions can I use to go from one video to another?
You can do a cut, push, wipe, mix and slide over a user-controlled number of frames between two video files in the same “FFmpeg Producer.” The transitions also affect the alpha/key channels in the files.
Can I place transparent videos on top of other videos?
Using the “FFmpeg Producer” you can play two simultaneous video files from disk to the same “consumer” during any of the built-in transitions such as mix, wipe, push and slide of a user-selectable number of frames. If your video files have alpha channels (key) those will work.
Currently it is not possible to play two continuous videos at the same time, due to a lack of commands for doing so, even though the software already has the capability to do so.
FLV videos played by the Flash producer can be played on top of videos played by the “FFmpeg producer.”
What is included in the download, and what else do I need to get started?
You only need a Windows computer with administrator rights (so you can run the installer) to get you started. We’ve also included some Flash templates and videos, plus a controller application that will let you try them out on the local machine by playing on the computer monitor.
If you want to create your own Flash templates you will need a copy of Adobe Flash Professional.
If you want to output via HDMI, SDI or HD-SDI you will need a compatible video output card, but you can also play all content to the attached computer monitor without any special hardware.
See the documentation for the installation and supported hardware.
What kind of performance can I expect?
The performance of a CasparCG system is dependent on three things:
1. The computer hardware used.
2. The resolution, frame rate, bit depth, sampling rates, codecs and number of source media.
3. The type of “consumer” used (i.e. playback type such as “Fullscreen Consumer” or “Bluefish Consumer.”) Please see the published cases and the the CasparCG forum for examples.
Can I run CasparCG on Windows XP / Windows Vista / Mac OS X / Linux / Unix?
Since a CasparCG play-out server communicates via public commands over TCP/IP, it can be controlled by applications running on almost any computer platform, including smartphones, tablets and embedded chips!
The CasparCG Server that is running the “consumers” (which renders and the graphics/audio) is developed primarily for Windows XP, Windows Vista and Windows 7, as the code is a stand-alone application.
However, with access to the source code and since the Adobe Flash Player and the FFmpeg libraries exist for several operating systems including 64-bit Linux, it’s possible to port the consumers to other OS’es.
The Bluefish Technologies SDK used for the Bluefish Consumer is available for Windows (32-bit and 64-bit) as well as Linux.
Blackmagic Design has published an SDK for Windows, OS X and Linux platforms, which should make it possible to output to the DeckLink cards on these platforms.
If you make such a port, make sure to share it in the CasparCG forum.
Can I use Mac OS X or Linux with CasparCG?
Yes, you can control a CasparCG play-out server from anything that can send Telnet commands over a TCP/IP network, including smart phones. An iPhone app that controls a play-out server would be kinda cool…
However, the CasparCG play-out server was developed on the Windows platform. With a bit of work it could be ported to another OS such as Unix, Linux and Mac OS X, since the three key elements; the CasparCG source code (available soon from this site) the Flash Player and the FFmpeg library are available on those platforms.
Is there a 64-bit version available / planned?
The CasparCG play-out server is currently Windows 32-bit only. You can however control a CasparCG play-out server from any device that can send Telnet commands.
Is HD-SDI and/or dual-link SDI output supported?
Yes, the cards by Bluefish Technologies have different SDI connectors. All these cards can be used with CasparCG.
If you want to play out to SDI or HD-SDI, are there any consumers for other cards than Bluefish, such as Nvidia, ATI, BlackMagic Design or AJA?
CasparCG’s “SDI Consumer” is currently developed using Bluefish Technologies’ and BlackMagic Design’s Windows APIs. With access to the source code there’s nothing stopping you from developing and sharing interfaces for other cards and platforms.
What protocols and commands are used?
The main communication between the CasparCG play-out server and the client controller(s) TCP/IP.
What ports are used between the CasparCG play-out server and the controller(s) and must be opened in our firewall?
By default TCP/IP port 5250, but this is user-selectable. You can also use a serial port for commands.
What is a “producer?”
A technical term for the CasparCG components that renders and plays media such as video, animations, images and audio.
A producer listens for commands and data sent from a client controller application, loads and renders that media and then sends it to a “consumer” that displays that media in a variety of ways.
CasparCG currently ships with four producers:
1. “FFmpeg Producer” that can play all media that FFmpeg can play, which includes many QuickTime codecs such as Animation, PNG, PhotoJPEG, MotionJPEG, as well as H.264, WMV and several audio codecs as well as uncompressed audio.
2. “Flash Producer” that uses Adobe’s Flash Player to play SWF’s and FLV’s including full control over all dynamic content. You can even load multiple layers that can be controlled independently.
3. “TGA Producer” that displays Targa 24 and 32 bit bitmaps with alpha channel support (with or without RLE compression.)
4. “Color Producer” that generates a solid RGB color.
What is a “consumer?”
A technical term for the CasparCG components that receive playing media such as video, animations, images and audio from a “producer” and displays that media on a specified output.
CasparCG currently ships with three consumers:
1. “Bluefish Consumer” that outputs the playing media on to video cards from Bluefish Technologies with full support for all SD and HD resolutions, frame rates, pixel aspect-ratios, including support for separate fill + key + embedded audio.
All producers can output their media to the “Bluefish Consumer.”
2. “GDI Consumer” which displays the media in a standard Windows computer window using GDI. There is currently no support for compensation for non-square pixel aspect-ratios, so the source file played by the producer must be using square pixels in order for the display to appear correctly.
All producers can output their media to the “GDI Consumer.”
3. “Fullscreen Consumer” which uses Adobe’s Flash Player’s fullscreen mode.
In the current release, the “Fullscreen Consumer” can output media from the “producers,” so you can now also play videos with the “FFmpeg Producer” and display those fullscreen on a computer monitor.
Can I render animations to disk?
There is currently no “Harddisk consumer” that will let you save out media to disk, but this is a feature that is under consideration. It would for example let you use CasparCG to produce “lower-third” name signs that could then easily be imported into an editing system.
It could possibly be implemented since the FFmpeg library has the ability to write file sequences.
Why can’t CasparCG play all the codecs that Apple QuickTime can play?
Many QuickTime codecs are also handled by FFmpeg and can therefore be played by CasparCG, such as “Animation+” and PhotoJPEG.
What frame rates (fps) are supported?
You can use any frame rates you want, including broadcast rates such as 23.976p, 23.98p, 24p, 25p, 29.976p, 50p, 50i, 59.94i, 59.97p. The maximum frame rate that a CasparCG system is capable of depends on many factors such as resolution, frame rate, codec, which producer and consumer you use, plus the performance of your hardware.
Can CasparCG do multi-display shows where, for example one video moves from one screen to another?
There’s no ready-built feature that will let you do that, but it’s easy to imagine that several playback machines with individual displays are controlled by a central template that sets the synchronization and coordinates of the videos. If you create such a system, please share it in the CasparCG forum.
Why the name “CasparCG?”
It’s named after the son of one of the creators, together with “CG” which is an old broadcast term for “character generator.” It’s as simple as that…
Is CasparCG an Adobe product since it uses Adobe Flash Player?
No, CasparCG is not in any way affiliated with Adobe Systems. Please see Open Screen Project, a partnership with companies working together to provide a consistent runtime environment for open web browsing and standalone applications.
Can CasparCG do 3D?
Using Adobe Flash Player 10 and later, you can use Flash’s built-in cameras and 2.5D abilities. There are also 3rd party Flash 3D engines such as Papervision that can be used.
Are there any real-time 3D camera tracking systems that work with CasparCG?
Not that we are aware of, but if you know of any or have interfaced with any camera tracking, remember to share it in the the CasparCG forum
Can interlaced video be de-interlaced for playback on non-interlaced displays?
Not yet. The FFmpeg library used by the “FFmpeg Producer” can de-interlace video using a number of different methods. This feature is not yet implemented in CasparCG.
What’s the maximum video size / resolution that CasparCG can play?
CasparCG supports resolutions from 1×1 pixels to HDTV resolutions such as 1280×720 and 1920×1080 and up to 2K and 4K.
The theoretical limit for Flash content (including bitmaps and similar media) played by the “Flash Producer” is a total of 16,769,025 pixels with a maximum width or height of 8191 pixels. The largest square media that can be used is therefore 4095×4095 pixels.
Don’t expect miracles when it comes to playing back content of these sizes, though.
What bit depth does CasparCG output? Does it output 10-bit, 12-bit, 16-bit or 32-bit data?
Each “producer” and “consumer” has its own bit depth limitation:
The “Flash Producer” is currently limited to 8 bits per RGB channel plus an 8 bit alpha/key, since this is a limitation in Adobe’s Flash Player.
The “FFmpeg Producer” is limited to 8 bits per RGB channel plus an 8 bit alpha/key, since this is a limitation of the FFmpeg library.
The “TGA Producer” is limited to 8 bits per RGB channel plus an 8 bit alpha/key.
The “Color Producer” is limited to 8 bits per RGB channel plus an 8 bit alpha/key.
The “Bluefish Consumer” currently supports 8 bits per channel rendering for RGB/fill, plus an 8 bit alpha/key, even though the Bluefish cards support 10 bit output.
The “GDI Consumer” supports 8 bits per channel rendering for RGB/fill, but no key/alpha channel, since this is a limitation of GDI.
The “Fullscreen Consumer” currently supports 8 bits per channel rendering for RGB/fill and an 8 bit key/alpha channel.
Does CasparCG play on DisplayPort, DVI and HDMI monitors?
With the “Fullscreen Consumer” and the “GDI Consumer” you can play out to any screen connected to the CasparCG play-out server’s graphics card. For HDMI monitors you can use a BlackMagic Design card with HDMI port.
(Tip: DVI and HDMI can be actually be interchanged with a simple cable.)
Is the graphics card (GPU) used for acceleration of playback?
The “Fullscreen Consumer” is actually GPU accelerated (since it is using Adobe’s Flash Player) but this acceleration has been turned off in CasparCG since it doesn’t work properly (the FLV is placed on top of all other graphics) when playing FLV’s in the “Flash Producer.”
I have a separate file sequence with a greyscale alpha channel. Can CasparCG generate fill (RGB) from one media and key (alpha) from another media?
No, currently the alpha is generated from the same media as the “fill”. However, if you have multiple SDI cards in your machine, you could assemble your file sequence into a QuickTime movie and then simultaneously play the fill movie and the key movie on separate channels (cards.)
When playing via the “FFmpeg Producer” the embedded alpha channel in the video file is used. This works great for playing files with the QuickTime Animation+ codec.
When playing Flash content via the “Flash Producer” everything that’s visible on the Flash stage is used to generate both fill (RGB pre-multiplied on black) and key (alpha) regardless of the stage’s background color.
Does CasparCG play file sequences from disk?
No, that is currently not implemented, but it could possibly be implemented in the “FFmpeg Producer” since the FFmpeg library has the ability to read file sequences.
What kind of key (alpha channel) should I set our vision mixer/switcher to accept; pre-multiplied or straight?
The “Bluefish Consumer” outputs what the current producer can deliver.
The alpha channel of videos played by the “FFmpeg Producer” can be either straight or pre-multiplied, which is then output by the “Bluefish Consumer” as a key signal over SDI and HD-SDI.
Currently the “Flash Producer” only supports pre-multiplied alphas, since the Flash Player cannot generate straight alphas.
To be able to mix Flash and video content, we recommend sticking with pre-multiplied alphas on videos as well.
Can I play DirectX media with CasparCG?
No, there’s currently no DirectX producer available. If you develop one, please share it in the CasparCG forum.
Can I play OpenGL media with CasparCG?
No, there’s currently no OpenGL producer. If you develop one, please share it in the CasparCG forum. However, the Fullscreen Consumer uses OpenGL 2.0 to scale all videos and templates to fill the monitor.
Can I sell CasparCG as my own product?
No. Even though you can charge money for the same CasparCG program that we provide for free, you must acknowledge that it is in fact based on CasparCG (and the other libraries that we use, such as Adobe Flash Player and FFmpeg, among others.)
Please see the GPLv3 license and the GPLv3 FAQ: Does the GPL allow me to sell copies of the program for money?
If I modify the CasparCG source code or add additional modules; do I have to share those modifications publicly?
No, even though we hope that you will share any improvements that you make – that’s why we’ll be sharing the source code, available from this site as soon as we get the OK from our lawyers. Please post your additions in the the CasparCG forum.
GPLv3 FAQ: Does the GPL require that source code of modified versions be posted to the public?
Can I build new modules on top of CasparCG and sell them?
Yes, even though we’d prefer that you share it for free. Please see the GPLv3 license and the GPLv3 FAQ: Does the GPL allow me to sell copies of the program for money?
Can I make videos and Flash templates loop?
Yes. The “FFmpeg Producer” has video/audio file looping built-in, and looping in a Flash template is created with a simple ActionScript keyframe.
I need to add subtitles at run-time using separate text files.
This feature is not supported in the current release of CasparCG. However, since the FFmpeg library has that functionality it could be implemented in the “FFmpeg Producer” in a future release.
Does CasparCG respect the broadcast safe areas, such as action safe and title safe?
The safe areas are only to be used as a guide for how much an average TV set crops or over-scans the picture. When playing out to all the “consumers,” CasparCG plays the entire content.
I have a video file that was made for broadcast but I want to play it back on a computer monitor that shows the unwanted content and black bars that was placed outside the action safe area. Can CasparCG be set to remove stuff around the edges?
The current version of CasparCG does not support any cropping of media output to any of the current consumers.
Can CasparCG generate Flash SWF’s on the fly?
No, but there are several available solutions for generating SWF at run-time. As long as the generated SWF’s comply with CasparCG’s specification, they can also be played.
Can I use any custom FFmpeg flags to do advanced customization of video playback?
The current version of CasparCG does not accept any extra flags passed to the “FFmpeg Producer.” A future release may add the capability of using FFmpeg’s capabilities to do things like de-interlacing of video playback.
Does CasparCG generate motion blur?
All content played by the “Flash Producer” can use Flash’s built-in motion blur generation. You cannot generate motion blur inside a video that is pre-rendered, since that currently requires performance not available for real-time playback. The built-in video transitions in the “FFmpeg Producer” are not motion-blurred.
Do all the video, audio and Flash template files have to be stored in the same folder on the play-out server?
The current version of the CasparCG Client can’t see subfolders for video media, so in practice they need to be stored in the same folder. However, Flash templates can be sorted into subfolders.
When using the “Bluefish Consumer” to output to an SDI / HD-SDI card; can I — instead of outputting one key and one fill — output two different RGB / fill signals (coming from two separate “Bluefish Consumers”) on a single card?
Yes, that is possible.
Does CasparCG let me run more than one producer at the same time, and then output those to separate “Bluefish Consumers” on the same computer?
Yes, we’ve used several mixed producers (both Flash and FFmpeg) and then output those on up to three separate Bluefish cards installed in the same computer. Please see the “Vem Vet Mest?” game show case.
How is the alpha channel / key generated from a Flash file?
Everything that’s visible on the Flash stage is used to generate both fill (RGB pre-multiplied on black) and key (alpha) regardless of the stage’s background color.
- No comments yet.







