Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A while back, I converted some AVI files to .m4v files that would be playable on my iPhone. When I play these files on my PC using iTunes the quality is terrible because the resolution is so low. My solution is to convert the AVI's using Handbrake using the "Universal" preset; it works like a charm and I can now watch them both on my PC and iPhone.

The Problem

I want to import the newly converted files into my iTunes library and be able to copy the metadata (show, season (these are TV episodes) Description, etc) without having to manually copy and paste values from one file to another. Is it possible to just say "copy this file's metadata to this file"?

share|improve this question
According to the iTunes AppleScript dictionary, you can at least get that information from any given track from within a script (assuming you're on a Mac). Someone else will need to help figure out how to apply that systematically. – NReilingh Aug 15 '10 at 4:24
Are you on Windows or Mac OS X? You use Handbrake which I only knew on OS X, but apparently there's also a Windows version, so it's not clear what's your setup. – Daniel Beck Aug 19 '10 at 12:55
Might something like exiftool help? It won't to an automatic transfer but you may be able to script it. See – BillP3rd Aug 22 '10 at 2:11
I'm using handbrake – Levi Hackwith Aug 25 '10 at 20:08

This script works for videos too.

share|improve this answer
Just realized that it uses Applescript, therefore it only works on Mac. Sorry about that. – reg Aug 18 '10 at 22:46
Oh my GOD!!! How did I not know about these!? EPIC WIN. – NReilingh Aug 20 '10 at 20:40

You may be able to use FFmpeg to do the video file conversions.

The advanced parameter map_meta_data could solve the problem:

-map_meta_data outfile:infile

will copy the metadata from Input File to the output file.

The following article might help : FFmpeg for Windows Help

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .