Preview Streams

Preview streams consumes a lot of system resources (it generates regular stream). If you have a problem with your performance, please remove preview stream.


Caspar 2.0.7 and Caspar 2.1


DEFAULT H264

-vcodec libx264 -tune zerolatency -preset ultrafast -crf 30 -format mpegts -filter:v scale=288x162


with AC3

-vcodec libx264 -acodec ac3 -tune zerolatency -preset ultrafast -crf 30 -format mpegts -filter:v scale=288x162


MPEG2 (low CPU resources consumptions)

-vcodec mpeg2video -format mpegts -filter:v scale=288x162

or 

-f x11grab -c:v mpeg2video -g 1 -threads 2 -f mpegts - | nc



Caspar 2.3 and above

WARNING CasparCG 2.3 uses high CPU when generating streams or recording to FILES, this is resolved in higher versions



MPEG - very fast

-format mpegts -codec:a aac -filter:v scale=288x162


H264 - NVENC (nVidia GPU acceleration - Caspar CG version 2.3.2 and above)

-codec:v h264_nvenc -profile:v high444p -pixel_format:v yuv444p -preset:v default -format mpegts -filter:v scale=288x162





Stream to YouTube

-codec:v libx264 -preset ultrafast -vf format=pix_fmts=yuv420p -x264opts bitrate=5000:vbv-maxrate=5000:vbv-bufsize=150 -strict -2 -acodec aac -b:a 192k -af aresample=44100 -f flv




unicast example: udp://127.0.0.1:9250 

multicast example: udp://224.10.5.8:1234

multicast packet size: udp://224.10.5.8:1234?pkt_size=1316



MORE EXAMPLES AT OUTPUT MANAGER




Monitoring format options


aac example 2 audio channels

-codec:a aac -filter:v scale=960x540 -filter:a "pan=stereo|c0=c0|c1=c1"


for mpeg 2 channels only

-b:a 96k -filter:v scale=960x540 -filter:a "pan=stereo|c0=c0|c1=c1"

Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer