jorgenmodin.net - Blog
Render times and hangs with Linux Flowblade editor
Verdict: "Mp4 lossless"on Flowblade 2.0 is the winner, neglible RAM use and 330MB output file on a scale from 47MB (h264) to 6.9GB (ffyuv).
Material: an 11 minute screencast with sound.
Lossless output | Flowblade version | Result | RAM use | Render time | Render size |
---|---|---|---|---|---|
ffyuv | 1 series | fine | < 1GB | 2m 34s | 6.9GB |
h264 | 1 series | hangs computer but finishes | 16GB | 8m 30s | 46.6MB |
ffv | 1 series | hangs computer, no finish | 14GB | 3m 58s | 1.9GB |
MPEG-4 | 2 series | fine | < 1GB | 2m 28s | 328.5MB |
You can then use ffmpeg to make a smaller lossless video. For example:
ffmpeg -i input.mp4 -c:v libx264 -crf 0 -c:a copy output.mkv
brings down the MPEG-4 file to 144MB with neglible RAM use.
Testing out deepspeech for speech to text recognition
Contents: 16 minutes of heavily compressed "mushy" speech in British-ish English. Text file needed to create a script to redo the audio. I tried deepspeech 0.4.1 with its supplied model.
./bin/deepspeech --model models/output_graph.pb \ --alphabet models/alphabet.txt \ --trie models/trie --lm models/lm.binary \ --audio resampled-mono.wav > 16monoklr.txt
For comparison here's what Google transcribes from the same file:
this is the Swedish Land Registry logjam products contract blockchain system a Croma way running on s flex so I'd open a number of tabs here for each participant into the smart contract seller buyer sellers and buyers Bank the Land Registry itself and another server which in this case could be the demo…
First try on a 48KHz stereo wav file. The result is close to garbage and way too short:
his is the way should under his dream look him potomac changes and i conteanyng on spikes so i oftener of catechism in to the smart contract celeritate sang biting the understreak so i don't know server wichitas be the democrats not stage she told some pecorino is…
Second try 16KHz stereo version of the same file. Result, this is the entire contents of the file:
ohhhhhhhhh ohhhhhhhhh hhhhhhhhow hhhhhhhhow hhhhhhhhow here
Third try 16KHz mono version of the same file. The result is close to garbage and way too short:
this is these we should under destrem look him or he come look changed and a craney running on specs so i don't get a number of caterers to the smart contract selerier said or sankirtan the understreak self and an observer which he is caste democrat…
What's the best microphone for a screencast?
I want super sound quality that doesn't preoccupy my hands, or is a table microphone, it needs to be close to my mouth.
My best microphone for this purpose that I own, is a T-bone TWS One (~€60) wireless headset that runs on 865 MHz to a wireless receiver. It's actually really good. I do not need any better. But it is a bit of work to set up:
- the headset itself
- the transmitter with batteries
- the receiver, with power adapter
- A 6.3mm output from the receiver that needs to go somewhere
So is there more convenient stuff out there?
What is not better
I have a lavalier, an Aputure A.lav. It is emphatically worse in sound quality than the T-bone. Its thin microphone cable is prone to picking up hum, and it makes a lot of scratching noises when cables move around. Maybe my copy shouldn't have passed quality control.
Also worse is a Sony MDR-XB950B1 headset over Bluetooth. If you post process with normalization, equalization and compression you can get up to the level of the sound of a depressed airline pilot over the plane's PA.
Here is the microphones I am looking at right now
Plantronics Voyager 4220 UC bluetooth headset €200
Has good reviews. A bit expensive though, but might be a good replacement for my Sony MDR-XB950B1. About €200.
Samson Go Mic USB, USB microphone €40
USB means there is very little analog cable length to pic up hum. It is also reasonably priced, very small with built-in clip and mic mount. About €50.
- Samson Go Mic | (Sound on Sound review)
-
Good Youtube review: https://www.youtube.com/watch?v=Ya_FRTfjC3Q
ModMic 4/5, clip-on analog microphone for headphones
Good reputation but does have a long analog cable. But maybe it is well shielded. Analog means it can be plugged into an analog mixer. However if you run a Linux distribution with Jack, such as MediBuntu, you ought to be able to do simultaneous recording from multiple sound cards, including USB microphones.
ModMic Wireless, clip-on wireless microphone for headphones €100
ModMic Wireless – Antlion Audio A bit expensive.
Overviews
- The Best USB Microphones | PCMag.com
- Gaming Headset With Best Mic? : Twitch
- The Best Bluetooth Headsets for 2019 | PCMag.com
- Best wireless headphones for making calls
- Top 15 Best USB Headsets in 2019
Flowblade— a so far so good video editor on Linux
This morning I opened my KDEnlive project that I spent 4 hours on yesterday, and found it had scrambled all my clips over three video timelines, changed durations and lost some clips.
So today I switched. I have tested many video editors but never before Flowblade. So far, so good! It took me an hour to recreate yesterday's work (since I now knew the source material better) and lo and behold, it hasn't corrupted my work yet. Thruth to be hold, neither had KDEnlive before yesterday.
I remember when I had to build a watchdog for the Linux Abiword word processor, a watchdog that reacted to every file change Abiword made and checked that into a local git repository. That version of Abiword had the habit of corrupting its document files. I thought I'd now need to do the same with KDEnlive. But I think I will stick with Flowblade now. It has crashed on me 5 times today, but so far not corrupted anything.
I found Flowblade to have a logical UI and you can name clips! But, you cannot cut soundtracks. That could be a dealbreaker. Maybe you can if you merge them with video tracks?
Ok, I have found a way to cut an audio clip.
- Make sure all tracks are inactive
- That includes the track the audio clip is on, if that track is active, it won't work
- Select the audio you want to make a cut in
- Press x, or select Edit→Cut Clip
Annotate screenshots in Ubuntu when Shutter is gone—Use Krita
You can also use Flameshot if you use that tool to screenshot. Krita is better than Gimp, because you can draw ellipses directly without using selection tools and such. No arrows though as far as I have found. There might be Gimp plugins that do more stuff though.
Obviously use can use a vector editor such as InkScape, but then you have to think about preserving resolutions.
Impressions of libre MarkDown note-taking apps: Joplin & Boostnote.
Impressions of libre MarkDown note-taking apps: Joplin & Boostnote. Joplin less cluttered, obvious how to make notes, has a menu bar. Boostnote UI more like VS Code editor put together at random 🙂 Actual usage may shift opinion…
On the French yellow vest movement & similar movements
This interesting article goes into some causes, but admits to not understand the movement.
https://www.the-american-interest.com/2019/01/21/the-problem-with-no-name/
I think there's a reason for yellow vests & such: Disorientation. Unclear road ahead, imaginations run on fumes. Society hasn't integrated the power of the Internet; it helped wipe out the old French parties. Monetary policy adds to our present confusion. Old extreme left/right baggage floats up.
The road ahead must bring clarity to a computerized & networked world. Now its effect is centrifugal & ppl trip on fear or hubris. I hope blockchains can help, bring clarity to what money is, & coordinate people to act politically. For the latter digital identities is important.
Merge tools for git (untested)
A colleague needed help to find merge tools for ios. I run linux, but here is a list of pages of interest for me and for her:
https://stackoverflow.com/questions/12956509/how-to-set-meld-as-git-mergetool/33955194
https://stackoverflow.com/questions/161813/how-to-resolve-merge-conflicts-in-git
Getting OpenVPN to work when ipv6 support is missing
You may get error messages such as:
"GDG6: NLMSG_ERROR: error Operation not supported"
"GDG6: remote_host_ipv6=n/a"
If it cannot get ipv6 connection, add these to your config file:
pull-filter ignore "route-ipv6" pull-filter ignore "ifconfig-ipv6"