Originally Posted by: DWAM H.264 4:2:2 is not natively supported by NVENC HW encodes but 4:4:4 is
https://developer.nvidia...m/nvidia-video-codec-sdkYou can verify this very easily :
Code:ffmpeg -h encoder=nvenc
>> Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11
For libx264
ffmpeg -h encoder=libx264
>> Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p nv12 nv16 nv21 yuv420p10le yuv422p10le yuv444p10le nv20le gray gray10le
You might want to try to add your own recording settings (for 4:4:4) for FFMPEG/NVENC in the ffmpegformats.xml file under the streaming folder of vMix installation folder.
I think vMix AVI codec will do it but on CPU only AFAIK with same quality as ProRes or DNxHD but less resource hungry.
This is what is in my ffmpegformats.xml file, what and where would I add the above code you are mentioning?
Thanks so much in advance!!
<?xml version="1.0" encoding="UTF-8"?>
-<formats>
-<format>
<name>MPEG-2</name>
-<extensions>
<extension type="mpegts" ext=".ts" name="Transport Stream (.ts)"/>
<extension type="mpeg" ext=".mpg" name="Program Stream (.mpg)"/>
</extensions>
-<video codec="mpeg2video">
<bitRate>8M</bitRate>
<bitRate>10M</bitRate>
<bitRate>12M</bitRate>
<bitRate>15M</bitRate>
<bitRate>25M</bitRate>
<bitRate>50M</bitRate>
<bitRate>75M</bitRate>
</video>
-<audio codec="mp2">
<bitRate>384k</bitRate>
<bitRate>192k</bitRate>
<bitRate>128k</bitRate>
<bitRate>64k</bitRate>
</audio>
<command>-pix_fmt yuv420p -vcodec {video_codec} -maxrate:v {video_bitrate} -minrate:v {video_bitrate} -b:v {video_bitrate} -acodec {audio_codec} -b:a {audio_bitrate} -f {extension_type}</command>
<interlacedSupported/>
</format>
-<format>
<name>MP4 x264 AAC</name>
-<extensions>
<extension type="mp4 -movflags frag_keyframe" ext=".mp4" name="MP4"/>
<extension type="mp4" ext=".mp4" name="MP4 (Indexed)"/>
</extensions>
-<video codec="libx264">
<bitRate>50M</bitRate>
<bitRate>25M</bitRate>
<bitRate>15M</bitRate>
<bitRate>10M</bitRate>
<bitRate>8M</bitRate>
<bitRate>6M</bitRate>
<bitRate>4M</bitRate>
<bitRate>2M</bitRate>
<bitRate>1500k</bitRate>
</video>
-<audio codec="libfaac">
<bitRate>384k</bitRate>
<bitRate>192k</bitRate>
<bitRate>128k</bitRate>
<bitRate>64k</bitRate>
</audio>
<command>-pix_fmt yuv420p -vcodec {video_codec} -preset:v veryfast -profile:v main -b:v {video_bitrate} -acodec {audio_codec} -b:a {audio_bitrate} -f {extension_type}</command>
</format>
-<format>
<name>MP4 x264 AAC Superfast</name>
-<extensions>
<extension type="mp4 -movflags frag_keyframe" ext=".mp4" name="MP4"/>
<extension type="mp4" ext=".mp4" name="MP4 (Indexed)"/>
</extensions>
-<video codec="libx264">
<bitRate>50M</bitRate>
<bitRate>25M</bitRate>
<bitRate>15M</bitRate>
<bitRate>10M</bitRate>
<bitRate>8M</bitRate>
<bitRate>6M</bitRate>
<bitRate>4M</bitRate>
<bitRate>2M</bitRate>
<bitRate>1500k</bitRate>
</video>
-<audio codec="libfaac">
<bitRate>384k</bitRate>
<bitRate>192k</bitRate>
<bitRate>128k</bitRate>
<bitRate>64k</bitRate>
</audio>
<command>-pix_fmt yuv420p -vcodec {video_codec} -preset:v superfast -profile:v baseline -b:v {video_bitrate} -acodec {audio_codec} -b:a {audio_bitrate} -f {extension_type}</command>
</format>
-<format>
<name>MP4 NVENC AAC</name>
-<extensions>
<extension type="mp4 -movflags frag_keyframe" ext=".mp4" name="MP4"/>
<extension type="mp4" ext=".mp4" name="MP4 (Indexed)"/>
</extensions>
-<video codec="nvenc">
<bitRate>50M</bitRate>
<bitRate>25M</bitRate>
<bitRate>15M</bitRate>
<bitRate>10M</bitRate>
<bitRate>8M</bitRate>
<bitRate>6M</bitRate>
<bitRate>4M</bitRate>
<bitRate>2M</bitRate>
<bitRate>1500k</bitRate>
</video>
-<audio codec="libfaac">
<bitRate>384k</bitRate>
<bitRate>192k</bitRate>
<bitRate>128k</bitRate>
<bitRate>64k</bitRate>
</audio>
<command>-vcodec {video_codec} -pix_fmt:v nv12 -preset:v llhq -b:v {video_bitrate} -acodec {audio_codec} -b:a {audio_bitrate} -f {extension_type}</command>
</format>
-<format>
<name>ProRes</name>
-<extensions>
<extension type="mov -movflags frag_keyframe" ext=".mov" name="MOV"/>
<extension type="mov" ext=".mov" name="MOV (Indexed)"/>
</extensions>
-<video codec="prores">
<bitRate name="Proxy">0</bitRate>
<bitRate name="LT">1</bitRate>
<bitRate name="SQ">2</bitRate>
<bitRate name="HQ">3</bitRate>
</video>
-<audio codec="pcm_s16le">
<bitRate>PCM</bitRate>
</audio>
<command>-vcodec {video_codec} -profile:v {video_bitrate} -acodec pcm_s16le -f {extension_type}</command>
<interlacedSupported/>
</format>
-<format>
<name>VC-3</name>
-<extensions>
<extension type="mov -movflags frag_keyframe" ext=".mov" name="MOV"/>
<extension type="mov" ext=".mov" name="MOV (Indexed)"/>
<extension type="mxf" ext=".mxf" name="MXF"/>
</extensions>
-<video codec="dnxhd">
<bitRate name="220 1080 59.94i 29.97p">220M</bitRate>
<bitRate name="145 1080 59.94i 29.97p">145M</bitRate>
<bitRate name="45 1080 29.97p">45M</bitRate>
<bitRate name="185 1080 50i 25p">185M</bitRate>
<bitRate name="120 1080 50i 25p">120M</bitRate>
<bitRate name="36 1080 25p 24p">36M</bitRate>
<bitRate name="175 1080 24p">175M</bitRate>
<bitRate name="115 1080 24p">115M</bitRate>
<bitRate name="440 1080 59.94p">440M</bitRate>
<bitRate name="290 1080 59.94p">290M</bitRate>
<bitRate name="90 1080 59.94p">90M</bitRate>
<bitRate name="365 1080 50p">365M</bitRate>
<bitRate name="240 1080 50p">240M</bitRate>
<bitRate name="75 1080 50p">75M</bitRate>
<bitRate name="220 720 59.94p">220M</bitRate>
<bitRate name="145 720 59.94p">145M</bitRate>
<bitRate name="180 720 50p">180M</bitRate>
<bitRate name="120 720 50p">120M</bitRate>
<bitRate name="110 720 29.97p">110M</bitRate>
<bitRate name="75 720 29.97p">75M</bitRate>
<bitRate name="90 720 25p 24p">90M</bitRate>
<bitRate name="60 720 25p 24p">60M</bitRate>
</video>
-<audio codec="pcm_s16le">
<bitRate>PCM</bitRate>
</audio>
<command>-vcodec {video_codec} -b:v {video_bitrate} -acodec pcm_s16le -f {extension_type}</command>
<interlacedSupported/>
</format>
</formats>