Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2016, 11:13 AM   #1201
GalacticHull
Member
GalacticHull began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Nov 2014
Device: kobo h2O
This may have been covered, but I cannot find in a search.

When I unpack an azw to epub, I get wildly different file sizes with the same settings. At this moment, a 2mb azw will become a 30mb to 50mb epub. Excluding HD images has no effect. Also, files I ran through both yesterday and today seem to have size differences of 2mb - 15mb with the very same settings.

What am I missing? (If this has already been addressed, please do point me to the post!)

Thank you kindly.
GalacticHull is offline   Reply With Quote
Advert
Old 05-15-2016, 01:42 PM   #1202
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 49,695
Karma: 170522855
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by GalacticHull View Post
This may have been covered, but I cannot find in a search.

When I unpack an azw to epub, I get wildly different file sizes with the same settings. At this moment, a 2mb azw will become a 30mb to 50mb epub. Excluding HD images has no effect. Also, files I ran through both yesterday and today seem to have size differences of 2mb - 15mb with the very same settings.

What am I missing? (If this has already been addressed, please do point me to the post!)

Thank you kindly.
No idea. But you can unzip the epub and see which are the big files. It's not like ePub is some proprietary closed format that has to be reverse engineered.
pdurrant is offline   Reply With Quote
Old 05-15-2016, 02:00 PM   #1203
GalacticHull
Member
GalacticHull began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Nov 2014
Device: kobo h2O
Quote:
Originally Posted by pdurrant View Post
No idea. But you can unzip the epub and see which are the big files. It's not like ePub is some proprietary closed format that has to be reverse engineered.

The obvious thing to do. Thank you

It seems as though that kindle unpack ads to the container images from the previous title unpacked. Hence, each title is larger than the previous.

I must delete the mobi7 folder with the images before unpacking a new title, or use a different folder for each title. But yes, one title was carrying the previous 30 titles images. Making in 90mb compared to the azw 737k.

Can be worked around, so great.
GalacticHull is offline   Reply With Quote
Old 05-15-2016, 02:23 PM   #1204
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,415
Karma: 85885620
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You always want to unpack to an empty folder. KindleUnpack won't clean up a previous unpack for you.
DiapDealer is offline   Reply With Quote
Old 06-23-2016, 03:54 PM   #1205
Arvee
Junior Member
Arvee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kindle Fire


Ok so I'm having issues. It's taken a while but I've gotten it open - essentially I'm looking to split any possible KF8/MOBI hybrids to sort the metadata out on my Fire. However when running I get an error. This is the output in the conversion log (with ... substituted for the folder strings):

Input Path = "D:...\Sharpe's Honour - Bernard Cornwell.mobi"
Output Path = "D:...\Unpack"
Split Combo KF8 Kindle eBooks = True
Epub Output Type Set To: Auto-detect
Please Wait ...
Error: Unpacking Failed

I'm pretty sure this will be an issue on my part, but please can you help? [Epub output set to auto-detect, in case that makes a difference].
Arvee is offline   Reply With Quote
Old 06-23-2016, 04:37 PM   #1206
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,415
Karma: 85885620
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's going to pretty hard to help if that's the only error message. If that's truly the only message, then I suspect there's a Python problem on your system.

Have you been able to unpack any kindlebooks successfully with KindleUnpack before?

1) make sure you're using the very latest version on Kindleunpack (first post in this thread)
2) check the "Dump Mode" box to enable as much output as possible.
3) make sure the mobi in question hasn't had its metadata altered by other scripts. There are some out there that can damage a kindlebook under the guise of "extra cleaning."
DiapDealer is offline   Reply With Quote
Old 06-23-2016, 04:56 PM   #1207
Arvee
Junior Member
Arvee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kindle Fire
That's truly my only error message. I've tried with five or so of my MOBI files so far, but haven't had success with any of them - if I'm honest it took me ages to work out how to install/run KindleUnpack but now I'm using the ActiveState Python on Windows 10 and it opens up just fine. I tried with Dump Mode and got no extra info/errors.

I don't know if this helps but I have been able to unpack the files through the Calibre plugin, but having tried unsuccessfully for nearly and hour to split the MOBI/KF8 decided to try the Python version?
Arvee is offline   Reply With Quote
Old 06-23-2016, 05:07 PM   #1208
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,415
Karma: 85885620
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Arvee View Post
That's truly my only error message. I've tried with five or so of my MOBI files so far, but haven't had success with any of them - if I'm honest it took me ages to work out how to install/run KindleUnpack but now I'm using the ActiveState Python on Windows 10 and it opens up just fine. I tried with Dump Mode and got no extra info/errors.
That definitely sounds like a Python issue of some kind to me. The gui front-end is a separate program that calls the main kindleunpack code as a subprocess. So it doesn't surprise me that the gui would launch. The times I've gotten that very unhelpful (and immediate) error message is when the gui is unsuccessful in launching the subprocess.

