05 June 2024
14 Free Online Tools You Should Know About
23 May 2023
How to convert texts into speech using AI?
Tips on how to use Narakeet to create phone greetings https://www.narakeet.com/languages/canadian-accent-text-to-s...
- Write a clear phone script: "Thank you for calling the Centre for Immigrant and Community Services. Please note that our offices are closed on Monday, July 3rd, 2023, in observance of Canada Day. All of our offices will open on Tuesday, July 4th. We hope you have a wonderful and joyous celebration, and happy Canada Day!"
- Type the script into Narakeet, including all the punctuations and spaces. The system will pause and adjust the greeting accordingly, regardless of the language.
- For Mandarin greeting, please type the Chinese greeting and choose the voice: "Zhihan" (芷涵).
- For Cantonese greeting, please adjust the wording of the Chinese greeting to make it sound more natural in Cantonese, and then choose the voice "Pak-chi" (柏芝).
- For the English greeting, choose Canadian English and then select "Pamela" as the voice.
- Note that Narakeet is a free online tool that only allows 20 free greetings. However, this quote resets once the IP address changes.
- After downloading all the greetings, you can combine them using Chipchamp. Remember to leave a 0.5-second pause between each greeting.
- Finally, export the greeting after reviewing everything to obtain the final audio file.
- TIP: ChatGPT is a good tool for reviewing the clarity of the greetings.
====================================================
English
==============================================
Mandarin
https://ttsfree.com/text-to-speech/chinese-mandarin-simplified
==============================================
Cantonese
https://ttsfree.com/text-to-speech/chinese-cantonese-traditional
======================
Concatenate Audio files
21 June 2022
27 March 2022
.dav video files | play | convert to .mp4 | concatenate .mp4 files
$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
For Windows:
(echo file 'first file.mp4' & echo file 'second file.mp4' )>list.txt
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4
05 February 2022
How to convert a .rst file into a .html file?
#python -m pip install docutils
===================================================
Method 1 (better than Method 2)
https://docutils.sourceforge.io/docs/user/tools.html#rst2html5-py
# rst2html5.py --help
# rst2html5.py <source_rst_file_name.rst> <output.html>
===================================================
Method 2
https://www.geeksforgeeks.org/restructuredtext-rst-file-to-html-file-using-python-for-documentations/
The following python script will convert 'restructured.rst' into 'output.html'
import docutils.core
docutils.core.publish_file(
source_path ="restructured.rst",
destination_path ="Output.html",
writer_name ="html")
10 August 2021
How to read a file, which only contains a string, into Python, and then convert the string into a list?
How to read a file, which only contains a string, into Python, and then convert the string into a list?
from pathlib import Path
txt = Path('filename.txt').read_text()
list_ = list(txt.split('; '))
08 August 2021
How to convert a pandas dataframe into a python list, and a python list into a pandas dataframe?
How to convert a pandas dataframe into a python list, and a python list into a pandas dataframe?
1. To convert a pandas dataframe into a python list
email_list = df['Email'].to_list()
or
email_list = df[['Name', 'Email']].to_list()
2. To convert a python list into a pandas dataframe
Examples
>>> mydict = [{'a': 1, 'b': 2, 'c': 3, 'd': 4},
... {'a': 100, 'b': 200, 'c': 300, 'd': 400},
... {'a': 1000, 'b': 2000, 'c': 3000, 'd': 4000 }]
>>> df = pd.DataFrame(mydict)
>>> df
a b c d
0 1 2 3 4
1 100 200 300 400
2 1000 2000 3000 4000
25 July 2019
How to convert .eps photos into .svg photos, and .svg to .png
https://superuser.com/questions/198460/converting-from-eps-to-svg-format
Install Inkscape on Ubuntu
sudo apt-get install inkscape
EPS to SVG CLI
inkscape filename.eps -l filename.svg
SVG to PNG CLI
inkscape filename.svg -e filename.png
13 June 2019
Convert DVD videos into mp4 files with ffmpeg
https://www.tech-g.com/2017/01/15/converting-dvd-to-mp4-h264-on-windows/
ffmpeg -i "concat:VTS_01_1.VOB|VTS_02_1.VOB|VTS_03_1.VOB|VTS_04_1.VOB|VTS_05_1.VOB" outfile.mp4
07 May 2019
How to convert a file into mp3 file?
ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3
Explanation of the used arguments in this example:
-i
- input file-vn
- Disable video, to make sure no video (including album cover image) is included if the source would be a video file-ar
- Set the audio sampling frequency. For output streams it is set by default to the frequency of the corresponding input stream. For input streams this option only makes sense for audio grabbing devices and raw demuxers and is mapped to the corresponding demuxer options.-ac
- Set the number of audio channels. For output streams it is set by default to the number of input audio channels. For input streams this option only makes sense for audio grabbing devices and raw demuxers and is mapped to the corresponding demuxer options. So used here to make sure it is stereo (2 channels)-b:a
- Converts the audio bitrate to be exact 192kbit per second
11 February 2019
Download, Extract, Convert videos
youtube-dl https://www.youtube.com/watch?v=S277aJyUehw
Converting video formats with ffmpeg.exe
ffmpeg -i input -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k \
-movflags +faststart -vf scale=-2:720,format=yuv420p output.mp4
ffmpeg -i test.mp4 -codec:v libtheora -qscale:v 6 -codec:a libvorbis -qscale:a 6 test.ogvffmpeg -ss 00:00:30 -i orginalfile -t 00:00:05 -vcodec copy -acodec copy newfile
24 July 2018
How to convert mp4 videos into flv ones with ffmpeg?
ffmpeg -i source.mp4 -c:v libx264 -crf 19 destinationfile.flv
ffmpeg -i source.mp4 -c:v libx264 -ar 22050 -crf 28 destinationfile.flv
-crf XX
is the quality of the video you will create. It's between 0 and 51 (but between 17 and 23 is a reasonable range and the lower the number is, the better quality the video is going to be).-ar 22050
is for adjusting the audio sample range (audio quality). You can choose 11025, 22050 or 44100.22 June 2018
17 February 2016
MP4 Video which can be played universally - on Apple, Android, Computers
10 February 2016
How to Convert Flash Video into HTML5 Video?
http://www.sothink.com/tutorials/how-to-convert-flash-to-html.htm
Step 1
Load the relevant SWF into Sothink SWF Decompiler for preview.
Step 2
Click on Export HTML5 button to launch the relevant export wizard window.
You can click on Browse button to define the output directory for new .html file.
Step 3
Click on OK button to start the conversion process.
Step 4
After the exporting process has been finished, please go to the directory you specified to preview .html file.
Let's preview the exported .html in browser now.
Now the whole converting process is over, it is very simple to convert Flash into HTML5 with the latest version of Sothink SWF Decompiler!
===================================
The following method is not available any longer. The company does not support the extension any more -
https://developers.google.com/swiffy/
Under 'Use our Adobe Flash Extension', click 'Get the Extension'.
Install the extension. You will see a new sub-menu item 'Export as HTML5 (Swiffy)' under 'Commands' menu in Adobe Flash.
Open your .fla file (e.g. test.fla) in Adobe Flash. Click the the new sub-menu. A browser will open, displaying a web page with your video, which has been converted from .fla. A new html file has been created, in the same folder as test.fla is, whose name is 'test.swf.html'.
Use <iframe> to include the html file. You can put the video wherever you like.
06 January 2016
How to convert a Flash file into a FLV and mp4 file?
1. Firstly, export the flash file (.fla) into an AVI video file.
2. Convert the AVI file into an FLV file using Format Factory.
How to convert a Flash file into an mp4 file?
1. Firstly, export the flash file (.fla) into an AVI video file.
2. Export the AVI file into a MP4 file using Adobe Premiere.
22 December 2015
Traditional Chinese become Simplified Chinese when converting Word into PDF
21 December 2015
Word with Chinese Contents Can not be Converted into PDF | There is NO PDFMaker | There is NO PDF Menu
My Office is 2010 64bit. My Adobe Acrobat is X Pro (10.0.0)
The problems in the subject happen only when your Office is 2010 64bit (32bit Office does not have those problems) and your Adobe Acrobat is X (10.0.0 or older) (10.1 or newer Acrobat does not have those problems.)
Solution: Within Acrobat, click Help | Check for Updates.. After installing the updates, version of Acrobat will become 10.1.16 (on 21 December 2015) or newer.
Install a patch from here -
http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
After you have installed the patch, the problems in the subject will be gone.