Note: superseded by sniffy (I no longer maintain ytmp).
Play videos from video hosting services without the need of Flash.
Sure, there are a number of alternative methods (such as bookmarklets, userJS,
command line tools and complete desktop clients) that achieve the same goal,
but ytmp does it differently.
ytmp includes a daemon, utilising ngrep to watch for traffic destined to
one of the supported sites (below). The ytmp client then receives a
(formatted) link to the video, which is passed to youtube-dl for downloading
or streaming in your favourite media player.
This approach therefore provides an interface to youtube-dl, requiring no user
intervention, while remaining browser agnostic: just visit a video hosting site
as normal and watch the video without Flash!
- YouTube
- Vimeo
-
ngrep -
youtube-dl -
Your favourite media player (the developers use
mplayer)
zenity: for (GTK) GUI supportkdialog: for KDE GUI supportdmenu: for dmenu GUI support
- Specify your network interface (usually eth0 or wlan0)
- Choose a GUI
- Specify the command of your favourite media player
- Optionally set the download path and YouTube quality setting
(Note: the following is targeted to Arch Linux users)
-
Start the
ngrepwrapper as root:$ sudo /etc/rc.d/ytmpd start -
Launch the
ytmpcclient:$ /usr/bin/ytmpc -
Open a video (from the list of supported sites) in your browser
-
Video automatically plays in your chosen media player