2020 09 23 ffmpeg Copy Just Video and Audio Stream
just select first video and first audio stream… no subtitle
ffmpeg -i input.mkv -map 0:v -c:v copy -map 0:a -c:a copy outputfile.mkv
cutting time, you have to set an time marker at which point it will be cut. Example at 0 hour 12 min 16 sec.
ffmpeg -i input.mkv -t 00:12:16 -map 0:v -c:v copy -map 0:a -c:a copy outputfile.mkv
if you have to select all audio and all video streams map flag will be drop and just do
2020 09 20 virt-manager shared folder
How to set up shared folders in virt-manager the host is the physical machine and the guest machine is the virtual-machine create a folder
root@host# mkdir /share
root@host# chmod 777 /share
Afterwards shut down the guest if it’s running and attach the new filesystem in virt-manager:
Switch the view to detail hardware view: View > Details Add a device (Gerät hinzufügen) select filesystem (Dateisystem auswählen) source path (/share in our case) and virtual target path (anything you like, I will go with /sharepoint) Driver (Treiber) = default Switch mode to Mapped if you need to have write access from the guest Confirm and start the VM again Now you can mount your shared folder from the VM:
2020 09 20 hplip
install cups packages start and enable sudo systemctl enable cups.service
download package && extract sudo pacman -Ss hplip
gunzip hplip
cd into /usr/share/ppd/HP/ && cp it cp /usr/share/ppd/HP/hp-laserjet_professional_p_1102w.ppd.gz /home/$USER/Downloads/ && tar -xzf /home/$USER/Downloads/hp-laserjet_professional_p_1102w.ppd.gz
adding printer goto localhost:631
cups verwaltung drucker hinzufügen kein drucker, vielleicht fehlt avahi sudo systemctl status avahi-daemon.service
drucker auswählen und installieren. printer teilen auswählen ppd einfügen reboot hplip downloaden && installieren auf Version achten https://developers.hp.com/hp-linux-imaging-and-printing/plugins
hplip-plugin installieren hp-plugin -i