Quote:
Originally Posted by Arvee View Post
I don't know if this helps but I have been able to unpack the files through the Calibre plugin, but having tried unsuccessfully for nearly and hour to split the MOBI/KF8 decided to try the Python version?
Do you get errors when trying to split with the calibre plugin version? Are you certain the book IS a dual-format mobi in the first place? You only get dual-format mobis from using Kindlegen or KindlePreviewer to create a Kindlebook.

Last edited by DiapDealer; 06-23-2016 at 05:16 PM.
DiapDealer is offline   Reply With Quote
Old 06-23-2016, 05:20 PM   #1209
Arvee
Junior Member
Arvee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2016
Device: Kindle Fire
EDIT: I have no idea what I've done, but it's just split them using the Python version

Quote:
Originally Posted by DiapDealer View Post
Do you get errors when trying to split with the calibre plugin version?
I don't even seem to have the option. I thought at first that it was a pure MOBI and not combined KF8/MOBI - hence not getting the option to split it - but I was having issues with the metadata on Calibre not transferring onto the Kindle which seems only to be attributable to the MOBI being combined... Sorry to be a pain!

Last edited by Arvee; 06-23-2016 at 05:35 PM.
Arvee is offline   Reply With Quote
Old 06-23-2016, 06:02 PM   #1210
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,415
Karma: 85885620
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Arvee View Post
[B]Sorry to be a pain!
Not at all. All's well that ends well.
DiapDealer is offline   Reply With Quote
Old 06-27-2017, 11:13 AM   #1211
Julius Caesar
Addict
Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.Julius Caesar ought to be getting tired of karma fortunes by now.
 
Posts: 337
Karma: 1244808
Join Date: Oct 2012
Device: Kindle Paperwhite
Does KindleUnpack basically convert Kindle format to ePub format? Once unpacked, can it be read by any ePub reader including Apple iBooks app?
Julius Caesar is offline   Reply With Quote
Old 06-27-2017, 12:28 PM   #1212
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,499
Karma: 772404
Join Date: Nov 2009
Device: many
In general, yes, I do this all the time. It works for .mobi and .azw3 kindle ebooks without DRM. It will not work for DRM'd ebooks, or KFX ebooks. If kindlegen was passed an epub to create the kindle ebook, then you get a nice epub out of KindleUnpack. But if Kindlegen was passed a horrible ebook format to create the kindle format, the kindleunpack version may need some slight edits to make a fully compliant epub
KevinH is offline   Reply With Quote
Old 06-27-2017, 01:30 PM   #1213
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,415
Karma: 85885620
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Note that the standalone KindleUnpack tool does not create an epub from the older MOBI7 format. For those, it simply produces an html file and an opf file. Only the KF8 format (or the Kindlegen dual format mobis) will result in epubs being created when unpacked.

The KindleImport Sigil plugin will do its best to massage a coherent epub (using KindleUnpack) from these older mobi7 files if you need that kind of functionality. Otherwise you'll have to do it manually.

Last edited by DiapDealer; 06-27-2017 at 01:32 PM.
DiapDealer is offline   Reply With Quote
Old 07-13-2017, 03:53 PM   #1214
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 1,530
Karma: 12179915
Join Date: Nov 2011
Location: Florida
Device: iPad Air 2, Kindle PW2, Nexus 7, Fire 5th Gen
I have encountered a bug in kindleunpack 0.80 in the handling of SVG images. This is not really a problem for me. I just noticed something wrong and thought I should report it.

An SVG image linked from HTML seems to round-trip properly.
EPUB original:
<p><img src="squares.svg" alt="check.svg"/></p>
Converted to MOBI using kindlegen and back to EPUB using kindleunpack:
<p><img src="../Images/svgimg0001.svg" alt="check.svg"/></p>

However the round trip fails for the SVG referenced as a URL from a CSS stylesheet.
EPUB original:
background-image: url("squares.svg");
Converted to MOBI using kindlegen and back to EPUB using kindleunpack:
background-image: url(kindle:flow:0001?mime=image/svg+xml);

Using a GIF image instead of SVG works properly in both cases.

The original EPUB, the MOBI created by kindlegen, and the recreated EPUB from kindleunpack are attached.
Attached Files
File Type: zip svg-background-bug.zip (10.6 KB, 9 views)
jhowell is offline   Reply With Quote
Old 07-18-2017, 01:29 PM   #1215
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,499
Karma: 772404
Join Date: Nov 2009
Device: many
Thanks for the bug report and test case.

Last edited by KevinH; 07-18-2017 at 02:00 PM.
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i rotate text and insert images in Mobi and EPUB? JanGLi Kindle Formats 5 02-02-2013 04:16 PM
PDF to Mobi with text and images pocketsprocket Kindle Formats 7 05-21-2012 07:06 AM
Mobi files - images DWC Introduce Yourself 5 07-06-2011 01:43 AM
pdf to mobi... creating images rather than text Dumhed Calibre 5 11-06-2010 12:08 PM
Transfer of images on text files anirudh215 PDF 2 06-22-2009 09:28 AM


All times are GMT -4. The time now is 01:12 AM.


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