This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "$(date): Script started with paramters {$1} and {$2}" >> /home/recordings.log | |
newfile=$(cut -c -4 <<<"$2") | |
path="$1" | |
#/usr/bin/ffmpeg -i "{$1}/{$2}".mkv -codec copy "{$1}/{$newfile}".mp4 | |
# iOS compatible | |
/usr/bin/ffmpeg -i "{$1}/{$2}".mkv -c:v libx264 -crf 23 -c:a aac -movflags faststart "{$1}/{$newfile}".mp4 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.500 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.55/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NetDev] | |
Name=enp0s25.500 | |
Kind=vlan | |
[VLAN] | |
Id=500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25 | |
[Network] | |
DHCP=ipv4 | |
;these are arbitrary names, but must match the *.netdev and *.network files | |
VLAN=enp0s25.100 | |
VLAN=enp0s25.200 | |
VLAN=enp0s25.300 | |
VLAN=enp0s25.400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.400 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.54/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.400 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.55/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.300 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.53/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.200 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.53/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
Name=enp0s25.100 | |
[Network] | |
DHCP=no | |
[Address] | |
Address=192.168.1.52/24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NetDev] | |
Name=enp0s25.400 | |
Kind=vlan | |
[VLAN] | |
Id=400 |