Currently Viewing Posts in Software

Calibre 4.1 Release

It is only four days after the release fo Calibre 4.0.

New features for Calibre 4.1

  • Viewer: Add an option to have a scrollbar (under Scrolling in the viewer preferences)
    Viewer: Allow showing the ‘position in book’, as was displayed in the top left of the viewer in calibre 3, in the header or footer of the viewer.
  • Viewer: Add options to control scrolling using the mouse in paged mode.
  • Viewer: Allow copying images by right clicking on them.
  • Viewer: Add a preference under Miscellaneous to allow only a single instance of the viewer
    Viewer: Add keyboard shortcuts to toggle between paged mode and flow mode and to quit
    Content server: Make the book size useable in custom book list templates.
  • Edit metadata: Use a border rather than background color to indicate correct title and author sort values. Works better with dark themes.
  • Kobo driver: Support for new firmware

It is a kinds of rush for this new release. more bug fixes on it.

New in calibre 4.0

Welcome back, calibre users. It has been two years since calibre 3.0. This time has been spent mostly in making the calibre Content server ever more capable as well as migrating calibre itself from Qt WebKit to Qt WebEngine, because the former is no longer maintained.

The Content server has gained the ability to Edit metadata, Add/remove books and even Convert books to and from all the formats calibre itself supports. It is now a full fledged interface to your calibre libraries.

The change to use Qt WebEngine has entailed a complete rewrite of various parts of calibre, including the E-book Viewer, PDF Output, Book details etc. Every attempt has been made to preserve features and functionality in a backwards compatible way, see below for a list of some known incompatibilities.

Wow, Calibre 4.0 is comming. I can not image how different it is from 3.x.

Calibre 3.48


I can wait to see it. Now download it 115MB. Install it. Then launch it.

Calibre 4.0

5 Essential Graphic Design Skills You Should Master

Maybe you’re a contract graphic designer doing small, one-off projects for local businesses. Or, an in-house professional responsible for overseeing all graphic creation in a large corporation. Regardless, you can always be improving your craft. 

Read on as we go over a few more advanced graphic design skills that will substantially improve your ability to communicate your message in the medium.

1. User Interface Design

At first glance, you might think this doesn’t apply to you. Perhaps your work focuses on something where ‘user interfaces’ seem worlds away from your final product. 

Consider this; regardless of what your final product is, the odds of it ending up within a user interface are virtually guaranteed. If you make a graphic for an article header for a local newspaper, for example, that graphic will likely end up in the online version of the publication.

And like it or not, that makes it a part of the user interface of the website. 

Knowing how to design with that type of presentation in mind already makes this a useful skill. Designing user interfaces directly, meanwhile, makes it substantially more worthwhile since the available pool of work for those who can do both is much larger.

Further, user interface creation is one of the more lucrative ways to apply the skills of a graphic designer. Per, user interface designers make, on average, more than double the income of a traditional graphic designer.

Continue reading “5 Essential Graphic Design Skills You Should Master”

Failed to Read the contents of XML Resource: IDD_SSH_KEY_CHANGE_DIALOG

Dreamweaver 2019 does not connect to SFTP server and you see the “Failed to Read the contents of XML Resource: IDD_SSH_KEY_CHANGE_DIALOG” error.

1) Close the Dreamweaver application.

2) Go to the following location:

Windows: C:\Users\[user name]\AppData\Roaming\Adobe\Dreamweaver CC xxxx\en_US\Configuration
macOS: ~/Library/Application Support/Adobe/Dreamweaver CC xxxx/en_US/Configuration

Here, xxxx is the version of Dreamweaver. For example, if you are using Dreamweaver 2017 running on Windows, then your folder location reads:

C:\Users\[user name]\AppData\Roaming\Adobe\Dreamweaver CC 2017\en_US\Configuration

3) Right-click the ssh_hosts file, and rename this file. For example, ssh_hosts_old.

4) Relaunch Dreamweaver and connect to your SFTP server.

Firefox always show Performing TLS Handshake

