#!/bin/bash | |
# | |
# Plex DVR Postprocessing | |
renice -n 19 -p $$ | |
ionice -n 3 -p $$ | |
# https://forums.plex.tv/t/plexpostproc-script-error-1-failed-to-convert-using-ffmepg/316669/7 | |
LD_LIBRARY_PATH=/home/micha/ffmpeg_build/lib:/home/micha/ffmpeg_build/lib:/usr/lib/x86_64-linux-gnu | |
export LD_LIBRARY_PATH |
[Unit] | |
Description=WireGuard wg0 socket | |
[email protected] | |
[email protected] | |
[Socket] | |
ListenDatagram=51228 | |
Accept=false | |
[Install] |
=== Visual Studio Community 2019 for Mac === | |
Version 8.2.5 (build 42) | |
Installation UUID: be905dc1-cf48-41ed-aafd-8f0626e45e3c | |
GTK+ 2.24.23 (Raleigh theme) | |
Xamarin.Mac 5.14.0.85 (d16-2-fix-mac-updates / 86973979) | |
Package version: 600000333 | |
=== Mono Framework MDK === |
# Contribute: https://gitlab.com/ZeroDot1/CoinBlockerLists/issues/new | |
# Copyright: (c) ZeroDot1, 2019 | |
# Description: This list disables browser based miners such as coin-hive | |
# Donate: http://bit.ly/CBLDonate Every donation keeps the future development going. Thank you. | |
# Homepage: https://gitlab.com/ZeroDot1/CoinBlockerLists/ | |
# Last modified: 2019-09-13 15:09 | |
# License: https://gitlab.io/ZeroDot1/CoinBlockerLists/LICENSE | |
# [CoinBlocker hosts List by ZeroDot1] | |
0.0.0.0 0-100-195.btcc.com | |
0.0.0.0 0-104.openvpn.f2pool.com |
# Title: aphex3k/blacklist | |
# This blocklist is tailored to my liking and specific use case. Use | |
# with caution and at your own risk. | |
# =============================================================== | |
vungle.com | |
www.vungle.com | |
bild.de | |
www.bild.de | |
t-online.de |
The goal is to transcode a DVR recording containing one video source in mpeg2 format, any number (typically 2-3) of audio sources in ac-3 format and maybe a subtitle source all together in a transport stream container. In addition the video stream might be interlaced.
The target is a video file playable natively on modern iOS and Android devices using their platforms native and hardware supported playback capabilities.
The target file container and supported stream formats are listed below to ensure very good playback compatibility on modern devices and platforms.
- MP4/M4V container format
ffmpeg -y -hwaccel cuvid -c:v mpeg2_cuvid -i input.ts -c:v h264_nvenc -preset slow -profile:v high -level 4.2 -vf format=yuv420p -rc vbr_hq -qmin 23 -qmax 32 -maxrate 5M -bufsize 10M -c:a copy -map 0:0 -map 0:1 output.mp4
#!/bin/bash | |
t_width=800 | |
t_height=480 | |
if [ -f "${1}" ] | |
then | |
convert "${1}" -auto-orient oriented.bmp | |
convert oriented.bmp -resize ${t_width}x${t_height} foreground.bmp | |
convert oriented.bmp -resize ${t_width}x${t_height}^ -gaussian-blur 5x5 -crop ${t_width}x${t_height}+0+0 -modulate 120,10 background.bmp |