Schlagwort: mac

Leave a reply

Checksum – Check

If you want to compare to folder, which are not based on the same system you can create to text files with an command and the compare them.

Linux systems use md5sum:

find . -type f -exec md5sum {} ';' >source_md5.txt
find . -type f -exec md5sum {} ';' >target_md5.txt

Mac systems use md5:

find . -type f -exec md5 {} ';' >source_md5.txt
find . -type f -exec md5 {} ';' >target_md5.txt

Then you can compare this files using following command.

diff <(sort source_md5.txt) <(sort target_md5.txt)

Leave a reply

Mac – not verified developer

In the last days I wanted to install LR/Mogrify 2 in my Lightroom Setup on my Big Sur MacBookPro. After the installation of the Plugin I got following error:

“magick” cannot be opened because the developer cannot be verified.

macOS cannot verify that this app is free from malware

and after this I got this message.

Failed to run Mogrify aborting export

You can fix it by open the Security Settings in your System Preference Panel and click on „Allow Anyway“

Security & Privacy

Leave a reply

auto-convert to h265

My NAS has a lot of old privat video files and I want to convert them to the new h265-codec to save a lot of space. First thing to say is that you need a lot of CPU Power to process the video transcoding. Plan is to create a script that search the folder structure and then convert the file, remove the old (mov or mp4 file) and replace it with the new h265 encoded file.

After some research I got to following:
with help of Marcel in this post and Thomas Böhm

CPU rendering

find * -type f \( -iname \*.mp4 -o -iname \*.mov \) -exec ffmpeg -i {} -vcodec libx265 -crf 18 -vtag hvc1 temp_{} \; -exec mv temp_{} {} \;

If you just convert one file you use following command:

ffmpeg -i <path_to_orignal_file> -c:v libx265 -vtag hvc1 -crf 18 <path_to_output_file>

You can change the setting -crf to optimise you output files bitrate
If you want to know more about it visit Werner Robitza Homepage LINK

Apple T2 Chip – faster transcoding

If you use an Apple Mac Device with an T2 Chip (most OS devices after 2018) you can speed up the conversation a lot by using the hevc_videotoolbox of ffmpeg. This will increase the speed more than 30 times, compared to CPU rendering. BUT the quality is getting really bad. I would recommend to use the classical CPU rendering.

ffmpeg -i <path_to_orignal_file> -vcodec hevc_videotoolbox -vtag hvc1 -crf 18 <path_to_output_file>

After some testing and playing around I created following script. The logging is in englisch and german mixed, sorry for that.

You need to install ffmpeg and exiftool (this will help copy the metadata of the original video file to the new created one, so you do not lose the creation date). On a Mac you can use Homebrew to install the packages.

First install Homebrew:

/bin/bash -c "$(curl -fsSL"

then ffmpeg:

brew install ffmpeg

and now exiftool:

brew install exiftool

Now you can create a new shell script and copy the content into your empty file. Move the file to the folder which you want to transcode (take care the it will automatically do it recursive). Then you have to change the last line in the script to the folder path you have stored the script. Now you can start the transcoding with

chmod + x <your-script-name>
#and then
# this script can help you to convert files in folders and subfolder to h265 files (using CPU rendering, you can change the ffmpeg parameters if you need)
# copy the script to the folder you want to convert files, and change the path in the last lines of the script
# you need ti have ffmpeg and exiftool installed. On the mac you can use Homebrew

mkdir ~/Documents/log

machwas() {
    wo_bin_ich=$( pwd )
    echo $date "bearbeite Ordner ${wo_bin_ich}/ -------" >> ~/Documents/log/H265_transcoding.log
    IFS=$(echo -en "\n\b")
    for f in *; do
        # fuer alle Ordner
        if [ -d "$f" ]; then
            echo $date "habe Ordner $f erkannt" >> ~/Documents/log/H265_transcoding.log
            (cd -- "$f" && machwas)
                if [ $(find $f -type f -maxdepth 0 -iname "*.mp4" -o -iname "*.mov"| wc -l) -gt 0 ]
                    echo $date $f 'is mov or mp4' >> ~/Documents/log/H265_transcoding.log
                    if mdls -name kMDItemCodecs $f | grep -q "HEVC"
                        echo $date $f 'is HEVC' >> ~/Documents/log/H265_transcoding.log
                        echo $date $f 'is not HEVC, starting to prozess the files ATTENTION' >> ~/Documents/log/H265_transcoding.log
  #                      echo $f
                        name=$(basename "$f")
  #                      echo $name
                        ffmpeg -i $f -vcodec libx265 -crf 18 -vtag hvc1 /tmp/$name >> ~/Documents/log/H265_transcoding.log
                        exiftool -tagsFromFile $f -api largefilesupport=1 -extractEmbedded -all:all -FileModifyDate -overwrite_original /tmp/$name >> ~/Documents/log/H265_transcoding.log
                        mv /tmp/$name $f
                    echo $date $f ' this is not an video file of the type mp4 or mov' >> ~/Documents/log/H265_transcoding.log

# Aufruf des Ganzen
cd  /Users/admin/Movies

Maybe I will get time in the next weeks to change the language to english and optimize the workflow.

Leave a reply

Filemaker Install on MacOS Server

If you try to install Filemaker on a MacOS System with the installed server app you will get following error.

This update cannot be installed while Apache is still running. Please stop Apache and try again.

If you have a newer System than 10.12 (High Sierra) you can not use the „serveradmin stop“ command to stop the web services.

If you check the services you can modify (in 10.14 for example), you will get following:

sudo serveradmin list

So we have to change the webserver settings in the apache config file. Edit it with following command:

sudo nano /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf

Search for the line with „Listen 80 & Listen 443“ and set a „#“ in front of it. Save the file and reboot your Mac. (or type „sudo killall httpd“)

mymacpro:~ sadmin$ cat /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf
DocumentRoot /Library/Server/Web/Data/Sites/Default
ServerRoot /usr
DirectoryIndex index.html index.php default.html
ErrorLog "/private/var/log/apache2/service_proxy_error.log"
CustomLog "/private/var/log/apache2/service_proxy_access.log" combinedvhost
LogLevel info ssl:info
PidFile /var/run/
User _www
Group _www

#Listen 80
#Listen 443


Leave a reply

Systeminformationen herunterladen

Die App „Systeminformationen“ bietet einen Überblick mit Hardware-, Software- und Netzwerkinformationen zu deinem Mac.

In der App „Systeminformationen“ findest du exakte Spezifikationen und weitere Angaben zu deiner Mac-Hardware und -Software einschließlich Netzwerk und externen Geräten. In manchen OS X-Versionen heißt diese App „System-Profiler“.

Wähle das Menü „Apple“ () > „Über diesen Mac“ aus. Dort findest du einen Überblick über deinen Mac einschließlich Modell, Prozessor, Arbeitsspeicher, Seriennummer und macOS-Version

Um weiterführende Details in der App „Systeminformationen“ einzusehen, klicke auf die Taste „Systembericht/System Report“.

About this Mac

Dann sollte sich folgendes Fenster öffnen:

Nun „CMD + S“ drücken und die Datei abspeichern. Diese Datei kann nun verschickt werden


Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.