Here you can find examples how to create broadcast MXF or mp4 files with Caspar 2.3.
Because there is a newer version of FFmpeg in this build, the recording commands are different then
with earlier versions.
Also if no extented options are used you get 8 channels audio, with yuv 444 coding…
The recorded files need to be compatible with Adobe Premiere
NOTE, CasparCG 2.3 always writes one multichannel audio stream, in vlc player you can’t select a single channel.
Premiere handles this without any problem.
settings in CasparCG config in the part…
1080i5000
matrix or
stereo
Examples… tested 13-8-2020
Broadcast XDcam EX 35 PAL 50i (1080i50) YUV420 HD stereo recording
ADD 1 FILE “Test stereo feed.mxf” -b:v 35000000 -codec:a pcm_s24le -codec:v mpeg2video -filter:v interlace,zscale=rangein=full:range=limited:primaries=709:transfer=709:matrix=709,format=yuv420p -alternate_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 35000k -maxrate:v 35000k -color_primaries:v bt709 -color_trc:v 1 -colorspace:v 1 -filter:a pan=stereo|c0=c0|c1=c1
Broadcast XDcam EX 35 PAL 50i (1080i50) YUV420 HD multichannel recording
with 4 audio channels
ADD 1 FILE “Test2 4ch audio.mxf” -b:v 35000000 -codec:a pcm_s24le -codec:v mpeg2video -filter:v interlace,zscale=rangein=full:range=limited:primaries=709:transfer=709:matrix=709,format=yuv420p -alternate_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 35000k -maxrate:v 35000k -color_primaries:v bt709 -color_trc:v 1 -colorspace:v 1 -filter:a pan=4c|c0=c0|c1=c1|c2=c3|c3=c3
here in de last part mapping of the audio channels
pan=4c|c0=c0|c1=c1|c2=c3|c3=c3
for 8 channels use
pan=8c|c0=c0|c1=c1|c2=c3|c3=c3|c4=c4|c5=c5|c6=c6|c7=c7
Broadcast XDcam HD50 PAL 50i (1080i50) YUV422 HD stereo (from multichannel input)
ADD 1 FILE “Test 422.mxf” -b:v 50000000 -codec:a pcm_s24le -codec:v mpeg2video -filter:v interlace,zscale=rangein=full:range=limited:primaries=709:transfer=709:matrix=709,format=yuv422p -alternate_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 50000k -maxrate:v 50000k -color_primaries:v bt709 -color_trc:v 1 -colorspace:v 1 -filter:a pan=stereo|c0=c0|c1=c1
Broadcast XDcam HD50 PAL 50i (1080i50) YUV422 HD 4 channel audio (from multichannel input)
ADD 1 FILE “Test 422.mxf” -b:v 50000000 -codec:a pcm_s24le -codec:v mpeg2video -filter:v interlace,zscale=rangein=full:range=limited:primaries=709:transfer=709:matrix=709,format=yuv422p -alternate_scan:v 1 -g:v 12 -bf:v 2 -minrate:v 50000k -maxrate:v 50000k -color_primaries:v bt709 -color_trc:v 1 -colorspace:v 1 -filter:a pan=4c|c0=c0|c1=c1|c2=c3|c3=c3
MP4 recording examples follow soon, right now mp4 files from CasparCG 2.3 can’t be opened by Premiere…