Codiere ich die Videos manuell via Kommandozeile und ffmpeg (ohne qt-faststart) geht alles.
--[[
cmdline = cmdlineQuote() ..
'"' .. h.qtfstart .. '" "' .. tmpVideoFilename .. '" "' .. dstVideoFilename .. '" 2> "' .. outfile ..'"' ..
cmdlineQuote()
writeLogfile(4, cmdline .. "\n")
if LrTasks.execute(cmdline) > 0 then
writeLogfile(3, " error on: " .. cmdline .. "\n")
writeLogfile(3, "qtfstart report:\n" ..
"===========================================================================\n"..
LrFileUtils.readFile(outfile) ..
"===========================================================================\n")
LrFileUtils.delete(passLogfile)
LrFileUtils.delete(outfile)
LrFileUtils.delete(tmpVideoFilename)
return false
end
]]
14:42:46, INFO : PSInitPlugin:
PSUploader: '/Applications/Synology Photo Station Uploader.app/Contents/MacOS'
exiftool: '/usr/local/bin/exiftool'
ffmpeg: '/Applications/Synology Photo Station Uploader.app/Contents/MacOS/ffmpeg/ffmpeg'
14:42:46, INFO : PSInitPlugin: Successfully added 2 custom video export presets.
14:43:52, INFO : Environment: plugin: 6.9.4.20200526 Lr: 9.4 OS: 10.15.7.19H15 Lang: de
14:43:52, INFO : processRenderedPhotos starting
14:43:52, INFO : "exportParams":{"RAWandJPG":"false", "addVideoHigh":"None", "addVideoLow":"None", "addVideoMed":"None", "addVideoQuality":"2", "addVideoUltra":"None", "copyTree":"true", "createDstRoot":"true", "dstFilename":"", "dstRoot":"PhotoStatLr-Test", "exifTranslate":"true", "exifXlatFaceRegions":"true", "exifXlatLabel":"true", "exifXlatRating":"true", "hardRotate":"false", "isPS6":"true", "largeThumbs":"true", "locationTagField1":"{LrFM:isoCountryCode}", "locationTagField2":"{LrFM:country}", "locationTagField3":"{LrFM:stateProvince}", "locationTagField4":"{LrFM:city}", "locationTagField5":"{LrFM:location}", "locationTagSeperator":"-", "locationTagTemplate":"", "logLevel":"2", "orgVideoForceConv":"false", "orgVideoQuality":"3", "password":"***", "personalPSOwner":"", "proto":"https", "proto2":"https", "psPath":"/photo/", "psUrl":"https://--URL--/photo/", "psVersion":"68", "publishMode":"Publish", "renameDstFile":"false", "serverTimeout":"10", "serverTimeout2":"10", "serverUrl":"https://--URL--", "servername":"--URL--", "servername2":"", "sortPhotos":"false", "srcRoot":"/Volumes/Lightroom-DB/Bilder", "storeDstRoot":"true", "thumbGenerate":"true", "thumbQuality":"80", "thumbSharpness":"MED", "uploadTimestamp":"capture", "usePersonalPS":"false", "useSecondAddress":"false", "username":"nikadmin", "xlatLocationTags":"true"
}
14:43:52, ERROR: Initialization of Standard Photo Station at
https://--URL--
failed!
Reason: ErrorCode: -1004
14:43:52, INFO : Photo StatLr: Publish failed!: Initialization of Standard Photo Station at
https://--URL--
failed!
Reason: ErrorCode: -1004
14:43:57, INFO : Get comments: nothing to do.
14:43:57, INFO : Get ratings/metadata: nothing to do.
21:13:46, TRACE: LrHttp failed
errorCode: cannotConnectToHost
name: Verbindung zum Server konnte nicht hergestellt werden.
nativeCode: -1004
21:13:46, TRACE: CheckForUpdate failed: Error "cannotConnectToHost" on http request:
Verbindung zum Server konnte nicht hergestellt werden.
#! /bin/sh
typeset -i counter=0;
if [ "$1" = "" ] ; then
echo "Missing Parameter - Usage: $0 <Path containing JPGs>";
exit 1;
fi;
if ! [ -d "$1" ]; then
echo "Directory not existing - Usage: $1 <Path containing JPGs>";
exit 1;
fi;
for file in $(find $1 -maxdepth 1 -type f -iname "*.JPG");
do
file_date=$(grep --binary-files=text "CreateDate=" $file | tr ' ' '\n' | grep --binary-files=text "CreateDate=" | cut -b17-35);
year=${file_date:0:4};
month=${file_date:5:2};
day=${file_date:8:2};
hour=${file_date:11:2};
minute=${file_date:14:2};
second=${file_date:17:2};
touch -amt $year$month$day$hour$minute.$second $file;
counter=$counter+1;
echo $file ": File Date changed to " $year$month$day$hour$minute.$second;
done
echo $counter "files changed.";
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.