During last two weeks, my firefox getting slower and slower. It is Windows 10, with Firefox 67 or early version.

When I enter an HTTPS web site URL into the address bar, it took a lot of time to load the page. Sometimes it is timeout error.

Down in the lower-left corner of the Firefox window, there is a small grey box that tells you what is doing or waiting.

The problem is getting worse. More web sites I was OK to open, now are time out error.

The message on the status bar is “Performing a TLS handshake”.

What’s going on.

Based on my knowledge, TLS handshake is very fast, normally less 1 second. Continue reading “Firefox always show Performing TLS Handshake”

How to make a slow motion video with Yi Action Camera

I have a Yi Action Camera. It is a low-end GoPro alternative.

  • Ambarella A7LS chipset, low-power digital signal processing (DSP) technology, high-definition (HD) H.264/ MJPEG video engine and a 700-MHz ARM11 applications processor. 
  • Sony IMX206, 1/2.3″, 16MP CMOS image sensor with Exmor R ability / Panasonic MN34120PA, 1/2.3″, 16MP CMOS image sensor 
  • 1080P/60FPS, 720P/120FPS, 848*480/240FPS 
  • Bluetooth (4.0BLE low power consumption) and Built-in (802.11 bgn) Single band 2.4G Wi-Fi 


I tried to use video capture function of this camera at the followin settings:

1280×720 @120fps

I took 10 seconds video and move the video to the computer. It just has a higher frame rate, but not slow motion.


Then I tried to find the software, which can help me convert the video to slow motion one.

At last, I found the free tool, ffmpeg.

Download the ffmpeg windows bin file.

I chose the latest static windows 64bit build. It is a package. I only need the ffmpeg.exe file. Find it in the package and extract it to the working directory.

Put the original video file in the same folder.

Run the following command in the command window.

ffmpeg -i ydxj1364.mp4 -filter:v "setpts=5*PTS" -r 25 test-1364.mp4

ydxj1364.mp4 is the original video file.
test-1364.mp4 is the output file name.
-filter:v “setpts=5*PTS” is to slow down the video by 5 times.
-r 25 is to force the output file to 25fps.

The command I run above has the following output.


ffmpeg version N-93217-ga899b3b3c5 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20190212
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b9fce99cc0] unsupported color_parameter_type aclc
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ydxj1364.mp4':
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2019-02-22T12:55:06.000000Z
Duration: 00:00:11.91, start: 0.000000, bitrate: 18107 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], 18063 kb/s, 119.88 fps, 119.88 tbr, 120k tbn, 239.76 tbc (default)
creation_time : 2019-02-22T12:55:06.000000Z
handler_name :
: XiaoYi AVC
encoder : XiaoYi AVC encoder
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001b9fceb9840] using SAR=1/1
[libx264 @ 000001b9fceb9840] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001b9fceb9840] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 000001b9fceb9840] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test-1364.mp4':
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
encoder : Lavf58.26.101
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
creation_time : 2019-02-22T12:55:06.000000Z
handler_name :
: XiaoYi AVC
encoder : Lavc58.47.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 1488 fps= 45 q=-1.0 Lsize= 25879kB time=00:00:59.40 bitrate=3569.0kbits/s dup=60 drop=0 speed=1.79x
video:25860kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071957%
[libx264 @ 000001b9fceb9840] frame I:6 Avg QP:20.70 size:167506
[libx264 @ 000001b9fceb9840] frame P:381 Avg QP:23.36 size: 54533
[libx264 @ 000001b9fceb9840] frame B:1101 Avg QP:28.55 size: 4267
[libx264 @ 000001b9fceb9840] consecutive B-frames: 0.6% 1.9% 1.0% 96.5%
[libx264 @ 000001b9fceb9840] mb I I16..4: 17.5% 24.0% 58.5%
[libx264 @ 000001b9fceb9840] mb P I16..4: 0.4% 1.3% 1.6% P16..4: 41.6% 22.2% 18.2% 0.0% 0.0% skip:14.8%
[libx264 @ 000001b9fceb9840] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 48.7% 3.8% 1.5% direct: 2.2% skip:43.9% L0:53.8% L1:43.2% BI: 3.0%
[libx264 @ 000001b9fceb9840] 8x8 transform intra:34.9% inter:28.4%
[libx264 @ 000001b9fceb9840] coded y,uvDC,uvAC intra: 95.7% 40.8% 0.3% inter: 18.4% 7.4% 0.0%
[libx264 @ 000001b9fceb9840] i16 v,h,dc,p: 6% 11% 61% 21%
[libx264 @ 000001b9fceb9840] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 21% 23% 5% 7% 5% 12% 5% 11%
[libx264 @ 000001b9fceb9840] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 20% 7% 7% 6% 9% 6% 11%
[libx264 @ 000001b9fceb9840] i8c dc,h,v,p: 71% 17% 11% 1%
[libx264 @ 000001b9fceb9840] Weighted P-Frames: Y:18.1% UV:0.0%
[libx264 @ 000001b9fceb9840] ref P L0: 55.6% 11.3% 22.8% 8.3% 2.0%
[libx264 @ 000001b9fceb9840] ref B L0: 92.5% 7.1% 0.4%
[libx264 @ 000001b9fceb9840] ref B L1: 96.3% 3.7%
[libx264 @ 000001b9fceb9840] kb/s:3559.20

