ckaihatsu
29th August 2013, 20:16
The following was developed for the purposes of a couple of different threads, but the info is important enough to have its own page, so I've compiled it here as a spin-off....
[T]here is a brand-new distribution that fits the bill, called Point Linux. Also Linux Mint Debian may also be suitable, but I haven't tried it yet.
Peter Ryzhenkov has announced the release of Point Linux 13.04.1, an updated version of the project's Debian-based distribution featuring the MATE 1.4 desktop:
http://distrowatch.com/
http://pointlinux.org/
After installation why not install Docky -- ?
Applications (menu) --> Accessories --> Root Terminal
apt-get update && apt-get install docky
You may have to restart to get full Docky functionality.
Applications (menu) --> System Tools --> Configuration Editor
apps > marco > general > compositing_manager -- on
http://www.revleft.com/vb/computer-technical-support-t160520/index.html
---
1. You'll need to install a few add-on software packages to expand the capabilities of your [...] Linux operating system. These are close to tiny in size and should take almost no time to download and install.
apt-get install youtube-dl ffmpeg sox lame pacpl
- or -
sudo apt-get install youtube-dl ffmpeg sox lame pacpl
The YouTube downloader may need to be updated right away:
youtube-dl -U
2. Find one or more videos on YouTube that you'd like to [download]. Use the right-click contextual menu on a video's link to copy only the web link address to your clipboard.
For an individual video clip / music track, just use this command's format, along with the Paste command, to specify the website address for the clip you want:
youtube-dl -tci http://www.youtube.com/watch?v=xxxxxxxxxxx
(The -tci part specifies three options that can be used -- they can also be omitted. Use 'youtube-dl -h' to see all of the options available for the command.)
For more than one clip at a time repeat the copy-and-paste step, but paste each link's address into a plain text file, one per line. Once done use the following command, and make sure to specify the full path and filename for that (batch) text file. You may also want to switch into your intended directory before using the command so that all of the video clip files download into that directory -- use 'cd /your/directory/here'.
youtube-dl -tci --batch-file=/your/directory/here/"text file of YouTube links.txt"
---
[Y]ou can just get the most appropriate video file for your device [...] Here's from the help listing for the 'youtube-dl' command:
youtube-dl --help
Video Format Options:
-F, --list-formats list all available formats (currently youtube only)
-f, --format FORMAT video format code, specifiy the order of preference using slashes: "-f 22/17/18"
Using the 'list formats' option...
youtube-dl -tci -F -a /directory/of/source_file.ext
...gives output that looks like this:
[YOUTUBE] Setting language
[YOUTUBE] xxxxxxxxxxx: Downloading video webpage
[YOUTUBE] xxxxxxxxxxx: Downloading video info webpage
[YOUTUBE] xxxxxxxxxxx: Extracting video information
Available formats:
22 : mp4 [720x1280]
45 : webm [720x1280]
35 : flv [480x854]
44 : webm [480x854]
34 : flv [360x640]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
17 : mp4 [144x176]
I found that video format code '18' works with my device, so the command would be:
youtube-dl -tci -f 18 -a /directory/of/source_file.ext
Also note that the filename of your batch file may contain spaces, so here's a reminder regarding that:
- Files of yours that contain spaces may not work well through the command line, due to issues of syntax -- when in doubt put your filename within pairs of quotation marks like this: "130307 filename with spaces". Wildcards will still work, *outside* of the quotation marks.
A few things that may be helpful here, if you don't know them already:
- The 'up' arrow key on your keyboard acts like the 'Back' button on a web browser, pulling up the previous commands you've used, one-by-one, going back.
You can also use the youtube-dl command with links from SoundCloud to get mp3 tracks directly -- music, and other kinds of audio.
Make your spare computer work for you as a music jukebox
http://www.revleft.com/vb/make-your-spare-t169222/index.html
[T]here is a brand-new distribution that fits the bill, called Point Linux. Also Linux Mint Debian may also be suitable, but I haven't tried it yet.
Peter Ryzhenkov has announced the release of Point Linux 13.04.1, an updated version of the project's Debian-based distribution featuring the MATE 1.4 desktop:
http://distrowatch.com/
http://pointlinux.org/
After installation why not install Docky -- ?
Applications (menu) --> Accessories --> Root Terminal
apt-get update && apt-get install docky
You may have to restart to get full Docky functionality.
Applications (menu) --> System Tools --> Configuration Editor
apps > marco > general > compositing_manager -- on
http://www.revleft.com/vb/computer-technical-support-t160520/index.html
---
1. You'll need to install a few add-on software packages to expand the capabilities of your [...] Linux operating system. These are close to tiny in size and should take almost no time to download and install.
apt-get install youtube-dl ffmpeg sox lame pacpl
- or -
sudo apt-get install youtube-dl ffmpeg sox lame pacpl
The YouTube downloader may need to be updated right away:
youtube-dl -U
2. Find one or more videos on YouTube that you'd like to [download]. Use the right-click contextual menu on a video's link to copy only the web link address to your clipboard.
For an individual video clip / music track, just use this command's format, along with the Paste command, to specify the website address for the clip you want:
youtube-dl -tci http://www.youtube.com/watch?v=xxxxxxxxxxx
(The -tci part specifies three options that can be used -- they can also be omitted. Use 'youtube-dl -h' to see all of the options available for the command.)
For more than one clip at a time repeat the copy-and-paste step, but paste each link's address into a plain text file, one per line. Once done use the following command, and make sure to specify the full path and filename for that (batch) text file. You may also want to switch into your intended directory before using the command so that all of the video clip files download into that directory -- use 'cd /your/directory/here'.
youtube-dl -tci --batch-file=/your/directory/here/"text file of YouTube links.txt"
---
[Y]ou can just get the most appropriate video file for your device [...] Here's from the help listing for the 'youtube-dl' command:
youtube-dl --help
Video Format Options:
-F, --list-formats list all available formats (currently youtube only)
-f, --format FORMAT video format code, specifiy the order of preference using slashes: "-f 22/17/18"
Using the 'list formats' option...
youtube-dl -tci -F -a /directory/of/source_file.ext
...gives output that looks like this:
[YOUTUBE] Setting language
[YOUTUBE] xxxxxxxxxxx: Downloading video webpage
[YOUTUBE] xxxxxxxxxxx: Downloading video info webpage
[YOUTUBE] xxxxxxxxxxx: Extracting video information
Available formats:
22 : mp4 [720x1280]
45 : webm [720x1280]
35 : flv [480x854]
44 : webm [480x854]
34 : flv [360x640]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
17 : mp4 [144x176]
I found that video format code '18' works with my device, so the command would be:
youtube-dl -tci -f 18 -a /directory/of/source_file.ext
Also note that the filename of your batch file may contain spaces, so here's a reminder regarding that:
- Files of yours that contain spaces may not work well through the command line, due to issues of syntax -- when in doubt put your filename within pairs of quotation marks like this: "130307 filename with spaces". Wildcards will still work, *outside* of the quotation marks.
A few things that may be helpful here, if you don't know them already:
- The 'up' arrow key on your keyboard acts like the 'Back' button on a web browser, pulling up the previous commands you've used, one-by-one, going back.
You can also use the youtube-dl command with links from SoundCloud to get mp3 tracks directly -- music, and other kinds of audio.
Make your spare computer work for you as a music jukebox
http://www.revleft.com/vb/make-your-spare-t169222/index.html