FFmpeg Tips and Tricks
Video stabilisation FFmpeg can use the vid.stab library to stabilize (i.e. remove shakiness) video. Some guides say it needs to be installed explicitly (vid.stab on Arch Linux, libvidstab* on Debian) but on both my systems it already came as a dependency of ffmpeg. It requires a 2-pass process. vid=...
Record system audio output with ALSA
This was written & tested on an Archlinux system, but I believe it applies to most Linux/ALSA systems. ALSA loopback device We assume a single run-of-the-mill Intel sound card, mapped as card 0. We will create a virtual loopback card 1. #> modprobe snd-aloop aplay -l The loopback device works...
Video Streaming without a Browser
The advice is twofold but simple: The python script youtube-dl is able to extract and download video and audio from many, many different sites The media player mpv automatically looks for youtube-dl when passed an internet URL to extract the media and play it directly. Additionally one can use a G...
Where is the VLC log?
The VLC media player sometimes errors out with the message "Check the log for details": But where is the log? What you need to do: Type <Ctrl>-M or click Top Menu => Tools => Messages Increase the verbosity to "1 (warnings)": (You could increase the verbosity even more, but that mi...
Play Youtube (and many other) Media Links from your Browser with One Click
Requirements Install mpv on your computer. Install youtube-dl on your computer. More about that later. Install the Open With addon. It seems to be available only for Mozilla browsers, but I'm pretty sure something similar also exists for chromish browsers. Setup Make sure mpv is working with local...
Android: Internet Radio App: Transistor
I'm not the one to promote android apps usually, but here is a nice one that does exactly what I desire, and follows some sort of Unix philosophy. Internet Radio - audio streaming - works nicely on all my GNU/Linux computers: get a playlist or create a playlist from one or two streaming links save ...
Make a screencast with ffmpeg
Several applications to record your desktop exist, but ffmpeg can do it all by itself, via its x11grab format specifier. But there were some challenges: Performance What ffmpeg does when recording your screen is to transcode the X11 video into compressed output, based on file extension. But I wanted...