# Record with Alpha Channel

**URL:** <https://casparcgforum.org/t/record-with-alpha-channel/3383>\
**Category:** FAQ\
**Created:** [August 6, 2020, 7:52am UTC](https://casparcgforum.org/t/record-with-alpha-channel/3383 "2020-08-06T07:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannisgu](https://casparcgforum.org/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yannisgu](https://casparcgforum.org/u/yannisgu)\
**Post date:** [August 6, 2020, 7:52am UTC](https://casparcgforum.org/t/record-with-alpha-channel/3383/1 "2020-08-06T07:52:52Z")

</div>

Does anyone had success to use the FFMPEG Consumer to record a video including the alpha channel?

I tried the following:

- libx265 with yuva420p, the video is then simply recorded without alpha channel
- prores\_\* uses so much CPU, that is can barely handle more than 10 frames per second. I wanted to tune the [speed settings](https://ffmpeg.org/ffmpeg-codecs.html#toc-ProRes) but all passed private options are ignored (e.g. `-bits_per_mb:v 8000`)
- I tried to use `libvpx` but again I fail because I can’t set the private options from the coded (would need to set `-auto-alt-ref 0` to support aloha channel)

Does anyone knows a successful combination of codec/options or someone knows how to pass private options to the FFmpeg consumer?

I’m using CasparCG 2.2

Thanks for the help,

Yannis

–

Yannis Güdel, Co-Founder [livemotion gmbh](http://www.livemotion.ch/)

---

<div class="post-metadata">

**Author:** ![vimlesh1975](https://casparcgforum.org/user_avatar/casparcgforum.org/vimlesh1975/32/1608_2.png) [@vimlesh1975](https://casparcgforum.org/u/vimlesh1975)\
**Post date:** [August 6, 2020, 8:26am UTC](https://casparcgforum.org/t/record-with-alpha-channel/3383/2 "2020-08-06T08:26:35Z")

</div>

Try this in server 2.1

```auto
ADD 1 FILE "test.mov" -b:v 50000000 -codec:v prores_ks -pix_fmt yuva444p10le

```

---

<div class="post-metadata">

**Author:** ![yannisgu](https://casparcgforum.org/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yannisgu](https://casparcgforum.org/u/yannisgu)\
**Post date:** [August 6, 2020, 2:55pm UTC](https://casparcgforum.org/t/record-with-alpha-channel/3383/3 "2020-08-06T14:55:09Z")

</div>

> [@vimlesh1975](#):
>
> Try this in server 2.1

@vimlesh1975 tried it out but without success. When recording for 10 seconds, I get a video which is around 2s because of so many dropped frames.
