In this video I show how to save your letsplay or video lesson in the highest quality FullHD and upscale to 4k after that for the best quality on Youtube. (Notice: you need to own not bad SSD and Nvidia graphics card for it).
#h264_nvenc #OBS #ffmpeg #constqp #init_qpP #init_qpB #init_qpI #qp0 #weighted_pred #yuv444p #avc1 #vp09 #vp9 #h264 #x264 #Nvidia_encoder #CSGO #Screenrecording #Youtube4k #4k #nv12 #letsplay #powershell #upscale #upscaling #reencode #encoder #reencode #reencoding #encoding #video4k #NVIDIA_NVENC #NVENC #high_quality #max_quality #video_quality #copy_paste #input_output #lossless #without_loss #screencapture #DXGI #libavformat #Open_Broadcaster_Software #1080 #2160
ffmpeg -hide_banner -loglevel +repeat+level+info `
-i "video.mov" `
-map 0:v:0 -vf scale="w=3840":"h=2160":"in_color_matrix=bt709":"out_color_matrix=bt709":"in_range=limited:out_range=limited":"sws_flags=spline+accurate_rnd+full_chroma_int+full_chroma_inp":"srcw=1920":"srch=1080":"dstw=3840":"dsth=2160":"src_format=yuv444p":"dst_format=nv12":"sws_dither=x_dither" `
-c:v:0 h264_nvenc -copyts -framerate copy -video_size copy -pix_fmt nv12 -preset p7 -tune hq -profile:v high -level 6.2 -rc constqp -rc-lookahead 32 -surfaces 0 -2pass 1 -gpu 0 -no-scenecut 0 -b_adapt 1 -spatial_aq 1 -temporal_aq 1 -aq-strength 1 -zerolatency 1 -nonref_p 0 -init_qpP 0 -init_qpB 0 -init_qpI 0 -weighted_pred 1 -coder 2 -b_ref_mode 0 -bf 0 -multipass 2 -maxrate:v 512M -bufsize:v 512M `
-sws_flags spline+accurate_rnd+full_chroma_int+full_chroma_inp `
-map '0:a:0' -c:a:0 copy `
-color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range "tv" `
-metadata title="FFmpeg_Screen_Recording" -metadata comment="$(get-date -f yyyy-MM-dd_HH-mm-ss)_any_comment" `
-f mov `
"FFmpeg_filter_$(get-date -f yyyy-MM-dd_HH-mm-ss).mov"
-ss 00:15:56 `
-i "video.mov" `
-to 00:00:16 `
ffmpeg -h encoder=h264_nvenc
ffmpeg -h muxer=mov
-t duration record or transcode "duration" seconds of audio/video
-fs limit_size set the limit file size in bytes
-copyts copy timestamps
-vsync video sync method (deprecated)
-movflags faststart
neighbor
area
gauss
sinc
lanczos
spline
gcc 11.2.0 (Rev7, Built by MSYS2 project) www.gyan.dev
Hyper fast Audio and Video encode
https://aka.ms/PowerShell-Release?tag...
https://obsproject.com/
https://ffmpeg.org/
https://github.com/Xaymar/obs-StreamF...
https://obsproject.com/forum/resource...
/ @igrayuchi
https://store.steampowered.com/app/73...
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 15.9 GiB
Duration : 5 min 57 s
Overall bit rate mode : Variable
Overall bit rate : 381 Mb/s
Writing application : Lavf59.17.101
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : 3 Ref Frames
Format settings, CABAC : No
Format settings, Reference fra : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 5 min 57 s
Bit rate mode : Variable
Bit rate : 381 Mb/s
Maximum bit rate : 512 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.765
Stream size : 15.9 GiB (100%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 5 min 57 s
Bit rate mode : Constant
Bit rate : 180 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 7.67 MiB (0%)
Default : Yes
Alternate group : 1