Difference between revisions of "ReNamer:Meta Tags"

From den4b Wiki
Jump to: navigation, search
(Added screenshot)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Meta tags allow users to extract some meta information associated with files and use it for renaming.
+
{{Up|ReNamer}}
  
There are 2 different ways for using meta tags:
+
[[File:MetaTagsDialog.png|frame|Insert meta tag dialog]]
  
*Using [[ReNamer:Rules:Insert|Insert]] or [[ReNamer:Rules:Insert|Replace]] rule to insert meta data directly into the filename,
+
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.
*Using [[ReNamer:Pascal Script:Functions#Meta Tags Extraction|CalculateMetaTag]] function in a [[ReNamer:Rules:PascalScript|PascalScript]] to do more complex manipulations with meta data.
 
  
{| class="wikitable"
+
There are two different ways for using the built-in meta tags:
|-
+
 
! Tag
+
* Using [[ReNamer:Rules:Insert|Insert]], [[ReNamer:Rules:Replace|Replace]] or [[ReNamer:Rules:Rearrange|Rearrange]] rule to insert meta data directly into the filename,
! Description
+
* Using [[ReNamer:Pascal Script:Functions#Meta Tags Extraction|CalculateMetaTag]] function in [[ReNamer:Rules:PascalScript|PascalScript]] to do more complex manipulations with the meta data
|-
+
 
| Date_Now
+
== List of built-in Meta Tags ==
| Current Date
+
 
|-
+
There are more than 100 built-in meta tags of various kinds:
| File_SizeBytes
+
 
| Size of file in bytes
+
* File information (size, dates, name, path, extension, and more).
|-
+
* Audio tags (title, artist, album, genre, track number, and more) in MP3, WMA, FLAC files.
| File_SizeKB
+
* Photo tags (date, camera make and model, description, and more) in EXIF/IPTC/TIFF formats.
| Size of file in Kb
+
* Graphics properties (width and height, aspect ratio, number of pixels).
|-
+
* Document summary information (title, subject, author, page count).
| File_SizeMB
+
* File hashes (CRC32, MD5, SHA1, SHA256, SHA512).
| Size of file in Mb
+
* Email properties (date sent, subject, sender) for EML and MSG (Outlook) formats.
|-
+
* Video properties (width and height, frames, duration, and more) for AVI format.
| File_DateCreated
+
* Automatically detected file extension using built-in [[ReNamer:Binary Signatures|Binary Signatures]].
| File created date
+
* File version information (product, company, version number, and more).
|-
+
* Miscellaneous (HTML title, current date).
| File_DateModified
 
| File last modified date
 
|-
 
| File_FileName
 
| Full name of the file without the path
 
|-
 
| File_FilePath
 
| Full name of the file with the path
 
|-
 
| File_BaseName
 
| Base name of the file
 
|-
 
| File_Extension
 
| Extension of the file
 
|-
 
| File_FolderName
 
| Name of the parent folder
 
|-
 
| File_DOSName
 
| Short name in the 8.3 format
 
|-
 
| ID3_Artist
 
| ID3 Artist
 
|-
 
| ID3_Title
 
| ID3 Title
 
|-
 
| ID3_Album
 
| ID3 Album
 
|-
 
| ID3_Year
 
| ID3 Year
 
|-
 
| ID3_Genre
 
| ID3 Genre
 
|-
 
| ID3_TrackNo
 
| ID3 Track Number
 
|-
 
| ID3_PartOfSet
 
| ID3 Part Of Set
 
|-
 
| WMA_Artist
 
| WMA Artist
 
|-
 
| WMA_Title
 
| WMA Title
 
|-
 
| WMA_Album
 
| WMA Album
 
|-
 
| WMA_Year
 
| WMA Year
 
|-
 
| WMA_Genre
 
| WMA Genre
 
|-
 
| WMA_TrackNo
 
| WMA Track Number
 
|-
 
| FLAC_Artist
 
| FLAC Artist
 
|-
 
| FLAC_Title
 
| FLAC Title
 
|-
 
| FLAC_Album
 
| FLAC Album
 
|-
 
| FLAC_Year
 
| FLAC Year
 
|-
 
| FLAC_Genre
 
| FLAC Genre
 
|-
 
| FLAC_TrackNo
 
| FLAC Track Number
 
|-
 
| Audio_Duration
 
| Duration of an Audio file
 
|-
 
| Audio_DurationMins
 
| Duration of an Audio file in minutes
 
|-
 
| Audio_DurationSecs
 
| Duration of an Audio file in seconds
 
|-
 
| HTML_Title
 
| Title tag extracted from an HTML file
 
|-
 
| EXIF_Date
 
| EXIF Original Date
 
|-
 
| EXIF_Model
 
| EXIF Camera Model
 
|-
 
| EXIF_Make
 
| EXIF Camera Make
 
|-
 
| EXIF_Description
 
| EXIF Image Description
 
|-
 
| IPTC_ObjectName
 
| IPTC Object Name
 
|-
 
| IPTC_Caption
 
| IPTC Image Caption
 
|-
 
| IPTC_Headline
 
| IPTC Image Headline
 
|-
 
| IPTC_Location
 
| IPTC Location Name
 
|-
 
| IPTC_City
 
| IPTC City
 
|-
 
| TIFF_Date
 
| TIFF Date
 
|-
 
| TIFF_Model
 
| TIFF Model
 
|-
 
| TIFF_Make
 
| TIFF Make
 
|-
 
| TIFF_Description
 
| TIFF Description
 
|-
 
| Image_WidthAndHeight
 
| Real Width and Height of an image in pixels
 
|-
 
| Image_Width
 
| Real Width of an image in pixels
 
|-
 
| Image_Height
 
| Real Height of an image in pixels
 
|-
 
| Image_Pixels
 
| Amount of pixels in the image
 
|-
 
| Document_Title
 
| Summary Information: Title
 
|-
 
| Document_Subject
 
| Summary Information: Subject
 
|-
 
| Document_Author
 
| Summary Information: Author
 
|-
 
| Document_PageCount
 
| Summary Information: Number of Pages
 
|-
 
| Hash_MD5
 
| MD5 Hash of a file
 
|-
 
| Hash_SHA1
 
| SHA1 Hash of a file
 
|-
 
| Hash_CRC32
 
| CRC32 Checksum of a file
 
|-
 
| Email_DateSent
 
| Email date sent
 
|-
 
| Email_Subject
 
| Email subject
 
|-
 
| Email_Sender
 
| Email sender
 
|-
 
| Outlook_ID
 
| Outlook Message ID
 
|-
 
| Outlook_DateSent
 
| Outlook Message Date Sent
 
|-
 
| Outlook_Subject
 
| Outlook Message Subject
 
|-
 
| Outlook_Sender
 
| Outlook Message Sender
 
|-
 
| AVI_FramesPerSecond
 
| AVI Frames per Second
 
|-
 
| AVI_TotalFrames
 
| AVI Total amount of Frames
 
|-
 
| AVI_Duration
 
| AVI Duration in H:M:S format
 
|-
 
| AVI_DurationMins
 
| AVI Duration in Minutes
 
|-
 
| AVI_DurationSecs
 
| AVI Duration in Seconds
 
|-
 
| AVI_WidthAndHeight
 
| AVI Dimensions in WxH format
 
|-
 
| AVI_Width
 
| AVI Width in Pixels
 
|-
 
| AVI_Height
 
| AVI Height in Pixels
 
|-
 
| AVI_VideoCodec
 
| AVI Video Codec
 
|-
 
| BinarySign_Extension
 
| Binary File Signature: Extension
 
|-
 
| BinarySign_Description
 
| Binary File Information: Description
 
|-
 
| VersionInfo_Version
 
| Version Information: Version
 
|-
 
| VersionInfo_Product
 
| Version Information: Product
 
|-
 
| VersionInfo_Company
 
| Version Information: Company
 
|-
 
| VersionInfo_Copyright
 
| Version Information: Copyright
 
|-
 
| VersionInfo_Description
 
| Version Information: Description
 
|-
 
| VersionInfo_Comments
 
| Version Information: Comments
 
|}
 
  
 
== Editing Meta Tags ==
 
== Editing Meta Tags ==
  
Editing meta tags is <u>not supported</u>, nor it will ever be. ReNamer is a file renaming tool, not a meta tag editing tool. Editing meta tags involves direct file content modification and requires a complete and thorough understanding and implementation of underlying standards. This is not only a dangerous business with a potential risk of destroying file content, but also requires huge amount of continues work.
+
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 <u>inside</u> certain files. To edit meta tags, please use a suitable meta tag editor such as [http://mp3bookhelper.sourceforge.net/ mp3BookHelper], [http://www.mp3tag.de/en/ mp3Tag] or [http://www.xdlab.ru/en/ TagScanner] (for various tags in digital audio files) or [http://www.photome.de/ 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 [http://www.exactfile.com/ 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 [[ReNamer:Rules:PascalScript|PascalScript]] rule.
 +
 
 +
Sample scripts which demonstrate the use of this method can be found in the [[ReNamer:Scripts|Scripts]] section.
 +
 
 +
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]
 +
 
 +
[[Category:ReNamer]]

Latest revision as of 22: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