I found this for the Cinema DNG's related tags : http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/cinemadng/pdfs/CinemaDNG_Format_Specification_v1_1.pdf
This is the wrong thread i think, but cinemaDNG can simply be a folder of DNG files with sequential numbers so the spec that needs to be followed in just the plain DNG spec.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdfCurrently using dng_validate (which is in the DNG SDK) gives these errors with DNG's from raw2dng which i've already let a1ex know about (this thread is about an OSX wrapper for that app):
*** Warning: IFD 0 Model is not NULL terminated ***
*** Warning: IFD 0 UniqueCameraModel is not NULL terminated ***
*** Warning: The ExposureTime is <= 0 ***
*** Warning: Too little padding on left edge of CFA image (possible interpolation artifacts) ***
*** Warning: Too little padding on top edge of CFA image (possible interpolation artifacts) ***
*** Warning: Too little padding on right edge of CFA image (possible interpolation artifacts) ***
*** Warning: Too little padding on bottom edge of CFA image (possible interpolation artifacts) ***
To solve that wee need to investigate more the issue, so far I se two problems one is the swallowing of the app and another is the error from raw2dng, for the first I'll try to save dng in the final folder directly, but I don't know yet how.
Yeah, the script is using "ls" to check to see if the folder has any DNG files, but with Squig's large 52gb file this produces so many dng files that ls can't deal with them all, so the script fails before moving all the DNG's out of the resources directory (they actually get converted fine).
I don't have any large files to test (32gb lexar 1000x is largest i have),
Squig, could you try replacing your script file with this and test with your 52gb file? (
http://www.magiclantern.fm/forum/index.php?topic=5404.msg37139#msg37139) I'm not sure what performance will be like and definitely ideal is for raw2dng to be modified to accept destination directory as an argument (ask a1ex?).
#!/bin/sh
importFILE() {
if [ "${file_is: -4}" == ".RAW" ] ; then
# echo "File $file_is Supported"
name=$(basename -s .RAW "$file_is")
fldr="$(dirname "$file_is")"/
./raw2dng "$file_is"
mkdir "$fldr$name"
find . -type f -name "*.dng" -print | \
while read filename
do
mv "${filename}" "$fldr$name"/
done
else
echo "File not Supported"
fi
}
checkFLDR() {
for d in $(ls "$FILES_FLDR"); do
if [ -d "$FILES_FLDR/$d/" ];then
FILES_FLDR="$FILES_FLDR$d"
echo "we have: $FILES_FLDR"
for f in $(ls $FILES_FLDR); do
file_is="$FILES_FLDR$f"
echo "SEARCHING: $file_is"
importFILE
done
else
file_is="$FILES_FLDR/$d"
echo "SEARCHING file: $file_is"
importFILE
fi
done
}
#################
echo "raw2dng converter GUI for OsX"
echo "Beta ver.0.5"
if [ -d "$1" ];then
FILES_FLDR="$1"/
echo "SEARCHING: $FILES_FLDR"
checkFLDR
elif [ -f "$1" ]; then
file_is="$1"
importFILE
else
echo "Drop a ML .RAW video file or folder here"
fi
exit 0