# What is the best way to copy, for example, the Codec field, into the Title and/or File Name?

**URL:** <https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661>\
**Category:** Support\
**Created:** [April 9, 2023, 6:15am UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661 "2023-04-09T06:15:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dec](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dec/32/13699_2.png) [@dec](https://community.mp3tag.de/u/dec)\
**Post date:** [April 9, 2023, 6:15am UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/1 "2023-04-09T06:15:22Z")

</div>

What is the best way to copy, for example, the Codec field, into the Title and/or File Name?

i have had a bit of a look and play with this; but MP3Tag has just sooooo many parameters and variables that can be used it becomes totally confusing for this little black duck!

so what is the easiest way to achieve this? what would the Convert or Action syntax be?

[especially say if i wanted only a certain no of chars - but that is not important as i have an extremely powerful file renamer (Bulk Rename Utility - highly recommeded) that can do that for me easily]

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 9, 2023, 6:22am UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/2 "2023-04-09T06:22:33Z")

</div>

Could you be a bit more specific?  
As the TITLE is not the \_FILENAME.  
The TITLE is embedded metadata, the \_FILENAME is a property for the OS to identify a file - and has the only requirement to be unique.

I would not add any technical information to TITLE as that information should be displayed by the player anyway and therefore it will be redundant data.  
Isn't the codec implied by the file extension?

Anyway: you find the list of variables to address tag fields and other properties in the documentation:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/#technical-information)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

%\_codec% would be the on for the codec.

If you want specific help for a pattern, then please tell us what that should look like and which tag fields are filled so that their contents can be referenced.

---

<div class="post-metadata">

**Author:** ![dec](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dec/32/13699_2.png) [@dec](https://community.mp3tag.de/u/dec)\
**Post date:** [April 9, 2023, 9:24am UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/3 "2023-04-09T09:24:19Z")

</div>

ok. ty.  
noted.  
yes. prob not need in Title.  
as for the file ext/type, as i understand it, the Codec exact as the ext is more generic and does not identify the exact codec  
so i could give the var you mention above a try and see how i go

thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 9, 2023, 9:59am UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/4 "2023-04-09T09:59:20Z")

</div>

An MP3 in my collection says "MPEG 1 Layer III" - does that help?

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [April 9, 2023, 12:37pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/5 "2023-04-09T12:37:48Z")

</div>

If there is information in the file it says even more, i.e.:  
MPEG 1 Layer III (Lame3.99r)

My definition for the column is `%_codec%[(%_tool%)]`

---

<div class="post-metadata">

**Author:** ![dec](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dec/32/13699_2.png) [@dec](https://community.mp3tag.de/u/dec)\
**Post date:** [April 10, 2023, 8:06pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/6 "2023-04-10T20:06:22Z")

</div>

what on earth is "\_tool"?

---

<div class="post-metadata">

**Author:** ![dec](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dec/32/13699_2.png) [@dec](https://community.mp3tag.de/u/dec)\
**Post date:** [April 10, 2023, 8:07pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/7 "2023-04-10T20:07:17Z")

</div>

PS what result does that give?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 10, 2023, 8:16pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/8 "2023-04-10T20:16:30Z")

</div>

This getting a little annoying as the information about \_TOOL has already been linked for you in

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/#technical-information)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

I sincerely ask you to read that information.

If you have specific questions then please tell us what you have done so far, what you expected and what the result really showed.

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [April 10, 2023, 8:34pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/9 "2023-04-10T20:34:02Z")

</div>

> [@dec](#):
>
> what on earth is "\_tool"?

From the example that @poster provided in their post

> [@poster](#):
>
> If there is information in the file it says even more, i.e.:  
> MPEG 1 Layer III (Lame3.99r)

So the codec is `MPEG 1 Layer III` and the tool (i.e. the encoder software) is `Lame3.99r`

Not all files have these details though, depending on what was used for the original.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [May 10, 2023, 8:34pm UTC](https://community.mp3tag.de/t/what-is-the-best-way-to-copy-for-example-the-codec-field-into-the-title-and-or-file-name/60661/10 "2023-05-10T20:34:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
