Linux news & tips

ytdownloader = Download Video & Audio

If you don't already know this by now, there's a great Open Source tool called ytdownloader.

ytdownloader is a "GKT3 frontend for yt-dlp (the active branch of youtube-dl) with focus on best audio and video. Uses ffmpeg for joining audio & video."


This tool is based on youtube-dl and will enable downloading videos (or just the audio) from various sites. Sure it's has youtube in the name, but it does loads more. Check the developer's ytdownloader github page here.



Here's a command alias I use to grab videos at a certain resolution along with their description.

alias ytd='yt-dlp -ciw -S res:1080,ext:mp4:m4a -S vcodec:avc1 --write-thumbnail --convert-thumbnails png -o "%

Just add the alias listed below to your ~/.bashrc, ~/.bash_aliases, or ~/.zshrc and either logout or source the file after writing it to use it immediately.


Source the file you ask?

Sure you can use a search engine for that, but here you go.


Open the terminal

Type "source ~/.bashrc"

Press Enter

Then use your new alias


Try it now!

ytd https://youtu.be/J8nGqkUJMxU


And there you go - look at the directory listing for the files:

20140704 - How to use aliases in BASH [J8nGqkUJMxU].mp4

20140704 - How to use aliases in BASH [J8nGqkUJMxU].description


And if you don't like command line tutorials, why are you using Linux? Seriously?

Alas, there is a GUI front-end for yt-dlp called ytdownloader.


Grab from the ArchLinux AUR on Arch Linux based distributions with:

yay -S ytdownloader

paru -S ytdownloader


Enjoy!!

PINEBOOK Pro LINUX LAPTOP

Community price: $219.99

I recommend this excellent lightweight ARM-based laptop for any Linux geek just wanting to have a sharp tool in their backpack. I've had mine since June 2020 and it is still going strong. I ordered the NVME M.2 SATA adapter, but have only installed inside without an NVME drive mainly due to power consumption requirements. This thing runs nearly 9 hours off the mains. It ships with Manjaro Linux (Arch Linux based) right out of the box on the 64GB EMMC. This won't break any speed records, but with a fixed 4GB of memory and the lower-power ARM processor, it really does fill a niche.



Specs:


CPU: 64-Bit Dual-Core ARM 1.8GHz Cortex A72 and Quad-Core ARM 1.4GHz Cortex A53

GPU: Quad-Core MALI T-860

RAM: 4 GB LPDDR4 Dual Channel System DRAM Memory

Flash: 64 GB eMMC 5.0

Wireless: WiFi 802.11AC + Bluetooth 5.0

One USB 3.0 and one USB 2.0 Type-A Host Ports

USB 3.0 Type-C ports with alt-mode display out (DP 1.2) and 15W 5V 3A charge.

MicroSD Card Slot: 1

Headphone Jack: 1

Microphone: Built-in

Keyboard: Full Size ANSI(US) type Keyboard

Touch-pad: Large Multi-Touch Touchpad

Power: Input: 100~240V, Output: 5V3A

Battery: Lithium Polymer Battery (9600mAH)

Display: 14.1″ IPS LCD (1920 x 1080)

Front Camera: 2.0 Megapixels

Power Supply included, comes with both US and EU plugs

Dimension: 329mm x 220mm x 12mm (WxDxH)

Weight: 1.26 kg (2.78 lbs)

Warranty: 30 days


Get your Pinebook Pro now