Fix the warning of Event 1534 on Windows 10 build 1809

It is Windows 10 build 1809. In the Event Viewer, there are a lot of warning of event 1534.

The description of warning is either:

Profile notification of event Unload for component {B31118B2-1F49-48E5-B6F5-BC21CAEC56FB} failed, error code is See Tracelogging for error details.


Profile notification of event Load for component {B31118B2-1F49-48E5-B6F5-BC21CAEC56FB} failed, error code is See Tracelogging for error details.

There is no fix on it. But a workaround to remove these annoying warning.

How to remove the warning of Event ID 1534?

1, Call the registry editor Regedit (with administrator privileges) and navigate to the following two registry entries.



Windows NT\CurrentVersion\ProfileNotification

2, Then select the key TDL, export it for backup, then delete it.

To delete it, you can apply the Full access to Administrtors.

If you received the error like me above, you can also use the way below.

The ownership of the key TDL may have to be changed to Andministrators.

After restarting the system, the warning message should no longer appear in the event logs.


Fix the Warning of Event 64, CertificateServicesClient-AutoEnrollment

My Windows 10 is 1809. Recently I saw the warning in the Event Viewer.

Event 64, CertificateServicesClient-AutoEnrollment

Certificate for local system with Thumbprint be f9 b4 cd 1xxxxxxxx f4 df 51 is about to expire or already expired.

I did the search and find the way to solve this problem.

Before to do the following, I would like to make an announcement. It is just a warning. It will not affect your Windows System.

Right Click Start > Run > type mmc > press ENTER
On the File Menu > Click Add/Remove Snap-in > Click Certificates > Click Add
Click Computer Account > click Next
Click Finish > Click OK
In the console tree, Expand Certificates > Personal > Certificates
You should see the XBL Client IPsec Issuing CA
Right Click on it > All tasks > Export
Follow the Export Wizard > Export it as a x509 (.cer) > Give it a name (example: xbl-client-ipsec.cer)
Right Click on it > Delete > Confirm Delete
Close the mmc > Say NO when asked if you want to save Console

Now, the certificate is removed. This warning should not appear in the Event Viewer.

Upgrade to Calibre 3.31

New features v3.15

  • Book list: Allow changing the font used for any column to bold and/or italic by right clicking on the column header and choosing ‘Change font style’.

    Note that this setting is per-library so it has to be done once for the book list in every calibre library.

  • fetch-ebook-metadata.exe: Allow specifying identifiers other than just ISBN
  • Amazon metadata download: Add support for Amazon Australia (can be configured via Preferences->Metadata download->customize the amazon metadata source)
  • Table of Contents Edit tool: When generating from XPath’s add a checkbox to control if duplicate entries at the same level are added or not
  • Edit book: Allow disabling the popup to show changes after running the Fix HTML and Beautify all files tools.


