README.md: updated changes

Convert2mkv.sh: w/o rescaling as default
SchredderHDD.sh: Improved in case of more findings and pushed to number via $(( NN ))
This commit is contained in:
Ulf 2022-01-16 13:34:16 +01:00
parent f1a0256814
commit 3f6794e05c
3 changed files with 7 additions and 5 deletions

View file

@ -22,7 +22,9 @@ if [ $# -gt 0 ] && [ -e $1 ]; then
## Convert input Video to VP8 and scale it to 1080p - convert audio to libvorbis in an mkv container ## Convert input Video to VP8 and scale it to 1080p - convert audio to libvorbis in an mkv container
# ffmpeg -i $1 -c:v vp8 -vf scale=1920:1080 -c:a libvorbis ${filename}.mkv # ffmpeg -i $1 -c:v vp8 -vf scale=1920:1080 -c:a libvorbis ${filename}.mkv
## Scale imput video to 1080p and convert audio to libvorbis in an mkv container ## Scale imput video to 1080p and convert audio to libvorbis in an mkv container
ffmpeg -i $1 -vf scale=1920:1080 -c:a copy ${filename}.mkv # ffmpeg -i $1 -vf scale=1920:1080 -c:a copy ${filename}.mkv
## Convert video and audio copy in an mkv container
ffmpeg -i $1 -c:v copy -c:a copy ${filename}.mkv
else else
## Show help ## Show help
echo -e "** Konvertiert eine beliebige Videodatei in ein vp9/libvorbis mkv Kontainer. Benutzung: \n\t$(basename $0) <Videodatei>" echo -e "** Konvertiert eine beliebige Videodatei in ein vp9/libvorbis mkv Kontainer. Benutzung: \n\t$(basename $0) <Videodatei>"

View file

@ -10,13 +10,13 @@ See also at [LUG-VS-Wiki Nützliche Scripte](https://lug-vs.org//lugvswiki/index
|Script|Description| |Script|Description|
|---|---| |---|---|
|[CheckKernel.sh](CheckKernel.sh)|Show some Kernel information (supports -d for debug und -v for verbose)| |[CheckKernel.sh](CheckKernel.sh)|Show some Kernel information (supports -d for debug und -v for verbose)|
|[Convert2mkv.sh](Convert2mkv.sh)|Convert an VideoFile as parameter in an 'mkv' container (vp9/libvorbis)| |[Convert2mkv.sh](Convert2mkv.sh)|Convert an VideoFile as parameter in an 'mkv' container (vp9/libvorbis) updated 2022-01-16|
|[dfc.sh](dfc.sh)|Script shows the free memory of all mounted file systems beside *tmpfs traffic light colored| |[dfc.sh](dfc.sh)|Script shows the free memory of all mounted file systems beside *tmpfs traffic light colored|
|[duc-index.sh](duc-index.sh)|Script to be added e.g. as cronjob, which generate an index w/o NFS and DavFS file system mounted files| |[duc-index.sh](duc-index.sh)|Script to be added e.g. as cronjob, which generate an index w/o NFS and DavFS file system mounted files|
|[make_exif-name.sh](make_exif-name.sh)|Add a comment in all *.jpg files in the actual and all subfolders| |[make_exif-name.sh](make_exif-name.sh)|Add a comment in all *.jpg files in the actual and all subfolders|
|[SavePC.sh](SavePC.sh)|Save some helpfull settings (not /home) and some general informatin| |[SavePC.sh](SavePC.sh)|Save some helpfull settings (not /home) and some general informatin|
|[SaveX11crash.sh](SaveX11crash.sh)|Save the X11 logs and the journalctl of the last 10 minutes (requires root)| |[SaveX11crash.sh](SaveX11crash.sh)|Save the X11 logs and the journalctl of the last 10 minutes (requires root)|
|[SchredderHDD.sh](SchredderHDD.sh)|Delete a mechanical Hard Disk (HDD) reliably to ensure before forward it to the recycling, that no old data are there| |[SchredderHDD.sh](SchredderHDD.sh)|Delete a mechanical Hard Disk (HDD) reliably to ensure before forward it to the recycling, that no old data are there updated 2022-01-16|
|[utf8.sh](utf8.sh)|Convert text from e.g. Windows latin1 to utf8 text (e.g. in READMEs or other text (not for office documents))| |[utf8.sh](utf8.sh)|Convert text from e.g. Windows latin1 to utf8 text (e.g. in READMEs or other text (not for office documents))|
|[wmf2svg.sh](wmf2svg.sh)|Example script converts WMF files in SVG to share it easily on the internet| |[wmf2svg.sh](wmf2svg.sh)|Example script converts WMF files in SVG to share it easily on the internet|
|[write-exif-comment.sh](write-exif-comment.sh)|Write JPEG EXIF comment in all *.jpg files| |[write-exif-comment.sh](write-exif-comment.sh)|Write JPEG EXIF comment in all *.jpg files|

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Löscht ein komplettes Device # Löscht ein komplettes Device
# Version 0.2.0 # Version 0.2.0
# Vom 2012-10-15 Aktualisert am 2022-01-11 # Vom 2012-10-15 Aktualisert am 2021-01-24
# (c) LUG-VS (GPL) # (c) LUG-VS (GPL)
##Status anzeigen: ##Status anzeigen:
@ -28,7 +28,7 @@ fi
# Device zuweisen # Device zuweisen
OF=$1 OF=$1
SIZE=$(( $(fdisk -l ${OF} 2> /dev/null | grep ${OF} | sed -r "s/.*\, (.*) byte.*/\1/I" | head -n1) )) SIZE=$(fdisk -l ${OF} 2> /dev/null | grep ${OF} | sed -r "s/.*\, (.*) byte.*/\1/I")
NAME=$(fdisk -l ${OF} 2> /dev/null | head -n2 | tail -n1 | sed 's/.*: *//' | sed 's/ *//') NAME=$(fdisk -l ${OF} 2> /dev/null | head -n2 | tail -n1 | sed 's/.*: *//' | sed 's/ *//')
RNDOM=$(( 20 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s RNDOM=$(( 20 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s
NULLS=$(( 40 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s NULLS=$(( 40 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s