====== Software Projects ====== ===== play-mpv-compress-h265 ===== https://gitlab.com/memeruiz/play-mpv-compress-h265 * First you have to create a m3u playlist with your favorite program. * Then run my-mpv to create a my-mpv playlist file: my-mpv -w 1980 -v 1080 -c mpv_conf_file -p playlist.m3u * Then you have to create a trained svm. For that you can use: train_img_info_classifier or the same compress-h265 with -t option (usage instructions missing) * Then Compress! ==== Usage in Intel graphics accelerated gpus: ==== killall ffmpeg; compress-h265 -d qsv -e hevc_qsv --ml nb.conf --delete --replace -y 1080 -c mpv_config_2020.08.19 -p list_2020.08.19.m3u -r report-`date +%s` ==== Usage in Nvidia gpus: ==== killall ffmpeg; compress-h265 -d cuda -e hevc_nvenc --ml nb.conf --delete --replace -y 1080 -c mpv_config_2020.08.19 -p list_2020.08.19.m3u -r report-`date +%s` Remember that you can only use gpus that support h265 hardware accelerated compression: https://trac.ffmpeg.org/wiki/HWAccelIntro