New features v3.30

  • ToC Editor: When generating ToCs using headings/XPath ignore duplicate entries at the same level that have the same text
  • Windows: The default calibre library location is now not in My Documents but instead in the user home folder, to avoid issues with OneDrive auto-syncing calibre libraries
  • Kobo driver: Support for new firmware version
  • Add a tweak (in Preferences->Tweaks) to allow skipping network check on news download
  • Edit metadata dialog: Show a confirmation dialog on cancel if some changes have been made.

New features v3.29

  • Add a option to draw a grid in the main book list (Preferences->Look & feel)
  • Edit book: Allow removing the currently highlighted tag (while keeping its contents) by pressing Ctrl+>. You can also add a tool to do it via Preferences->Toolbars
  • Content server: When defining a color scheme for the in browser viewer allow specifying the link color as well as the foreground and background.
  • Edit book: Show a popup after a fix all html/beautify all files so the user can easily see what was changed, if needed.
  • Kindle driver: Create cover thumbnails on the device when transferring KFX format books
  • Edit Book: Recognize numbers in image names in the ‘Insert image’ dialog

New features v3.28

  • Allow creating rules to transform author names when adding books to calibre. Accessible via Preferences->Adding books->Adding actions
  • Add a similar author mapper tool to manipulate author names in the existing library. Accessible via Preferences->Toolbars
  • Add a similar author mapper tool for metadata downloading, accessible via Preferences->Metadata download
  • Comments Editor: Add options to change the case of the selected text to the right click menu
  • Edit book: When sorting non text files in the File list recognize numbers in the file names

New features v3.27.1

  • Content server: Allow conversion of books
  • Kobo driver: Add support for new firmware
  • Bulk metadata edit dialog: Add an “edit tags” button for tags like custom columns.
  • Add an option in Preferences->Look & feel to disable the new ‘drag and drop to merge books feature’
  • E-book viewer: Add a shortcut (Ctrl+Alt+B) to toggle the bookmarks panel.
  • Edit book: Add a copy to clipboard button on the various report dialogs
  • Edit book: Add a shortcut (Ctrl+Alt+Down) to edit the next file in the book spine.
  • calibre-smtp: Verify relay server TLS certificates by default. New option –dont-verify-server-certificate to restore old behavior.

