howto:save-streams
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:save-streams [2023/02/21 16:18] – [yt-dl / youtube-dl] Wuff | howto:save-streams [2025/10/04 20:43] (current) – [Saving DRM streams] Wuff | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Saving Audio/ | ====== Saving Audio/ | ||
| + | |||
| + | ===== streamrip ===== | ||
| + | |||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | {{: | ||
| + | |||
| + | < | ||
| + | |||
| + | on Mint22 with pipx: | ||
| + | < | ||
| + | pipx install streamrip | ||
| + | # or | ||
| + | pipx upgrade streamrip | ||
| + | # or for development version | ||
| + | pipx install git+https:// | ||
| + | </ | ||
| + | |||
| + | config in folder ~/ | ||
| + | |||
| + | ===== Video Download Helper Browser addon===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Requires external helper companion app: | ||
| + | < | ||
| + | url -sSLf https:// | ||
| + | </ | ||
| + | < | ||
| + | # downloads: https:// | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | # installed under ' | ||
| + | # To uninstall, run ' | ||
| + | </ | ||
| + | < | ||
| + | ls ~/ | ||
| + | ffmpeg | ||
| + | </ | ||
| + | |||
| + | |||
| ===== deemix ===== | ===== deemix ===== | ||
| Line 71: | Line 120: | ||
| Download/ | Download/ | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||
| Line 118: | Line 167: | ||
| Version 2021.12.17 requires the following youtube patch as of February 2023: | Version 2021.12.17 requires the following youtube patch as of February 2023: | ||
| https:// | https:// | ||
| - | In / | + | Change youtube.py |
| + | (Debian package | ||
| + | (PIP install / | ||
| + | change: | ||
| < | < | ||
| ' | ' | ||
| Line 149: | Line 201: | ||
| https:// | https:// | ||
| + | |||
| + | |||
| + | ===== Saving DRM streams ===== | ||
| + | |||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | < | ||
| + | mkdir hellyes6 | ||
| + | cd hellyes6 | ||
| + | wget https:// | ||
| + | unzip hellyes6.zip | ||
| + | rm hellyes6.zip | ||
| + | cd HellYesGui | ||
| + | python -m venv venv | ||
| + | venv/ | ||
| + | </ | ||
| + | |||
| + | download the following 4 and copy binaries to any directory in the path, e.g. to ~/ | ||
| + | # uses N_m3u8DL-RE, | ||
| + | # see https:// | ||
| + | # see https:// | ||
| + | # see https:// | ||
| + | # see https:// | ||
| + | |||
| + | |||
| + | Start it using the venv python interpreter: | ||
| + | < | ||
| + | venv/ | ||
| + | </ | ||
| + | |||
| + | Usage as following: | ||
| + | * open debug console in browser (F12) and open network tab | ||
| + | * add regexp: | ||
| + | * open https:// | ||
| + | * copy the found GET mpd entry and paste into the MPD URL field | ||
| + | * copy the found POST entry as cURL and paste into the cURL of License Request field | ||
| + | * add a video name | ||
| + | * press get Keys | ||
| + | * press download video | ||
| + | * select the desired quality in the command line prompt | ||
| + | |||
| + | |||
| ====== Screen Recording ====== | ====== Screen Recording ====== | ||
| Line 168: | Line 263: | ||
| < | < | ||
| + | |||
| + | ===== LosslessCut ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | <code bash losslesscut.sh> | ||
| + | #!/bin/bash | ||
| + | if [ " | ||
| + | then | ||
| + | echo " | ||
| + | exit | ||
| + | fi | ||
| + | |||
| + | #get latest LosslessCut version number | ||
| + | latest_web=$(curl https:// | ||
| + | #convert version numbers to integers for comparison | ||
| + | web=$(echo " | ||
| + | |||
| + | if [ -f / | ||
| + | then | ||
| + | current_ver=$(cat / | ||
| + | #convert version numbers to integers for comparison | ||
| + | cur=$(echo " | ||
| + | fi | ||
| + | |||
| + | if [[ " | ||
| + | then | ||
| + | cur=0 | ||
| + | fi | ||
| + | |||
| + | #download and install only if web version greater than current version | ||
| + | #if main web version doesn' | ||
| + | if [[ ${web:0:8} -gt ${cur:0:8} ]]; | ||
| + | then | ||
| + | echo " | ||
| + | if [ ! -d / | ||
| + | then | ||
| + | mkdir / | ||
| + | fi | ||
| + | cd / | ||
| + | if [ -f LosslessCut-linux-x86_64.AppImage ]; | ||
| + | then | ||
| + | mv LosslessCut-linux-x86_64.AppImage LosslessCut-linux-x86_64.AppImage.old | ||
| + | fi | ||
| + | wget " | ||
| + | chmod 755 / | ||
| + | echo " | ||
| + | |||
| + | if [ ! -f / | ||
| + | then | ||
| + | wget https:// | ||
| + | cat >> / | ||
| + | [Desktop Entry] | ||
| + | Name=LossLessCut | ||
| + | Exec=/ | ||
| + | Comment= The swiss army knife of lossless video/audio editing | ||
| + | Terminal=false | ||
| + | Icon=/ | ||
| + | Type=Application | ||
| + | Categories=Graphics; | ||
| + | Hidden=false | ||
| + | NoDisplay=false | ||
| + | EOD | ||
| + | update-desktop-database | ||
| + | xdg-desktop-menu forceupdate | ||
| + | xdg-desktop-menu install --novendor / | ||
| + | |||
| + | else | ||
| + | echo " | ||
| + | echo "No upgrade necessary" | ||
| + | fi | ||
| + | |||
| + | </ | ||
howto/save-streams.1676996325.txt.gz · Last modified: (external edit)