What tag to use for storing my star rating to a photo

There is a standard tag defined in XMP (xmp:Rating) for the purpose but not in EXIF or IPTC.  Some softwares use EXIF 0×4748 tag to store star rating but it is only a custom Microsoft tag.  Some softwares use IPTC ApplicationRecord Urgency tag (Tag ID 10) to store star rating.  In fact, there are just a few tags defined in all XMP, EXIF and IPTC meta standard e.g. Date/Time, Description, Creator, Copyright. Useful guideline can be found at http://www.metadataworkinggroup.org/especially the document – Guidelines For Handling Image Metadata.

I realize these when investigating the problem when my star rating failed to be recognized in XBMC “Picture” “Personal Rating” via LDNA.

Posted in Software | Tagged , , , , | Comments Off

QNAP NAS “unknown file” type folder in NTFS external HDD

Be careful if you are using an NTFS formatted HDD connected to QNAP NAS (TS-112 running firmware 3.5.2) via USB or eSATA as external HDD.  Some folders may appear as “unknown file” type and you cannot click the folder to access the data inside the folder.  The folder size appears strangely as always 4k bytes.  If you disconnect the HDD from the NAS and connect the HDD directly to Windows 7 PC, you will find the content in the folder is still there. The problem happened to me twice.  In both cases, the folders and data were created via Windows 7 when the HDD directly connected to Windows 7.  For those folder and data created via NAS, there is no such problem so far.  But sometimes, I really prefer to load data from Windows 7 bypassing NAS for shorter loading time.  Many users have been complaining in QNAP forum but no satisfactory response from QNAP so far.

Posted in Hardware | Tagged , | Comments Off

XBMC 11.0 Eden Beta 1

XBMC 11.0 Eden Beta 1 plays MTS or M2TS video file sluggishly at the beginning for about 1 second and then goes smoothly as normally. The current stable release 10.1 Dharma has no such problem.  Hope the problem will be fixed in final version of Eden.  To keep on using the beta version, I could get around the problem by configuring XMBC to use external player e.g. MPC-HC or WMP for MTS or M2TS video file playback.  I tried it with MPC-HC and it worked but I preferred to fall back to Dharma.

Posted in Software | Tagged , , | Comments Off

File naming convention

I name my photo file or video file as 110108_GF1_1000117 where 110109 is the date when the photo or video was taken, GF1 is the camera or videocam model and 1000117 is the sequence number of the original file. This will give more likely an unique file name within all my collection. Despite the files may be kept in separate folders, name crash may still happen when they will be cached in other devices or uploaded to some online album.  Hence, unique naming convention is desirable.  If the meta date e.g. EXIF is erased by mistake, I still know at least the date when the photo was taken.  I still keep the original sequence number so that I can relate the file to the original, especially when the photo was taken by the other and given to me.  In that case, the file name is 110108_OTHER_1000117.  For music file or movie file, I use the song name or the movie name.  Hence, the file name may not be in English e.g. in Chinese or Japanese.

 

Posted in DAM | Comments Off

Album artist tag vs Artist tag

When tagging a music file, “Album artist” and “Artist” tags often cause confusion.  In a shop, if I want to find the album by artist in a music shop, “Album artist” is the tag to use.  “Artist” tag indicates the performers appear in a specific track within the album and hence it could be better named as track artist.  Therefore, “Album artist” may be tagged as “Various artist” or “Soundtracks” etc.  For classical music, “Album artist” is often used to hold the composer similar to most music shop practice.  “Composer” tag is not commonly supported by most software or portable media player while “Album artist” or “Artist” tags are more likely supported.  If I need to tag music file manually, I use MP3TAG which is not limited to MP3 file format as its name may be misleading.

Posted in CAS | Tagged | Comments Off

Health checking to media files

How can I ensure my photo files loaded into hard disk few years ago are still in good health without any data corruption.  The storage material could be aging to a point when some data is no longer kept in proper shape.  Manually inspecting 1000+ photo will not be healthy to my eyes for sure.  I let the computer to do it for me by comparing the photo files with their checksum.  Therefore, I only need to do manual inspection once after creating the checksum and freezing it.  I use a tool called FileVerifier which creates a FVA checksum text file.  The file contains multiple lines – one line for one file name and its checksum.  The tool can automatically compare the files with their checksum and highlight those which don’t match. Most importantly, I can just select those un-matched files and re-compute their checksum and update to the checksum file while leaving the matched files checksum untouched.  To be prudent, I create a new checksum file rather than update the existing checksum file. That way, I can compare the new checksum file with the old one using tool e.g. ExamDiff. The un-matched files also need to be manual inspected of course.  Similar health check is done on optical media e.g. DVD disk.

Posted in DAM | Comments Off

File format for archiving multimedia

My preferred file format for archiving multimedia is:

  • Music file: FLAC – lossless, compressed, not proprietary and able to play on different machines
  • Photo file: JPG and camera maker’s original RAW
  • Video file: videocam maker’s original format e.g. AVI, MOV, MTS, M2TS
  • Movie diskette: ISO diskette image

Except for less powered portable devices, I play the media directly from the file so that there is always a random check about the health of the media files.

Posted in DAM | Tagged , , , | Comments Off

Video file thumbnail display from Twonky

Twonky media server 6.0.34 embedded in my QNAP NAS can stream music, picture and video to media players e.g. XBMC via various protocols e.g. SMB, DLNA.  The latter is more preferable because I can navigate and locate the media via more meta data.  However, thumbnail for some video file format may not be displayed properly on XMBC.  For SMB, thumbnail can be displayed for avi or mov format but not mts or m2ts format.  XMBC solution is to have a jpg file named as tbn residing on same folder as the video file.  It only works via SMB and not via DLNA.  In fact, thumbnail is not displayed for neither of the 4 formats via DLNA.  Twonky solution is to have a jpg file named as jpg residing on same folder as the video file.  It may mess up with the real jpg picture files.  Therefore, I store picture file and video file in separate folder.

Posted in Software | Tagged , , , , , | Comments Off

Create thumbnail file for MTS M2TS video file using ffmpeg

Below are the commands

  • to convert a specific file
  • to convert multiple files in a single batch run
  • to convert mov or avi video files in a single batch run
ffmpeg -itsoffset -1 -i mtsc.m2ts -vcodec mjpeg -vframes 1 -an -f rawvideo -s 1280x720 fftest.jpg

for %x in (*.m2ts) do ffmpeg -itsoffset -1 -i "%x" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 1280x720 "%~nx.jpg"

for %x in (*.mov) do ffmpeg -i "%x" -f mjpeg -t 0.001 -ss 1 "%~nx.jpg"
Posted in Software | Tagged , , , | Comments Off

EXIF IPTC XMP support in Zenphoto

The latest Zenphoto (release 1.4.6.1 as of 8 Dec 2011) failed to display these meta data.  On photo display screen, on clicking the “Image Info”, a window is supposed to pop up displaying the meta data. However, no pop up windows pops up on clicking the link at all.  I checked release 1.4 and release 1.3.  Same problem with the former while the latter is OK.  Some data e.g. Lens info is only defined in XMP and Zenphoto can extract data from XMP using xmpMetadata plugin starting from release 1.2.7.  Furthermore, Zenphoto can recognize UTF-8 meta data.  Therefore, I still keep on using release 1.3 until the meta display bug will be resolved in the future.

Posted in Software | Tagged | Comments Off