It seems like every once in awhile, when using Handbrake to encode a DVD rip to x264 with either the mp4 or m4v extension, I can't add the resulting file to my iTunes Library. When dragging and dropping, the Library window highlights like it's going to accept (If you try to drag an unsupported file, the window doesn't highlight, and the thumbnail you're dragging flies back to the original folder).

If I rip a handful of movies and do an overnight encode session, in the morning some of the files can be added to the library, some can't. I have to re-do the ones that don't work. Is there a way to found out what the problem is? An iTunes setting that will output what it doesn't like about certain files? A piece of software that can validate the files? The resulting files play in VLC and Quicktime Player regardless of if they're added to my iTunes Library.

  • What handbrake encoding profile are you using? – paulgrav Dec 21 '12 at 7:22
  • Turns out it was a glitch in iTunes, I restarted my Mac and the movies were in the library. – Justin Jan 2 '13 at 17:41

Handbrake keeps individual logs for every encode. You can find them in ~/Library/Application Support/HandBrake/EncodeLogs.

If an encode fails, it should contain any relevant information on why it failed.

  • 1
    Encoding didn't fail, the movies could be watched in Quicktime. After restarting iTunes, each movie I dragged to the Library was now present in the library. – Justin Aug 17 '12 at 12:40

Using Handbrake 0.9.9 (64 bit) on OS X 10.8.4 with iTunes 11.0.4, I encoded the same movie using the AppleTV 2 preset and the iPhone's. It successfully encoded the movie, generating two .m4v files on my desktop. I couldn't, though, Add To Library nor drag and drop into the library. They would play fine in QuickTime.

The solution was dead simple, rename them to .mov files.

Voilà, everything worked.

You must log in to answer this question.

protected by Community Nov 3 '14 at 8:42

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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