diff --git a/Convert2mkv.sh b/Convert2mkv.sh index 8f76b18..5ae7eee 100755 --- a/Convert2mkv.sh +++ b/Convert2mkv.sh @@ -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 # 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 - 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 ## Show help echo -e "** Konvertiert eine beliebige Videodatei in ein vp9/libvorbis mkv Kontainer. Benutzung: \n\t$(basename $0) " diff --git a/README.md b/README.md index 1f04fe4..5aea551 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ See also at [LUG-VS-Wiki Nützliche Scripte](https://lug-vs.org//lugvswiki/index |Script|Description| |---|---| |[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| |[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| |[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)| -|[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))| |[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| diff --git a/SchredderHDD.sh b/SchredderHDD.sh index 9a69529..c1e0886 100755 --- a/SchredderHDD.sh +++ b/SchredderHDD.sh @@ -1,7 +1,7 @@ #!/bin/sh # Löscht ein komplettes Device # 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) ##Status anzeigen: @@ -28,7 +28,7 @@ fi # Device zuweisen 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/ *//') RNDOM=$(( 20 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s NULLS=$(( 40 * 1024 * 1024 )) # Durchsatz bei Zufallszahlen in B/s