Jason Solverson

Welcome to Nowhere in Particular

Project 26: Building Your Own Home Server

Ripping 4K

Build Your Own Cloud

What is on his Home Server

Project 25: Compost and Compost Tea

Does Compost Tea Work?

Making Compost Tea

Creating Healthy Compost

Project 24: Tight Hamstrings

Project 23: Recipes from Interesting People

Chucky Cruz

Anti-Chef (Julia Child’s Beef Bouguignon)

That Guy Chili

Project 18: Photography Workflow

Useful Links

Project 22: Download Videos

You can use Python along with the pytube library for downloading YouTube videos and BeautifulSoup for parsing HTML. First, make sure you have the required libraries installed:

pip install pytube beautifulsoup4

Here is a Python script that reads an HTML file containing YouTube links, downloads the videos, and creates a new HTML file to track the successfully downloaded videos:



import os
from bs4 import BeautifulSoup
from pytube import YouTube

def download_video(url, output_folder):
    try:
        yt = YouTube(url)
        video = yt.streams.filter(file_extension='mp4', resolution='720p').first()
        video.download(output_folder)
        print(f"Downloaded: {yt.title}")
        return True
    except Exception as e:
        print(f"Error downloading {url}: {e}")
        return False

def process_html(input_html, output_folder):
    # Create an output HTML file to track successful downloads
    output_html_path = os.path.join(output_folder, "downloaded_videos.html")
    with open(output_html_path, "w", encoding="utf-8") as output_html:
        output_html.write("<html><body>\n")

        # Parse the input HTML file
        with open(input_html, "r", encoding="utf-8") as input_file:
            soup = BeautifulSoup(input_file, "html.parser")
            links = soup.find_all("a")

            for link in links:
                url = link.get("href")
                if url and "youtube.com" in url:
                    success = download_video(url, output_folder)
                    if success:
                        output_html.write(f'<p><a href="{url}">{url}</a></p>\n')

        output_html.write("</body></html>\n")

if __name__ == "__main__":
    input_html_path = "path/to/your/input.html"  # Replace with the path to your HTML file
    output_folder_path = "path/to/your/documents/folder"  # Replace with the path to your documents folder

    if not os.path.exists(output_folder_path):
        os.makedirs(output_folder_path)

    process_html(input_html_path, output_folder_path)

Replace "path/to/your/input.html" with the path to your HTML file containing YouTube links, and "path/to/your/documents/folder" with the path to your documents folder.

mkdir pyver
mkdir pyproj
install to pyver\py3121
cd pyproj
 c:\users\user\pyver\py3121\python -m venv youtube_downloads
tree youtube_downloads

from pyproj  youtube_downloads\scripts\activate

cd pyproj
c:\users\user\pyver\py3121\python -m venv youtube_downloads

c:\users\user\pyproj  youtube_downloads\scripts\activate

C:\Users\user\pyproj> python c:\users\user\pyproj\youtube_downloads\scripts\youtube_downloads.py

Project 20: NAS

Project 21: Video Transcoding Server

https://www.techpowerup.com/gpu-specs/nvidia-ad107.g1015

https://en.wikipedia.org/wiki/Nvidia_NVENC

https://forum.makemkv.com/forum/viewtopic.php?t=19634

https://forum.makemkv.com/forum/viewtopic.php?t=18856

Store Videos and Podcasts offline (vlc)

https://get.videolan.org/vlc/3.0.20/win64/vlc-3.0.20-win64.exe

https://www.youtube.com/watch?v=keqSrdtWt0k

Save Locally

Tools->Media Information->Location

Paste->Elipsis->Download

Transcode

Speech to Text

AI summaries

Photo library

Yes, you can save an MP4 video to your iPhone’s Camera Roll. Here are the steps:

  1. Open Files App:
    • Launch the “Files” app on your iPhone. This app is pre-installed on iOS devices.
  2. Locate the MP4 File:
    • Navigate to the location where your MP4 video is stored. This could be in iCloud Drive, On My iPhone, or another location.
  3. Select the MP4 File:
    • Tap on the MP4 file to select it.
  4. Share or Save:
    • Look for the share icon (a square with an arrow pointing up) and tap on it.
  5. Choose Save to Photos:
    • From the options in the share menu, look for “Save to Photos” or “Save Video.” Tap on this option.
  6. Check Camera Roll:
    • Once the process is complete, open the Photos app (Camera Roll), and you should find the MP4 video there.

Keep in mind that the specific steps might slightly vary depending on your iOS version and device. If you don’t see a direct “Save to Photos” option, look for “Save to Files” or “Save to iCloud Drive,” and then navigate to the Photos app to find your saved video.

Videos

Video editing

Data archives

To save an MP4 video from Google Drive to your iPhone’s camera roll, you can follow these steps:

  1. Open Google Drive App:
    • Launch the Google Drive app on your iPhone.
  2. Locate the MP4 File:
    • Navigate to the folder where the MP4 video is stored.
  3. Select the MP4 File:
    • Tap on the MP4 file to select it.
  4. Open the File Options:
    • Look for three dots (ellipsis) or an “i” icon, usually located in the top-right or bottom-right corner of the screen.
  5. Choose “Open In”:
    • From the options, select “Open In” or any option that allows you to send or share the file.
  6. Select “Save Video”:
    • Choose the “Save Video” or a similar option. This will download the video to your iPhone.
  7. Check Camera Roll:
    • Once the download is complete, go to your iPhone’s Photos app (Camera Roll), and you should find the MP4 video there.

Note: The steps may vary slightly depending on the version of the Google Drive app and iOS on your device. If the “Open In” option is not available, you may need to download the video to your iPhone first and then save it to the Camera Roll. Additionally, make sure you have sufficient storage space on your iPhone for the video.

Keep in mind that downloading large files over a mobile data connection may consume a significant amount of data, so it’s recommended to use Wi-Fi if possible.

Project 17: Printers

Canon Printer Shootout

Project 19: Car Detailing Slime

Page 1 of 3

Powered by WordPress & Theme by Anders Norén