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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-14-2013, 02:50 PM   #1
commonsguy
Junior Member
commonsguy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2013
Device: none
1.6.0 Slower than 0.8.8 At HTML->EPUB Conversion

I use ebook-convert to take a book that I wrote, in an HTML format, and generate an EPUB. I use the following switches:

--page-breaks-before
--disable-unwrap-lines
--chapter
--chapter-mark
--authors
--isbn
--publisher
--title
--pubdate
--extra-css
--cover
--no-svg-cover

(though, in some experimentation, none of those seem to be affecting my problem)

I used to use ebook-convert 0.8.8 on Ubuntu Linux 11.04. Generating the EPUB took a couple of minutes.

I am now attempting to use ebook-convert 1.6.0 on Ubuntu Linux 13.04. Things run *much* more slowly:

44 chapters = 144 seconds
50 chapters = 289 seconds
57 chapters = 433 seconds
78 chapters = 1923 seconds

Here, the chapter counts refer to the first N chapters out of my book. I am estimating that generating the entire 172-chapter book will take 6-7 hours... whereas it used to take a couple of minutes with v0.8.8 of ebook-convert.

If I add -v -v -v, almost all of the time is spent in "Flattening CSS and remapping font sizes...". Once we get through that and onto "Source base font size is 12.00000pt", the process will wrap up in a handful of seconds. And, even if I get rid of all of those switches that I listed, things are still slow, suggesting that it's not getting clogged up because of something that I have opted into.

Note that memory is not an issue -- I have 8GB, and memory usage is not steadily ramping up. Also, the computer has a quad-core Intel i7 CPU and so is not lacking for horsepower.

Any idea what might be going on here? And, more importantly, any idea if there is some switch that I can add that will return things to something more closely resembling the previous speed?

Thanks!
commonsguy is offline   Reply With Quote
Old 10-16-2013, 07:05 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by commonsguy View Post
Any idea what might be going on here? And, more importantly, any idea if there is some switch that I can add that will return things to something more closely resembling the previous speed?
There is no check box and the exact html file with the exact settings and features enabled would not take hours on one version and minutes on the other version.

If you supply us the job log we can better see the settings you are using. The switches you shared are not the full extent of what your default settings might be. There is a sticky post outlining what info is required to help troubleshoot conversion problems.
DoctorOhh is offline   Reply With Quote
Advert
Old 10-16-2013, 07:35 AM   #3
commonsguy
Junior Member
commonsguy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2013
Device: none
I have no idea what a "job log" is. The only seemingly relevant sticky post is for the Calibre GUI, not for ebook-convert, based on its instructions.

I'll just move on to other solutions. Thanks, though.
commonsguy is offline   Reply With Quote
Old 10-16-2013, 07:57 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by commonsguy View Post
I have no idea what a "job log" is. The only seemingly relevant sticky post is for the Calibre GUI, not for ebook-convert, based on its instructions.
The post I referred to is How to ask a question about conversion problems

I don't do the command line but the conversion log is most likely everything you saw when you added -v -v -v.

Some settings may be in the GUI or on by default. It is possible that 1.6 vs 0.8.8 has some settings on by default that weren't on previously. It is also possible that it is this one book. Most all html conversions that I do take minutes, but some take forever.

Essentially I responded as a way of bumping the thread to the front to attract more experienced folks at conversions.

Good Luck.
DoctorOhh 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
html to epub conversion andin1 Conversion 1 03-12-2013 06:38 PM
html to epub CLI conversion / html input m4mmon Conversion 2 05-05-2012 02:10 AM
Conversion Help Please - HTML to ePub PocketGoddess Calibre 1 11-22-2010 02:01 PM
HTML load times drastically slower motormanjh Calibre 5 10-14-2010 08:44 PM
Help with HTML to ePub conversion...? Nethfel Calibre 4 05-10-2010 02:26 PM


All times are GMT -4. The time now is 02:14 AM.


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