

392·
2 months agoCracker? I barely know her?
Cracker? I barely know her?
I can see a scenario where we no longer need to dedicate a physical GPU to a VM with passthru (say to use a windows game/program which cannot run on Linux) and instead split the GPU between the host Linux and the VM.
I wonder if this can be done dynamically, ie. you do that only when you start the VM.
Ah the joys of compiling C++ with a thousand definitions of string. I never used this project, but I guess a cast to the expected type would make the compilation work.
Alternatively, this looks related to logging which maybe you can get away with disabling it if not needed.
To save videos from certain streaming sites that are not supported by yt-dlp, I catch the M3U playlist used by the page and with that I use this script that gets ffmpeg to put together the pieces into a single file.
#!/bin/bash if [ "$1" == "-h" ] || [ $# -lt 2 ]; then echo Download a video from a playlist into a single file echo usage: $(basename $0) PLAYLIST OUTPUT_VID exit fi nbparts=$(grep ^[^#] $1 | wc -l) echo -e "\e[38;5;202m Downloading" $(( nbparts - 1 )) "parts \e[00m" time ffmpeg -hide_banner -allowed_extensions ALL -protocol_whitelist file,http,https,tcp,tls,crypto -i $1 -codec copy $2