Upscale video super-resolution using RSTT

Increase video resolution with an opensource machine learning algorithm for upscaling video image frames using an automated command line script.

Bringing machine learning algorithms a step closer to usability.

Given a low-resolution video file, this script uses a machine-learning algorithm to increase (upscale) each frame’s resolution using information from neighbouring frames. The workhorse is . . . → Read More: Upscale video super-resolution using RSTT

Using FFmpeg to replace video frames

Machine learning algorithms for video processing typically work on frames (images) rather than video.

In a typical use-case, FFmpeg can be used to extract images from video – in this example, a 50-frame sequence starting at 1:47:

>ffmpeg -i input.vid -vf “select=’gte(t,107)*lt(selected_n,50)'” -vsync passthrough ‘107+%06d.png’

Omit the -vf option if extracting the entire video. . . . → Read More: Using FFmpeg to replace video frames

FFmpeg lossless filtering

Preserving Data

Running a simple FFmpeg filter command:

>ffmpeg -i input.vid -filter_complex “[v:0]copy” output.vid

… one might expect the output video to be the same as the input video. Note that both input and output videos use the same container format (file name extension), and the command just uses the “copy” (do nothing) filter, . . . → Read More: FFmpeg lossless filtering

Upscale and interpolate video super-resolution using STARnet

Increase video resolution with an opensource machine learning algorithm for upscaling and interpolating video image frames using an automated command line script.

Bringing machine learning algorithms a step closer to usability.

Given a low-resolution video file, this script uses a machine-learning algorithm to increase (upscale) each frame’s resolution and optionally add (interpolate) an additional . . . → Read More: Upscale and interpolate video super-resolution using STARnet

Upscale video super-resolution using RBPN

Increase video resolution with an opensource machine learning algorithm for upscaling video image frames using an automated command line script.

Bringing machine learning algorithms a step closer to usability.

Given a low-resolution video file, this script uses a machine-learning algorithm to increase (upscale) each frame’s resolution using information from neighbouring frames. The workhorse is . . . → Read More: Upscale video super-resolution using RBPN

GNOME session save and restore

Save and restore your GNOME Shell desktop active running application windows and their positions across multiple workspaces using an automated command line script. Synopsis:

To save your session, press Alt+F2 or on a terminal:

>session save

To restore your session, press Alt+F2 or on a terminal:

>session restore

To restore your . . . → Read More: GNOME session save and restore

Thunderbird: Highlight row on focus

I use the keyboard a lot. For many years now, Thunderbird’s default theme (probably inherited from the desktop, which does the same thing on many dialogues) has had a little quirk that is slightly less conducive to keyboard use: It does not highlight the row with focus. Here is an example:

This way, I . . . → Read More: Thunderbird: Highlight row on focus

https and the browser conspiracy

While Google promotes HTTPS Everywhere, browsers have been working with a certifying authority oligopoly for many years promoting and enforcing an industry based on perception.

https: The good and the bad

The ‘s’ in https stands for ‘secure’ and indicates use of the SSL or TLS protocol. The SSL protocol serves 2 primary purposes:

Verification: . . . → Read More: https and the browser conspiracy

HTTP DDoS: “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)”

Our servers were attacked recently by a constant stream of HTTP POST requests. The requests were coming in from a large range of IP addresses, at a rate of about 5-10 per second, with random POST data. However, all the requests had the same UserAgent, they always accessed the non-www form of the same domain, . . . → Read More: HTTP DDoS: “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)”

Shell escaping in Perl

Shell Escaping:

There are several methods for escaping special characters in the Linux shell:

Double quotes: Double-quoted strings require escaping of only a few characters. Example: >echo “Some String: &>|\”\$’\`\s\\” Some String: &>|”$’`\s\ This method is useful as long as the string contains few or no characters that are special to the shell. It also . . . → Read More: Shell escaping in Perl