Giter Club home page Giter Club logo

3615-youtube's Introduction

3615-YouTube

IMG_20220824_145332_1

A Mintel interface to record YouTube videos on a VHS tape. Inspired by this comic by Boulet.

You can read the full write-up here.

Dependiencies

  • git
  • lirc
  • python-pip
  • vlc-bin
  • vlc-plugin-base
  • ffmpeg

Installation

  1. Create a Raspberry Pi OS Lite SD card, and setup WiFi and SSH. Insert it into the Pi and connect to it using SSH.

  2. Upgrade the system

sudo apt-get update
sudo apt-get upgrade
  1. Install dependencies:
sudo apt-get install git python-pip lirc vlc-bin vlc-plugin-base ffmpeg
  1. Run raspi-config:
sudo raspi-config

Enable the serial port (and disable login shell) and the video composite output.

  1. Add/uncomment these lines in /boot/config.txt
sdtv_mode=2 # Use the PAL standard
hdmi_ignore_hotplug=1 # Force video through the composite output
dtoverlay=gpio-ir-tx,gpio_pin=24 # Enable IR transmition on GPIO 24
  1. Clone this repository
git clone ttps://github.com/GhettoBastler/3615-YouTube.git
  1. Install the Python dependencies
sudo pip install -r requirements.txt
  1. Copy lircd/VF28.lircd.conf to /etc/lirc/lircd.conf.d
sudo cp lircd/VF28.lircd.conf /etc/lirc/lircd.conf.d
  1. Inside /etc/lirc/lircd.conf.d, disable devinput.lircd.conf by renaming it to devinput.lircd.dist
mv /etc/lirc/lircd.conf.d/devinput.lircd.conf /etc/lirc/lircd.conf.d/devinput.lircd.dist
  1. Edit /etc/lirc/lircd.conf to change these two values:
driver = default
device = /dev/lirc0
  1. Reboot the Pi
sudo reboot

Level shifter

IMG_20220817_231013

You need to use a logic level shifter to safely connect a Minitel to a Raspberry Pi. My circuit is based on Pila's design. You can find the schematics here

Usage

On the Minitel, set the baudrate to 4800 by pressing Fctn + P followed by 4.

Power up the VCR, making sure that it is set to record on its composite input (you may need to check that by plugging the VCR to a TV)

When everything is set up, run 3615yt

./3615yt

Limitations

This project is not meant to be used as an actual way to watch YouTube videos. Therefore it lacks some basic features.

In particular, there is no way for the user to stop the downloading or recording processes: you have to do it by connecting through SSH and killing VLC manually. The same goes for powering the Pi down: you have to do it through SSH.

Additional ressources

These guides helped me greatly during the making of this project:

  • Pila's article on connecting a Minitel to a Raspberry Pi
  • This guide on how to use the Pi's composite output
  • This tutorial that explains how to build an IR transmitter for the Raspberry Pi

Licensing

The code for this project is licensed under the terms of the GNU GPLv3 license.

3615-youtube's People

Contributors

ghettobastler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.