Difference between revisions of "ReNamer:Meta Tags"

From den4b Wiki
Jump to navigation Jump to search
(Extracting Meta Tags with 3rd party tools)
(Added screenshot)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Up|ReNamer}}
 
{{Up|ReNamer}}
 +
 +
[[File:MetaTagsDialog.png|frame|Insert meta tag dialog]]
  
 
Meta Tags allow users to extract meta information associated with files and use it for renaming. ReNamer supports a wide range of built-in meta tags, while 3rd party tools can be used for extracting tags which are currently not supported directly.
 
Meta Tags allow users to extract meta information associated with files and use it for renaming. ReNamer supports a wide range of built-in meta tags, while 3rd party tools can be used for extracting tags which are currently not supported directly.
Line 6: Line 8:
  
 
* Using [[ReNamer:Rules:Insert|Insert]], [[ReNamer:Rules:Replace|Replace]] or [[ReNamer:Rules:Rearrange|Rearrange]] rule to insert meta data directly into the filename,  
 
* Using [[ReNamer:Rules:Insert|Insert]], [[ReNamer:Rules:Replace|Replace]] or [[ReNamer:Rules:Rearrange|Rearrange]] rule to insert meta data directly into the filename,  
* Using [[ReNamer:Pascal Script:Functions#Meta Tags Extraction|CalculateMetaTag]] function in [[ReNamer:Rules:PascalScript|PascalScript]] to do more complex manipulations with the meta data.
+
* Using [[ReNamer:Pascal Script:Functions#Meta Tags Extraction|CalculateMetaTag]] function in [[ReNamer:Rules:PascalScript|PascalScript]] to do more complex manipulations with the meta data
 +
 
 +
== List of built-in Meta Tags ==
 +
 
 +
There are more than 100 built-in meta tags of various kinds:
 +
 
 +
* File information (size, dates, name, path, extension, and more).
 +
* Audio tags (title, artist, album, genre, track number, and more) in MP3, WMA, FLAC files.
 +
* Photo tags (date, camera make and model, description, and more) in EXIF/IPTC/TIFF formats.
 +
* Graphics properties (width and height, aspect ratio, number of pixels).
 +
* Document summary information (title, subject, author, page count).
 +
* File hashes (CRC32, MD5, SHA1, SHA256, SHA512).
 +
* Email properties (date sent, subject, sender) for EML and MSG (Outlook) formats.
 +
* Video properties (width and height, frames, duration, and more) for AVI format.
 +
* Automatically detected file extension using built-in [[ReNamer:Binary Signatures|Binary Signatures]].
 +
* File version information (product, company, version number, and more).
 +
* Miscellaneous (HTML title, current date).
  
 
== Editing Meta Tags ==
 
== Editing Meta Tags ==
Line 23: Line 41:
  
 
Here is list of some 3rd party tools which can be used for extracting meta data: [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool], [http://www.ffmpeg.org/ FFmpeg], [http://www.exiv2.org/ Exiv2], [http://mediaarea.net/en/MediaInfo MediaInfo]
 
Here is list of some 3rd party tools which can be used for extracting meta data: [http://www.sno.phy.queensu.ca/~phil/exiftool/ ExifTool], [http://www.ffmpeg.org/ FFmpeg], [http://www.exiv2.org/ Exiv2], [http://mediaarea.net/en/MediaInfo MediaInfo]
 
== List of built-in Meta Tags ==
 
 
''Note: The list of meta tags is taken from ReNamer 5.73.2 Beta''.
 
 
{| class="wikitable"
 
|-
 
! Tag !! Description
 
|-
 
| <tt>Date_Now</tt> || Current Date
 
|-
 
| <tt>File_SizeBytes</tt> || Size of file in bytes
 
|-
 
| <tt>File_SizeKB</tt> || Size of file in KB
 
|-
 
| <tt>File_SizeMB</tt> || Size of file in MB
 
|-
 
| <tt>File_DateCreated</tt> || File created date
 
|-
 
| <tt>File_DateModified</tt> || File last modified date
 
|-
 
| <tt>File_FilePath</tt> || Full path of the file
 
|-
 
| <tt>File_FileName</tt> || Full name of the file
 
|-
 
| <tt>File_BaseName</tt> || Base name of the file
 
|-
 
| <tt>File_Extension</tt> || Extension of the file
 
|-
 
| <tt>File_FolderName</tt> || Name of the parent folder
 
|-
 
| <tt>File_DOSName</tt> || Short name in the 8.3 format
 
|-
 
| <tt>ID3_Artist</tt> || ID3 Artist
 
|-
 
| <tt>ID3_Title</tt> || ID3 Title
 
|-
 
| <tt>ID3_Album</tt> || ID3 Album
 
|-
 
| <tt>ID3_AlbumArtist</tt> || ID3 Album Artist
 
|-
 
| <tt>ID3_Year</tt> || ID3 Year
 
|-
 
| <tt>ID3_Genre</tt> || ID3 Genre
 
|-
 
| <tt>ID3_TrackNo</tt> || ID3 Track Number
 
|-
 
| <tt>ID3_PartOfSet</tt> || ID3 Part Of Set
 
|-
 
| <tt>WMA_Artist</tt> || WMA Artist
 
|-
 
| <tt>WMA_Title</tt> || WMA Title
 
|-
 
| <tt>WMA_Album</tt> || WMA Album
 
|-
 
| <tt>WMA_Year</tt> || WMA Year
 
|-
 
| <tt>WMA_Genre</tt> || WMA Genre
 
|-
 
| <tt>WMA_TrackNo</tt> || WMA Track Number
 
|-
 
| <tt>FLAC_Artist</tt> || FLAC Artist
 
|-
 
| <tt>FLAC_Title</tt> || FLAC Title
 
|-
 
| <tt>FLAC_Album</tt> || FLAC Album
 
|-
 
| <tt>FLAC_Year</tt> || FLAC Year
 
|-
 
| <tt>FLAC_Genre</tt> || FLAC Genre
 
|-
 
| <tt>FLAC_TrackNo</tt> || FLAC Track Number
 
|-
 
| <tt>Audio_Duration</tt> || Duration of an Audio file
 
|-
 
| <tt>Audio_DurationMins</tt> || Duration of an Audio file in minutes
 
|-
 
| <tt>Audio_DurationSecs</tt> || Duration of an Audio file in seconds
 
|-
 
| <tt>HTML_Title</tt> || Title tag extracted from an HTML file
 
|-
 
| <tt>EXIF_Date</tt> || EXIF Original Date
 
|-
 
| <tt>EXIF_Model</tt> || EXIF Camera Model
 
|-
 
| <tt>EXIF_Make</tt> || EXIF Camera Make
 
|-
 
| <tt>EXIF_Description</tt> || EXIF Image Description
 
|-
 
| <tt>IPTC_ObjectName</tt> || IPTC Object Name
 
|-
 
| <tt>IPTC_Caption</tt> || IPTC Image Caption
 
|-
 
| <tt>IPTC_Headline</tt> || IPTC Image Headline
 
|-
 
| <tt>IPTC_Location</tt> || IPTC Location Name
 
|-
 
| <tt>IPTC_City</tt> || IPTC City
 
|-
 
| <tt>TIFF_Date</tt> || TIFF Date
 
|-
 
| <tt>TIFF_Model</tt> || TIFF Model
 
|-
 
| <tt>TIFF_Make</tt> || TIFF Make
 
|-
 
| <tt>TIFF_Description</tt> || TIFF Description
 
|-
 
| <tt>GIF_Frames</tt> || Number of frames in GIF file
 
|-
 
| <tt>Image_AspectRatio</tt> || Aspect Ratio of an image
 
|-
 
| <tt>Image_WidthAndHeight</tt> || Width and Height of an image in pixels
 
|-
 
| <tt>Image_Width</tt> || Width of an image in pixels
 
|-
 
| <tt>Image_Height</tt> || Height of an image in pixels
 
|-
 
| <tt>Image_Pixels</tt> || Amount of pixels in the image
 
|-
 
| <tt>Document_Title</tt> || Summary Information: Title
 
|-
 
| <tt>Document_Subject</tt> || Summary Information: Subject
 
|-
 
| <tt>Document_Author</tt> || Summary Information: Author
 
|-
 
| <tt>Document_PageCount</tt> || Summary Information: Number of Pages
 
|-
 
| <tt>Hash_CRC32</tt> || CRC32 Checksum of a file
 
|-
 
| <tt>Hash_MD5</tt> || MD5 Hash of a file
 
|-
 
| <tt>Hash_SHA1</tt> || SHA1 Hash of a file
 
|-
 
| <tt>Hash_SHA256</tt> || SHA256 Hash of a file
 
|-
 
| <tt>Hash_SHA512</tt> || SHA512 Hash of a file
 
|-
 
| <tt>Email_DateSent</tt> || Email date sent
 
|-
 
| <tt>Email_Subject</tt> || Email subject
 
|-
 
| <tt>Email_Sender</tt> || Email sender
 
|-
 
| <tt>Outlook_ID</tt> || Outlook Message: ID
 
|-
 
| <tt>Outlook_DateSent</tt> || Outlook Message: Date Sent
 
|-
 
| <tt>Outlook_DateHeader</tt> || Outlook Message: Date Header Value
 
|-
 
| <tt>Outlook_Subject</tt> || Outlook Message: Subject
 
|-
 
| <tt>Outlook_Sender</tt> || Outlook Message: Sender
 
|-
 
| <tt>Outlook_Body</tt> || Outlook Message: Body Text
 
|-
 
| <tt>AVI_FramesPerSecond</tt> || AVI Frames per Second
 
|-
 
| <tt>AVI_TotalFrames</tt> || AVI Total amount of Frames
 
|-
 
| <tt>AVI_Duration</tt> || AVI Duration in H:M:S format
 
|-
 
| <tt>AVI_DurationMins</tt> || AVI Duration in Minutes
 
|-
 
| <tt>AVI_DurationSecs</tt> || AVI Duration in Seconds
 
|-
 
| <tt>AVI_WidthAndHeight</tt> || AVI Dimensions in WxH format
 
|-
 
| <tt>AVI_Width</tt> || AVI Width in Pixels
 
|-
 
| <tt>AVI_Height</tt> || AVI Height in Pixels
 
|-
 
| <tt>AVI_VideoCodec</tt> || AVI Video Codec
 
|-
 
| <tt>BinarySign_Extension</tt> || Binary File Signature: Extension
 
|-
 
| <tt>BinarySign_Description</tt> || Binary File Information: Description
 
|-
 
| <tt>VersionInfo_FileVersion</tt> || Version Information: File Version
 
|-
 
| <tt>VersionInfo_ProductVersion</tt> || Version Information: Product Version
 
|-
 
| <tt>VersionInfo_Product</tt> || Version Information: Product
 
|-
 
| <tt>VersionInfo_Company</tt> || Version Information: Company
 
|-
 
| <tt>VersionInfo_Copyright</tt> || Version Information: Copyright
 
|-
 
| <tt>VersionInfo_Description</tt> || Version Information: Description
 
|-
 
| <tt>VersionInfo_Comments</tt> || Version Information: Comments
 
|}
 
  
 
[[Category:ReNamer]]
 
[[Category:ReNamer]]

Latest revision as of 23:13, 29 November 2015

Arrow Return.png ReNamer  
Insert meta tag dialog

Meta Tags allow users to extract meta information associated with files and use it for renaming. ReNamer supports a wide range of built-in meta tags, while 3rd party tools can be used for extracting tags which are currently not supported directly.

There are two different ways for using the built-in meta tags:

List of built-in Meta Tags

There are more than 100 built-in meta tags of various kinds:

  • File information (size, dates, name, path, extension, and more).
  • Audio tags (title, artist, album, genre, track number, and more) in MP3, WMA, FLAC files.
  • Photo tags (date, camera make and model, description, and more) in EXIF/IPTC/TIFF formats.
  • Graphics properties (width and height, aspect ratio, number of pixels).
  • Document summary information (title, subject, author, page count).
  • File hashes (CRC32, MD5, SHA1, SHA256, SHA512).
  • Email properties (date sent, subject, sender) for EML and MSG (Outlook) formats.
  • Video properties (width and height, frames, duration, and more) for AVI format.
  • Automatically detected file extension using built-in Binary Signatures.
  • File version information (product, company, version number, and more).
  • Miscellaneous (HTML title, current date).

Editing Meta Tags

ReNamer is a file renaming tool, not a meta tag editing tool. ReNamer does not edit meta tags and this feature will never be supported.

Most of meta tags (e.g. ID3, EXIF) are not part of the names of the files, instead they are contained inside certain files. To edit meta tags, please use a suitable meta tag editor such as mp3BookHelper, mp3Tag or TagScanner (for various tags in digital audio files) or PhotoME (for EXIF tags).

Checksum-based tags (MD5, SHA1, CRC32) are non-editable: They are calculated by the system from the contents of the file. You can use them to check the integrity of any file using software like Exactfile.

Extracting Meta Tags with 3rd party tools

There are 3rd party tools which let extract meta data from various file formats for which ReNamer does not have a built-in support. In such cases the output of these tools can be integrated and used within ReNamer with a help of PascalScript rule.

Sample scripts which demonstrate the use of this method can be found in the Scripts section.

Here is list of some 3rd party tools which can be used for extracting meta data: ExifTool, FFmpeg, Exiv2, MediaInfo