Convert Image Sequence to a Video using FFmpeg

Download latest FFmpeg build from its official website here On windows, download the zip archive and unzip to a folder (for ex; c:\FFmpeg). Add bin path of the utility (for ex; c:\FFmpeg\bin) to the system path using environment variables on your windows system since the ffmpeg.exe file will not be automatically found by the windows system. Now copy all sequenced images to a folder. Launch command prompt in windows and change its location to the images folder. Now simply run the following command to generate a video from the images In the above command, filename-%06d.jpg is the filename of image sequence files with leading zeros. This filename will process images from filename-000001.jpgg to filename-999999.jpg. You also need to define a frame rate for videos using -r option. The output file gets created in the same folder where the images are located.

Generate free Let’s Encrypt SSL certificate online

Let’s Encrypt is a free, automated, and open certificate authority brought to the people by the nonprofit Internet Security Research Group (ISRG) which provides people the digital certificates they need in order to enable HTTPS (SSL/TLS) for websites, for free, which otherwise requires considerable investment if it was to be bought from the paid SSL providers. The only downside being the need of renewing the certificate every 90 days. Though majority of hosting providers now offer it as part of their hosting services, some hosting providers like GoDaddy still have not provided any in-built support in their hosting solution instead offering its own paid SSL certificates. If we are using shared hosting, then we can manually install Let’s Encrypt certificates on GoDaddy websites. Let’s Encrypt provides client tools which can be installed on the web servers to automate installation and renewal of SSL certificates but in case of shared hosting,[…]

ASP.NET Site Move HTTP to HTTPS, Refresh Google Indexing

When a site is moved from HTTP to HTTPS which is already indexed by Google, we must add a new property for the HTTPS URL in Goolge search console. When Google tries to index the site and it finds HTTP URL indexed for the same page, it will mark the HTTPS pages as canonical. We should use “301 Moved Permanently” to tell Google that HTTP URLs are moved to HTTPS and Google should prefer HTTPS over HTTP. Here is a sample code to be used in an ASP.NET web application for 301 moved status

Redirect HTTP URLs to HTTPS in Windows Hosting

After configuring SSL for a website, we need to make sure all existing HTTP URLs are automatically redirected to the HTTPS. For this we need to add a redirect rule in our web.config file. Open your web.config file and add following code snippet under system.webServer tag (copy it before the closing system.webServer tag) Save web.config file and upload it to the server tp replace existing one.

Install Free SSL from Let’s Encrypt to Godaddy Shared Windows Hosting – Plesk

Many web hosting providers support and automatically enable Let’s Encrypt and redirect http to https by default. GoDaddy does not yet support it but we can manually install and configure our sites on GoDaddy shared hosting to support SSL. This is done in two steps. In the first step, we need to generate certificates from a certificate authority (CA) and then in the second step, we need to download generated certificates and upload it to the GoDaddy servers and configure it there. Support for third-party SSLs on GoDaddy While generating SSL certificates for our domain, we will also need to verify domain ownership to CA. In order to verify domain ownership using HTTP verification, we will need to create appropriate files with specific text strings under “httpdocs/.well-known/pki-validation/” directory on our web server. We also need to make sure that those appropriate files are accessible in the directory. We will first[…]

SadTalker ERROR: No matching distribution found for torch==1.12.1+cu113

If you have Python 3.11 installed on your system, you will get this error when running the webui.bat file for setting up the SadTalker since it does not yet support Python 3.11. The solution is to install previous version of Python (in my case I did Python 3.8 as specified in the dependecies section of cog.yaml which downloaded with the SadTalker code). We will use conda to create a virtual environment just for SadTalker and then use it from there. The first step is to make sure we have Anaconda installed on our system. If not then download and install it from here. Make sure to follow the steps here for downloading the SadTalker files. Launch Anaconda Powershell and run following command to create a new environment for older version of python. Now activate the environment Make sure to validate that it is using desired version of python by checking[…]

Install SadTalker on Windows

Prerequisites: Install ffmpeg on windows In order to install ffmpeg on windows go to https://ffmpeg.org/download.html Follow steps mentioned here is install ffmpeg on your system. https://www.wikihow.com/Install-FFmpeg-on-Windows Now go to SadTalker Github page https://github.com/OpenTalker/SadTalker Go the the dev branch and click on README.md Go to the Download Trained Models section and click on the higlighed link to go to the SadTalker v0.0.2 rc Release Note page Download first four assets and Source Code.zip file Unzip Source code.zip file to a folder. We are are going to extract it to SadTalker-0.0.2-rc folder. In this folder manually create “checkpoints” folder and copy four .tar and .safetensors files in it once those also get downloaded. Open command prompt and go to SadTalker directory. There you would find webui.bat file. Run this file in command prompt to finish the setup. This will take a while to download and setup all required packages the first time.[…]

Moving windows from HDD to SSD (Free)

In order to move windows from HDD to SSD without buying a paid tool, we can use “Macrium Reflect”. This tool has one month of trial period and the software is fully functional during the trial period with no limitation on any functionality whatsoever. Download and install “Macrium Reflect” from https://www.macrium.com/reflectfree Launch Marcium Reflect and select the windows drive which you want to move to the SSD Make sure to select System Partition as well. Now click on “Clone this disk” which will ask to select a target disk. Select the SSD and click next and then finish Finally a popup will be shown. Click ok to start the cloning process Once the process finishes, restart the computer, and go to boot section (click F1 or F12 when the computer boots depending upon which key works for your computer) and move your SSD up in the boot sequence to make[…]