Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Everything Audiobooks > Audiobook Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 06-30-2016, 07:27 PM   #1
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Windows - Editting Metadata - What's it doing?

So every time I purchase a new audiobook I do the same thing - strip the DRM, convert to MP3 and add the title and author to the file's metadata. I do this by simply right-clicking the file in Windows explorer, choosing properties and under the details tab I enter the new values.

Very straight forward and easy.

But slow.

When I hit the Apply or OK button I get that little graph animation (the same one you get for copying files) and it takes a couple of minutes. It's as if changing the metadata it's got to read/re-write the whole file - which is ridiculous.

Has anyone else noticed this? Is it just me? Am I doing it wrong?
latepaul is offline   Reply With Quote
Old 07-08-2016, 12:54 PM   #2
KenFisher
Connoisseur
KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.KenFisher composes epic poetry in binary.
 
KenFisher's Avatar
 
Posts: 75
Karma: 90470
Join Date: Apr 2008
Location: Alberta, Canada
Device: Kobo Touch, Kobo Vox, iPad
Hi,

Yes, I have noticed that editing the Metadata on audio / video files in Windows File Explorer seems to copy the existing file when updating the metadata. It was bad enough that I looked into a tag editor. I currently use MP3Tag.

Ken
KenFisher is offline   Reply With Quote
Advert
Old 07-08-2016, 03:57 PM   #3
Krazykiwi
Zealot
Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.
 
Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
Actually, it does have to sort of rewrite the whole file. ID3v1 tags are fixed length and placed at the end (for backwards compatibility) but ID3v2 tags are variable length and placed at the start (for streaming compatibility).

Which means when you add new ones to a file that didn't have any, things like the offset from the beginning of the file where the actual audio really starts have to be recalculated and the entire file rewritten to disk - it'll always take longer. If it really bothers you, don't strip the tags entirely, it'll save you a few seconds here and there.

After that though, it gets trickier. Smart tag editors generally pad a little extra room into the tags (filled with null bytes like packaging beans, just there to take up space) so that they take up just a little bit more space than needed - which means if you edit them later, they have some leeway to expand or contract within that space. But if you edit a tag really a lot (like say, you paste the lyrics into the comments field so it goes way over the extra space allotted for it), or you add new tags that weren't there before, it'll probably have to rewrite the file anyway.

Generally if you are editing existing tags, and not changing the length of them very much (enough so the "frame" or "chunk" of space it's taking up in the file is the same size), it's possible to do it a lot faster. That said, it's usually safer from a programming point of view to just rewrite the file entirely into a new copy and then remove the old one.

I suspect Windows Explorer, since it has to handle a billion types of metadata for all kinds of files, takes the slower but very safe and guaranteed to work route, rather than trying to do the fast but tricky method for every file type it knows about.
Krazykiwi is offline   Reply With Quote
Old 07-09-2016, 11:38 AM   #4
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Thanks for the info, very useful.

You've inspired me to tweak my conversion script to add the metadata in at the stage when the mp3 is created so there's no extra re-writing of the file. Also I then don't have to do it manually later.
latepaul is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I sync metadata to a Windows 8 tablet? Beanxx Devices 1 08-16-2015 09:42 PM
Error importing/editing metadata with files from Feedbooks - Calibre 1.48 Windows x64 goyta Library Management 5 08-10-2014 05:52 AM
problem editting metadata from version 9.29 and on Reader53 Calibre 0 06-09-2013 08:04 AM
Any way to automate editting metadata? louwin Library Management 4 04-24-2012 06:58 PM
E-paper tablets, for editting documents SmokeAndMirrors Which one should I buy? 11 12-06-2011 09:40 PM


All times are GMT -4. The time now is 07:08 PM.


MobileRead.com is a privately owned, operated and funded community.