How do I export my ffmpeg recorded video to 2k or 4k?

|
alexmb7 2022-07-30 17:19:22
man kill
man pkill
thecatvoid 2022-07-30 17:19:35
siduck 2022-07-30 17:18:51
what does -2 mean here

-2 means SIGSTOP or sth

siduck 2022-07-30 17:19:44
thecatvoid 2022-07-30 17:19:35
-2 means SIGSTOP or sth

oh cool

thecatvoid 2022-07-30 17:19:54
SIGTERM or SIGKILL, im not sure
smol_mazunki 2022-07-30 17:20:01
siduck 2022-07-30 17:18:51
what does -2 mean here

linux_group-1388684.jpg

alexmb7 2022-07-30 17:20:13
man 7 signal
smol_mazunki 2022-07-30 17:20:15
check signal(7)
smol_mazunki 2022-07-30 17:20:19
alexmb7 2022-07-30 17:20:13
man 7 signal

speediest

alexmb7 2022-07-30 17:20:20
=}
alexmb7 2022-07-30 17:20:32
leet plusplus
siduck 2022-07-30 17:25:22
How do I export my ffmpeg recorded video to 2k or 4k? I upload my videos on youtube and youtube uses 2 codecs to compress videos.

AVC and VP09, if the yt channel’s small or doesnt get much views then yt will compress the video with AVC which results in reduced quality of video than the original one. Popular channels will get VP09 By default 🙁

So only thing to unlock VP09 codec on my videos is that I need to export them to 2k or 4k.

I tried the scale arg in ffmpeg and that resulted in laggy output, any other ways to upscale the video wtih ffmpeg ( without reducing the FPS in it )

@smol_mazunki @thecatvoid

alexmb7 2022-07-30 17:25:44
How To Set Up WireGuard Firewall Rules in Linux – nixCraft
https://www.cyberciti.biz/faq/how-to-set-up-wireguard-firewall-rules-in-linux/
smol_mazunki 2022-07-30 17:26:06
siduck 2022-07-30 17:25:22
How do I export my ffmpeg recorded video to 2k or 4k? I upload my videos on youtube and youtube uses 2 codecs to compress videos.

AVC and VP09, if the yt channel’s small or doesnt get much views then yt will compress the video with AVC which results in reduced quality of video than the original one. Popular channels will get VP09 By default 🙁

So only thing to unlock VP09 codec on my videos is that I need to export them to 2k or 4k.

I tried the scale arg in ffmpeg and that resulted in laggy output, any other ways to upscale the video wtih ffmpeg ( without reducing the FPS in it )

@smol_mazunki @thecatvoid

you should have recorded it in 4k

smol_mazunki 2022-07-30 17:26:12
there’s no magic upscaling
siduck 2022-07-30 17:27:15
smol_mazunki 2022-07-30 17:26:12
there’s no magic upscaling

oh ive seen video2x which uses waifu2x to do the same thing o_o

alexmb7 2022-07-30 17:27:33
and anti aliasing and anti noise and what not, hdr
siduck 2022-07-30 17:27:36
linux_group-1388696.jpg
example
alexmb7 2022-07-30 17:28:15
there is a specific half free player that upscales and max fps etc
alexmb7 2022-07-30 17:28:25
but nm thats not enc
siduck 2022-07-30 17:28:35
alexmb7 2022-07-30 17:28:15
there is a specific half free player that upscales and max fps etc

mpv? 🤔

smol_mazunki 2022-07-30 17:28:35
siduck 2022-07-30 17:27:15
oh ive seen video2x which uses waifu2x to do the same thing o_o

supersampling doesn’t magically create information from nothing

smol_mazunki 2022-07-30 17:28:39
but it might look better
thecatvoid 2022-07-30 17:28:43
siduck 2022-07-30 17:25:22
How do I export my ffmpeg recorded video to 2k or 4k? I upload my videos on youtube and youtube uses 2 codecs to compress videos.

AVC and VP09, if the yt channel’s small or doesnt get much views then yt will compress the video with AVC which results in reduced quality of video than the original one. Popular channels will get VP09 By default 🙁

So only thing to unlock VP09 codec on my videos is that I need to export them to 2k or 4k.

I tried the scale arg in ffmpeg and that resulted in laggy output, any other ways to upscale the video wtih ffmpeg ( without reducing the FPS in it )

@smol_mazunki @thecatvoid

you cant increase quality, maybe can fool youtube idk

siduck 2022-07-30 17:28:49
smol_mazunki 2022-07-30 17:28:39
but it might look better

yes, only this matters

siduck 2022-07-30 17:29:00
thecatvoid 2022-07-30 17:28:43
you cant increase quality, maybe can fool youtube idk

i dont want to increase the quality, yes only to fool youtube

siduck 2022-07-30 17:29:09
Im already recording it in lossless format
smol_mazunki 2022-07-30 17:29:37
siduck 2022-07-30 17:29:09
Im already recording it in lossless format

doubt you’re recording in vectorial format

siduck 2022-07-30 17:29:49
smol_mazunki 2022-07-30 17:26:06
you should have recorded it in 4k

ffmpeg -vf scale=-1:2160:flags=lanczos -video_size 1920×1080 -framerate 60 -f x11grab -i :1 -c:v libx264rgb -crf 0 -preset ultrafast -color_range 2 output.mp4

would the -video_size arg here mess with the scale arg?

alexmb7 2022-07-30 17:30:43
siduck 2022-07-30 17:28:35
mpv? 🤔

no.. svp

alexmb7 2022-07-30 17:31:00
i dunno about linux but andro iphone pc etc
alexmb7 2022-07-30 17:31:09
very nice when somewhen i discovered it
alexmb7 2022-07-30 17:31:29
fhd 120fps is too much for this snapdragon888 on this phone tho
alexmb7 2022-07-30 17:31:49
but anyway i dont use at all
i play music, sometimes code, thats all
smol_mazunki 2022-07-30 17:31:49
siduck 2022-07-30 17:29:49
ffmpeg -vf scale=-1:2160:flags=lanczos -video_size 1920×1080 -framerate 60 -f x11grab -i :1 -c:v libx264rgb -crf 0 -preset ultrafast -color_range 2 output.mp4

would the -video_size arg here mess with the scale arg?

options are applied in order

siduck 2022-07-30 17:33:26
smol_mazunki 2022-07-30 17:31:49
options are applied in order

ok i moved the scale arg after the input arg. The recording is laggy and my system lags when recording too

|