New features v3.26.1

  • Book list: Allow drag and drop of books onto other books to merge the book records.
  • Check Book: External link checker: Also check HTML anchors (the part after the # in the link). Can be turned off via a checkbox at the bottom of the link checker window.
  • Edit Book: Preview panel: Show previews when editing SVG files
  • Edit book: When downloading external resources, also convert data URLs into files.
  • E-book viewer: When the controls are hidden show the progress in the window title.
  • Library Quick switch menu: Highlight the previously switched from library in bold.

New features v3.25

  • Kobo driver: Support the new Clara HD
  • PDF Output: Add an option to use page margins from the input document, specified via @page CSS rules.

New features v3.24.2

  • Conversion: EPUB Output: Add an option to output EPUB 3 files.
  • PDF Output: Add an option to break long words at the ends of lines.
  • PDF Output: Allow using images in the header/footer templates
  • Add an option to use two lines for the text under the toolbar button in Preferences->Look & feel
  • Edit book: Spell check: Update the number of misspelled words/total words displayed when correcting/ignoring words.
  • Edit book: Fix HTML: Automatically resolve private entities
  • Improve formatting of help in Preferences->Tweaks
  • ToC Editor: Allow undo for renaming single items as well.

New features v3.23

  • Kobo driver: Add support for new firmware
  • Book polishing: Add an option to upgrade EPUB 2 to EPUB 3
  • DOCX Input: Convert text written with dingbat fonts such as Wingding or Symbol correctly.
  • When choosing the page to use as a cover from a PDF file, add a button to render more pages, if needed
  • TXT Input: Add support for embedded images that use relative URLs when converting markdown or textile. Note that this will only work if you are converting using the ebook-convert command line tool as the main calibre program moves files around, so relative references will not be valid.
  • Edit book: Insert special character: Add an option to select if searching should match all words or any of the words
  • Edit book: Insert special character: When searching by name match prefixes in addition to whole words. So you can now type “horiz” to match “horizontal”.
  • Linux installer: Simplify the command used to install calibre and add support for Ubuntu 18.04 which is missing a default python executable
  • When upgrading EPUB 2 to EPUB 3 add the ‘epub’ namespace to all HTML files, for convenience.
  • Kobo driver: Add an option to not maintain bookmarks/read status/etc. when resending a book already on the device.

New features v3.22.1

  • Edit book: Add a tool to upgrade books from EPUB 2 to EPUB 3 (Tools->Upgrade book internals)
  • Add support for the FBZ format (zipped FB2)
  • Kindle driver: Change the height of generated thumbnails to 500px, needed for the Oasis 2017
  • Edit book: When bulk renaming files add an option to rename by the order in which the files appear in the book.
  • Polishing: Recognize titlepages that are marked as covers in the EPUB 3 landmarks section
  • Edit Book: Automatically updated the modified timestamp in the OPF when saving EPUB 3 books.
  • Remove the ISBNDB metadata plugin as ISBNDB no longer allows free lookups.

New features v3.21

  • Browser viewer: Allow showing the time left in the current chapter/book in the header and footer areas of the book.

    To use go to the preferences of the browser viewer and customize the headers and footers to display the time left. Note that time left in chapter only works correctly if chapters are in separate HTML files in the book.

  • Manage tags dialog: Searching now shows all matching tags and there is an undo button to undo changes.
  • Add an output profile for the Kindle Oasis 2017

New features v3.20

  • Content server: Allow editing the metadata of books from the book details page

    On the book details page, you can now edit any metadata and change covers by clicking the edit metadata icon in the right area of the top bar. Note that only users that have write permissions for the library can edit metadata.

  • Kobo driver: Recognize Kobo Aura 2 with new firmware (4.6.10188)

New features v3.19

  • Driver for the new PocketBook 740
  • Allow using relative URLs in comments type metadata. The relative URLs are interpreted relative to the book folder in the calibre library
  • Edit book: Reports: Do not show characters from the HTML markup in the characters report.
  • Allow adding the Virtual library button to any toolbar/menu via Preferences->Toolbars & menus

New features v3.18

  • Browser viewer: Allow long tapping a word to look it up in a dictionary or search the internet for it.

New features v3.17

  • Allow splitting the book list, by right clicking on the column headers and choosing ‘Split the book list’

    This is useful to ‘lock’ one or more columns in place so that they are always visible even when scrolling through other columns. Also, the split list has a separate right click menu which you can configure via Preferences->Toolbars and menus

  • Store temporary files used by the editor and viewer in the cache directory to try to prevent errors caused by ‘file cleaner’ programs deleting temporary files still in use

New features v3.16

  • Content server: Allow adding and deleting of books using the web interface

    Use the + icon in the top bar of the book list to add new books and the trash icon in the top bar of the book details page to a delete a book. Note that only authenticated users are allowed to perform these actions, so you have to setup user accounts for the server to use these features.

  • Allow removing the close button from tabs in the Virtual library tab bar. Right click the tab bar and choose ‘Lock tabs’ to do that.
  • calibredb export: Add –progress option
  • Bulk metadata editing: Show progress bars to track progress of the operation
  • Content server: When downloading books from the server send both the ASCII and full Unicode file names. Browsers that support RFC 6266 can make use of the unicode file name.
  • Content server: Show a warning popup on Apple devices when the user tries to search with an expression containing smart quotes, since Apple devices now automatically replace quotes with smart quotes when typing.
  • Archives