sábado, 5 de agosto de 2017

Youtube-dl


youtube-dl is a small command-line program to download videos from YouTube and a several more sites.
Download youtube-dl . . . https://www.videohelp.com/download/youtube-dl.exe
2017.09.24  [7.4MB] [Win]  [Portable] Free software
en mi caso pidio tambien . . . msvcr100.dll . . . 753kb (winxp)
Ejemplo de una descarga . . .

Para reanudar una descarga solo hay que volver a introducir la url . . .
Muchas urls renombran la ubicacion del archivo despues de determinado tiempo . . . Solo queda volver a localizarlo desde el navegador ... haciendo sniffer manualmente ó con el programa de su predileccion. ... :D



Entre linea punteada un bat que facilita el uso teniendolo listo preconfigurado
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@echo off
:begin
color 0a
ECHO .
ECHO -------------------------------------------------------------------------
ECHO **--youtube-dl Downloader--**
ECHO -------------------------------------------------------------------------
ECHO .
ECHO 0- Download url . . . . . . . . . . . . youtube-dl url ( ../../*.mp4 )
ECHO 1- See all valid formats. . . . . . . . youtube-dl -F url
ECHO 2- Download format. . . . . . . . . . . youtube-dl -f # url
ECHO ------------ Utube section ----------------------------------------------
ECHO 3- UTUBE Download format mediano .webm, . . . youtube-dl -f 43 url
ECHO 4- UTUBE Download format mediano .mp4 . . . . youtube-dl -f 18 url
ECHO 5- UTUBE URL-format  (url video). . . . . . . youtube-dl -g -f # url
ECHO .
ECHO -------------------------------------------------------------------------

set /p op="Enter your choice: "
if "%op%"=="0" goto op0
if "%op%"=="1" goto op1
if "%op%"=="2" goto op2
if "%op%"=="3" goto op3
if "%op%"=="4" goto op4
if "%op%"=="5" goto op5

:op0
ECHO 0- Download url . . . . . . . . . . . . youtube-dl url
set /p url="Input URL: "
youtube-dl --no-check-certificate --console-title "%url%"
:: --console-title .. desplegar progreso
goto begin

:op1
ECHO 1- See all valid formats. . . . . . . . youtube-dl -F url
set /p url="Input URL: "
youtube-dl -F --no-check-certificate "%url%"
goto begin

:op2
ECHO 2- Download format. . . . . . . . . . . youtube-dl -f # url
set /p url="Input URL: "
set /p format="format # : "
youtube-dl -f --no-check-certificate --console-title "%format%" "%url%"
goto begin

:op3
ECHO 3- UTUBE Download format mediano .webm, . . . youtube-dl -f 43 url
set /p url="Input URL: "
youtube-dl -f 43 --no-check-certificate --console-title "%url%"
goto begin

:op4
ECHO 4- UTUBE Download format mediano .mp4 . . . . youtube-dl -f 18 url
set /p url="Input URL: "
youtube-dl -f 18 --no-check-certificate --console-title "%url%"
goto begin

:op5
ECHO 5- UTUBE URL-format  (url video). . . . . . . youtube-dl -g -f # url
set /p url="Input URL: "
set /p format="format # : "
youtube-dl -g -f "%format%" --console-title "%url%" > url.txt
url.txt
ECHO copy url --- mplayer view --- close txt

goto begin


:exit
@exit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Soporta infinidad de sitios . . . . . .
All supported sites:
1tv:, 1up.com, 20min, 220.ro, 22tracks:genre, 22tracks:track, 24video, 3qsdn: 3Q SDN, 3sat, 4tube, 56.com, 5min, 8tracks, 91porn, 9c9media, 9c9media:stack, 9gag, 9now.com.au, abc.net.au, abc.net.au:iview, abcnews, abcnews:video, abcotvs: ABC Owned Television Stations, abcotvs:clips, AcademicEarth:Course, acast, acast:channel, AddAnime, AdobeTV, AdobeTVChannel, AdobeTVShow, AdobeTVVideo, AdultSwim, aenetworks: A+E Networks: A&E, Lifetime, History.com, FYI Network, AfreecaTV: afreecatv.com, AirMozilla, AlJazeera, Allocine, AlphaPorno, AMCNetworks, anderetijden: npo.nl and ntr.nl, AnimeOnDemand, anitube.se, AnySex, Aparat, AppleConnect, AppleDaily: , appletrailers, appletrailers:section, archive.org: archive.org videos, ARD, ARD:mediathek, Arkena, arte.tv, arte.tv:+7, arte.tv:cinema, . . . . etc


archivo de ayuda obtenido con . . .
youtube-dl --help > help.txt

Usage: youtube-dl [OPTIONS] URL [URL...]

Options:
  General Options:
    -h, --help                       Print this help text and exit
    --version                        Print program version and exit
    -U, --update                     Update this program to latest version. Make
                                     sure that you have sufficient permissions
                                     (run with sudo if needed)
    -i, --ignore-errors              Continue on download errors, for example to
                                     skip unavailable videos in a playlist
    --abort-on-error                 Abort downloading of further videos (in the
                                     playlist or the command line) if an error
                                     occurs
    --dump-user-agent                Display the current browser identification
    --list-extractors                List all supported extractors
    --extractor-descriptions         Output descriptions of all supported
                                     extractors
    --force-generic-extractor        Force extraction to use the generic
                                     extractor
    --default-search PREFIX          Use this prefix for unqualified URLs. For
                                     example "gvsearch2:" downloads two videos
                                     from google videos for youtube-dl "large
                                     apple". Use the value "auto" to let
                                     youtube-dl guess ("auto_warning" to emit a
                                     warning when guessing). "error" just throws
                                     an error. The default value "fixup_error"
                                     repairs broken URLs, but emits an error if
                                     this is not possible instead of searching.
    --ignore-config                  Do not read configuration files. When given
                                     in the global configuration file /etc
                                     /youtube-dl.conf: Do not read the user
                                     configuration in ~/.config/youtube-
                                     dl/config (%APPDATA%/youtube-dl/config.txt
                                     on Windows)
    --config-location PATH           Location of the configuration file; either
                                     the path to the config or its containing
                                     directory.
    --flat-playlist                  Do not extract the videos of a playlist,
                                     only list them.
    --mark-watched                   Mark videos watched (YouTube only)
    --no-mark-watched                Do not mark videos watched (YouTube only)
    --no-color                       Do not emit color codes in output

  Network Options:
    --proxy URL                      Use the specified HTTP/HTTPS/SOCKS proxy.
                                     To enable experimental SOCKS proxy, specify
                                     a proper scheme. For example
                                     socks5://127.0.0.1:1080/. Pass in an empty
                                     string (--proxy "") for direct connection
    --socket-timeout SECONDS         Time to wait before giving up, in seconds
    --source-address IP              Client-side IP address to bind to
    -4, --force-ipv4                 Make all connections via IPv4
    -6, --force-ipv6                 Make all connections via IPv6

  Geo Restriction:
    --geo-verification-proxy URL     Use this proxy to verify the IP address for
                                     some geo-restricted sites. The default
                                     proxy specified by --proxy (or none, if the
                                     options is not present) is used for the
                                     actual downloading.
    --geo-bypass                     Bypass geographic restriction via faking X
                                     -Forwarded-For HTTP header (experimental)
    --no-geo-bypass                  Do not bypass geographic restriction via
                                     faking X-Forwarded-For HTTP header
                                     (experimental)
    --geo-bypass-country CODE        Force bypass geographic restriction with
                                     explicitly provided two-letter ISO 3166-2
                                     country code (experimental)

  Video Selection:
    --playlist-start NUMBER          Playlist video to start at (default is 1)
    --playlist-end NUMBER            Playlist video to end at (default is last)
    --playlist-items ITEM_SPEC       Playlist video items to download. Specify
                                     indices of the videos in the playlist
                                     separated by commas like: "--playlist-items
                                     1,2,5,8" if you want to download videos
                                     indexed 1, 2, 5, 8 in the playlist. You can
                                     specify range: "--playlist-items
                                     1-3,7,10-13", it will download the videos
                                     at index 1, 2, 3, 7, 10, 11, 12 and 13.
    --match-title REGEX              Download only matching titles (regex or
                                     caseless sub-string)
    --reject-title REGEX             Skip download for matching titles (regex or
                                     caseless sub-string)
    --max-downloads NUMBER           Abort after downloading NUMBER files
    --min-filesize SIZE              Do not download any videos smaller than
                                     SIZE (e.g. 50k or 44.6m)
    --max-filesize SIZE              Do not download any videos larger than SIZE
                                     (e.g. 50k or 44.6m)
    --date DATE                      Download only videos uploaded in this date
    --datebefore DATE                Download only videos uploaded on or before
                                     this date (i.e. inclusive)
    --dateafter DATE                 Download only videos uploaded on or after
                                     this date (i.e. inclusive)
    --min-views COUNT                Do not download any videos with less than
                                     COUNT views
    --max-views COUNT                Do not download any videos with more than
                                     COUNT views
    --match-filter FILTER            Generic video filter. Specify any key (see
                                     the "OUTPUT TEMPLATE" for a list of
                                     available keys) to match if the key is
                                     present, !key to check if the key is not
                                     present, key > NUMBER (like "comment_count
                                     > 12", also works with >=, <, <=, !=, =) to
                                     compare against a number, key = 'LITERAL'
                                     (like "uploader = 'Mike Smith'", also works
                                     with !=) to match against a string literal
                                     and & to require multiple matches. Values
                                     which are not known are excluded unless you
                                     put a question mark (?) after the operator.
                                     For example, to only match videos that have
                                     been liked more than 100 times and disliked
                                     less than 50 times (or the dislike
                                     functionality is not available at the given
                                     service), but who also have a description,
                                     use --match-filter "like_count > 100 &
                                     dislike_count <? 50 & description" .
    --no-playlist                    Download only the video, if the URL refers
                                     to a video and a playlist.
    --yes-playlist                   Download the playlist, if the URL refers to
                                     a video and a playlist.
    --age-limit YEARS                Download only videos suitable for the given
                                     age
    --download-archive FILE          Download only videos not listed in the
                                     archive file. Record the IDs of all
                                     downloaded videos in it.
    --include-ads                    Download advertisements as well
                                     (experimental)

  Download Options:
    -r, --limit-rate RATE            Maximum download rate in bytes per second
                                     (e.g. 50K or 4.2M)
    -R, --retries RETRIES            Number of retries (default is 10), or
                                     "infinite".
    --fragment-retries RETRIES       Number of retries for a fragment (default
                                     is 10), or "infinite" (DASH, hlsnative and
                                     ISM)
    --skip-unavailable-fragments     Skip unavailable fragments (DASH, hlsnative
                                     and ISM)
    --abort-on-unavailable-fragment  Abort downloading when some fragment is not
                                     available
    --keep-fragments                 Keep downloaded fragments on disk after
                                     downloading is finished; fragments are
                                     erased by default
    --buffer-size SIZE               Size of download buffer (e.g. 1024 or 16K)
                                     (default is 1024)
    --no-resize-buffer               Do not automatically adjust the buffer
                                     size. By default, the buffer size is
                                     automatically resized from an initial value
                                     of SIZE.
    --playlist-reverse               Download playlist videos in reverse order
    --playlist-random                Download playlist videos in random order
    --xattr-set-filesize             Set file xattribute ytdl.filesize with
                                     expected file size (experimental)
    --hls-prefer-native              Use the native HLS downloader instead of
                                     ffmpeg
    --hls-prefer-ffmpeg              Use ffmpeg instead of the native HLS
                                     downloader
    --hls-use-mpegts                 Use the mpegts container for HLS videos,
                                     allowing to play the video while
                                     downloading (some players may not be able
                                     to play it)
    --external-downloader COMMAND    Use the specified external downloader.
                                     Currently supports
                                     aria2c,avconv,axel,curl,ffmpeg,httpie,wget
    --external-downloader-args ARGS  Give these arguments to the external
                                     downloader

  Filesystem Options:
    -a, --batch-file FILE            File containing URLs to download ('-' for
                                     stdin)
    --id                             Use only video ID in file name
    -o, --output TEMPLATE            Output filename template, see the "OUTPUT
                                     TEMPLATE" for all the info
    --autonumber-start NUMBER        Specify the start value for %(autonumber)s
                                     (default is 1)
    --restrict-filenames             Restrict filenames to only ASCII
                                     characters, and avoid "&" and spaces in
                                     filenames
    -w, --no-overwrites              Do not overwrite files
    -c, --continue                   Force resume of partially downloaded files.
                                     By default, youtube-dl will resume
                                     downloads if possible.
    --no-continue                    Do not resume partially downloaded files
                                     (restart from beginning)
    --no-part                        Do not use .part files - write directly
                                     into output file
    --no-mtime                       Do not use the Last-modified header to set
                                     the file modification time
    --write-description              Write video description to a .description
                                     file
    --write-info-json                Write video metadata to a .info.json file
    --write-annotations              Write video annotations to a
                                     .annotations.xml file
    --load-info-json FILE            JSON file containing the video information
                                     (created with the "--write-info-json"
                                     option)
    --cookies FILE                   File to read cookies from and dump cookie
                                     jar in
    --cache-dir DIR                  Location in the filesystem where youtube-dl
                                     can store some downloaded information
                                     permanently. By default $XDG_CACHE_HOME
                                     /youtube-dl or ~/.cache/youtube-dl . At the
                                     moment, only YouTube player files (for
                                     videos with obfuscated signatures) are
                                     cached, but that may change.
    --no-cache-dir                   Disable filesystem caching
    --rm-cache-dir                   Delete all filesystem cache files

  Thumbnail images:
    --write-thumbnail                Write thumbnail image to disk
    --write-all-thumbnails           Write all thumbnail image formats to disk
    --list-thumbnails                Simulate and list all available thumbnail
                                     formats

  Verbosity / Simulation Options:
    -q, --quiet                      Activate quiet mode
    --no-warnings                    Ignore warnings
    -s, --simulate                   Do not download the video and do not write
                                     anything to disk
    --skip-download                  Do not download the video
    -g, --get-url                    Simulate, quiet but print URL
    -e, --get-title                  Simulate, quiet but print title
    --get-id                         Simulate, quiet but print id
    --get-thumbnail                  Simulate, quiet but print thumbnail URL
    --get-description                Simulate, quiet but print video description
    --get-duration                   Simulate, quiet but print video length
    --get-filename                   Simulate, quiet but print output filename
    --get-format                     Simulate, quiet but print output format
    -j, --dump-json                  Simulate, quiet but print JSON information.
                                     See the "OUTPUT TEMPLATE" for a description
                                     of available keys.
    -J, --dump-single-json           Simulate, quiet but print JSON information
                                     for each command-line argument. If the URL
                                     refers to a playlist, dump the whole
                                     playlist information in a single line.
    --print-json                     Be quiet and print the video information as
                                     JSON (video is still being downloaded).
    --newline                        Output progress bar as new lines
    --no-progress                    Do not print progress bar
    --console-title                  Display progress in console titlebar
    -v, --verbose                    Print various debugging information
    --dump-pages                     Print downloaded pages encoded using base64
                                     to debug problems (very verbose)
    --write-pages                    Write downloaded intermediary pages to
                                     files in the current directory to debug
                                     problems
    --print-traffic                  Display sent and read HTTP traffic
    -C, --call-home                  Contact the youtube-dl server for debugging
    --no-call-home                   Do NOT contact the youtube-dl server for
                                     debugging

  Workarounds:
    --encoding ENCODING              Force the specified encoding (experimental)
    --no-check-certificate           Suppress HTTPS certificate validation
    --prefer-insecure                Use an unencrypted connection to retrieve
                                     information about the video. (Currently
                                     supported only for YouTube)
    --user-agent UA                  Specify a custom user agent
    --referer URL                    Specify a custom referer, use if the video
                                     access is restricted to one domain
    --add-header FIELD:VALUE         Specify a custom HTTP header and its value,
                                     separated by a colon ':'. You can use this
                                     option multiple times
    --bidi-workaround                Work around terminals that lack
                                     bidirectional text support. Requires bidiv
                                     or fribidi executable in PATH
    --sleep-interval SECONDS         Number of seconds to sleep before each
                                     download when used alone or a lower bound
                                     of a range for randomized sleep before each
                                     download (minimum possible number of
                                     seconds to sleep) when used along with
                                     --max-sleep-interval.
    --max-sleep-interval SECONDS     Upper bound of a range for randomized sleep
                                     before each download (maximum possible
                                     number of seconds to sleep). Must only be
                                     used along with --min-sleep-interval.

  Video Format Options:
    -f, --format FORMAT              Video format code, see the "FORMAT
                                     SELECTION" for all the info
    --all-formats                    Download all available video formats
    --prefer-free-formats            Prefer free video formats unless a specific
                                     one is requested
    -F, --list-formats               List all available formats of requested
                                     videos
    --youtube-skip-dash-manifest     Do not download the DASH manifests and
                                     related data on YouTube videos
    --merge-output-format FORMAT     If a merge is required (e.g.
                                     bestvideo+bestaudio), output to given
                                     container format. One of mkv, mp4, ogg,
                                     webm, flv. Ignored if no merge is required

  Subtitle Options:
    --write-sub                      Write subtitle file
    --write-auto-sub                 Write automatically generated subtitle file
                                     (YouTube only)
    --all-subs                       Download all the available subtitles of the
                                     video
    --list-subs                      List all available subtitles for the video
    --sub-format FORMAT              Subtitle format, accepts formats
                                     preference, for example: "srt" or
                                     "ass/srt/best"
    --sub-lang LANGS                 Languages of the subtitles to download
                                     (optional) separated by commas, use --list-
                                     subs for available language tags

  Authentication Options:
    -u, --username USERNAME          Login with this account ID
    -p, --password PASSWORD          Account password. If this option is left
                                     out, youtube-dl will ask interactively.
    -2, --twofactor TWOFACTOR        Two-factor authentication code
    -n, --netrc                      Use .netrc authentication data
    --video-password PASSWORD        Video password (vimeo, smotri, youku)

  Adobe Pass Options:
    --ap-mso MSO                     Adobe Pass multiple-system operator (TV
                                     provider) identifier, use --ap-list-mso for
                                     a list of available MSOs
    --ap-username USERNAME           Multiple-system operator account login
    --ap-password PASSWORD           Multiple-system operator account password.
                                     If this option is left out, youtube-dl will
                                     ask interactively.
    --ap-list-mso                    List all supported multiple-system
                                     operators

  Post-processing Options:
    -x, --extract-audio              Convert video files to audio-only files
                                     (requires ffmpeg or avconv and ffprobe or
                                     avprobe)
    --audio-format FORMAT            Specify audio format: "best", "aac",
                                     "flac", "mp3", "m4a", "opus", "vorbis", or
                                     "wav"; "best" by default; No effect without
                                     -x
    --audio-quality QUALITY          Specify ffmpeg/avconv audio quality, insert
                                     a value between 0 (better) and 9 (worse)
                                     for VBR or a specific bitrate like 128K
                                     (default 5)
    --recode-video FORMAT            Encode the video to another format if
                                     necessary (currently supported:
                                     mp4|flv|ogg|webm|mkv|avi)
    --postprocessor-args ARGS        Give these arguments to the postprocessor
    -k, --keep-video                 Keep the video file on disk after the post-
                                     processing; the video is erased by default
    --no-post-overwrites             Do not overwrite post-processed files; the
                                     post-processed files are overwritten by
                                     default
    --embed-subs                     Embed subtitles in the video (only for mp4,
                                     webm and mkv videos)
    --embed-thumbnail                Embed thumbnail in the audio as cover art
    --add-metadata                   Write metadata to the video file
    --metadata-from-title FORMAT     Parse additional metadata like song title /
                                     artist from the video title. The format
                                     syntax is the same as --output. Regular
                                     expression with named capture groups may
                                     also be used. The parsed parameters replace
                                     existing values. Example: --metadata-from-
                                     title "%(artist)s - %(title)s" matches a
                                     title like "Coldplay - Paradise". Example
                                     (regex): --metadata-from-title
                                     "(?P<artist>.+?) - (?P<title>.+)"
    --xattrs                         Write metadata to the video file's xattrs
                                     (using dublin core and xdg standards)
    --fixup POLICY                   Automatically correct known faults of the
                                     file. One of never (do nothing), warn (only
                                     emit a warning), detect_or_warn (the
                                     default; fix file if we can, warn
                                     otherwise)
    --prefer-avconv                  Prefer avconv over ffmpeg for running the
                                     postprocessors (default)
    --prefer-ffmpeg                  Prefer ffmpeg over avconv for running the
                                     postprocessors
    --ffmpeg-location PATH           Location of the ffmpeg/avconv binary;
                                     either the path to the binary or its
                                     containing directory.
    --exec CMD                       Execute a command on the file after
                                     downloading, similar to find's -exec
                                     syntax. Example: --exec 'adb push {}
                                     /sdcard/Music/ && rm {}'
    --convert-subs FORMAT            Convert the subtitles to other format
                                     (currently supported: srt|ass|vtt)

viernes, 4 de agosto de 2017

Mplayer + Youtube + old pc winxp

Mplayer + Youtube + old pc winxp

Deseas ver youtube videos en MPlayer . . . para que diablos? excelente si tienes un viejo pc con WinXP  . . . .¿eso lo puedo hacer con VLC? claro que si, pero notaras cuando uses Mplayer que este solo usa un aliento de ram y cpu comparado con otros reproductores audio-video



se necesito
Mplayer . . claro
youtube-dl.exe . . . 7,583 kb
msvcr100.dll . . . .  753kb

bat dentro de la seccion punteada; este bat va dentro de la carpeta de youtube-dl . . .luego saca un acceso directo . . . :D . . . es muy divertido ver youtube en equipo poco potente.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@echo off
:begin
color 0a
ECHO .
ECHO -------------------------------------------------------------------------
ECHO --------- Youtube-dl --to-- Mplayer -------------
ECHO -------------------------------------------------------------------------
ECHO .
ECHO .-> Options. . . . . . . . . . . . . . Youtube . .
ECHO .1. Ver en Mplayer . .43  webm 640x360 medium, vp8, vorbis
ECHO .2. Oir en Mplayer . .140 webm 114k, vorbis
ECHO .
ECHO -------------------------------------------------------------------------

set /p op="Enter your choice: "
if "%op%"=="1" goto op1
if "%op%"=="2" goto op2

:op1
ECHO -------------------------------------------------------------------------
ECHO .1. Ver en Mplayer . .640x360 medium, vp8, vorbis
ECHO .Teclas . . . . . . . . . .
ECHO . . f= fullscreen -- p= pause -- o= tiempo/avanzado/restante/etc..
ECHO . . UP and DOWN  ---- Seek forward/backward 1 minute.
ECHO . . PGUP and PGDWN -- Seek forward/backward 10 minutes.
ECHO . . . . . . . . . . . . . .
set /p url="Input youtube URL: "
ECHO . youtube-dl Obteniendo Full-URL -- espere . . . . . . . . . . .

:: youtube-dl obtiene el url y lo pone en un txt
youtube-dl --no-check-certificate -g -f 43 "%url%" > url.txt
:: Calidades disponibles .. .. Probar con otra si no funciona una.. ..
::   43 webm medium , vp8, vorbis, ligero y mejor
::   18 mp4 medium

:: usando url.txt como variable
set /p var=<url.txt

ECHO . OK . . . . . . . . . . . . espere . .

ECHO . MPlayer Conectar y Reproducir  -- espere . . . . . . . . . . .
ECHO . OK . . . . . . . . . . . . espere . .
"C:\Users\hangaro\ProgramasPortables\mplayer\mplayer" -priority abovenormal -double -volume 70 -af equalizer=4:4:4.5:4:4.5:5:4.5:4.5:5:5 -cache 30720 -cache-min 15 -framedrop -ontop -autosync 5 -cookies "%var%"

::-lavdopts lowres=fast:skiploopfilter=all
:: -cookies-file ". . . ruta . . \youtube-dl\cookie.jar"

:: Notas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
:: -framedrop saltar cuadros para mantener sincronia A-V
:: -fs fullscreen
:: -ontop sobre toda ventana
:: Ojo  "-cache-min" debe corretear a "-cache"
::     para que la conexion de Mplayer se mantenga . . .
::     de otra forma se pierde la conexion . . . .  .
:: Equipo 1-2ghz, 500mb . .. .. prueba a partir de:
::   red lenta . . . .-cache 40960 -cache-min 15
::   red rapida . . . -cache 30720 -cache-min 10
:: Equipo superior al anterior . .. .. prueba a partir de
::  -cache 30720 -cache-min 5
:: Recuerda .. .. ..
::   -cache 40960 30720 24576 16384 12288 8192 4096 2048 1024 KBytes
::   -cache-min iniciar reproduccion cuando la -cache tenga x% porciento

goto begin


:op2
ECHO -------------------------------------------------------------------------
ECHO .2. Oir en Mplayer . .140 webm 114k, vorbis
ECHO . . . . . . . . . . . . . .
set /p url="Input youtube URL: "
ECHO . youtube-dl Obteniendo Full-URL -- espere . . . . . . . . . . .

youtube-dl --no-check-certificate -g -f 140 "%url%" > url.txt
set /p var=<url.txt
ECHO . OK . . . . . . . . . . . . espere . .

ECHO . MPlayer Conectar y Reproducir  -- espere . . . . . . . . . . .
ECHO . OK . . . . . . . . . . . . espere . .
"C:\Users\hangaro\ProgramasPortables\mplayer\mplayer" -priority abovenormal -double -volume 70 -af equalizer=4:4:4.5:4:4.5:5:4.5:4.5:5:5 -cache 4096 -cache-min 50 -framedrop -cookies "%var%"

goto begin


:exit
@exit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Se comienza a perder la conexion de MPlayer con Youtube . . . "-cache-min" debe corretear a "-cache"  para que la conexion de Mplayer se mantenga . . .de otra forma se pierde la conexion . Por lo tanto "-cache" no debe ser muy grande ni muy pequeña .
. . . . que demonios pasa que no entiendo . . . . sucede que si se piensa . . hare  "-cache"  enorme para tener disponible todo el video a reproducir . . . error youtube no lo permitira e impedira que obtengas el final del video . . . al terminarse la cache Mplayer pedira el resto del video y ya no podra hacer la reconexion . . al parecer . . . al tardarse tanto para pedir datos del video youtube no lo permite (probablemente el sitio lo detecta como situacion fuera de lo normal y por ello lo impide) . . . . . . . . por lo contrario hacer  "-cache"  demasiado pequeño causara que se experimente congelamiento por estar demasiado ajustado.
 . .entonces cuanto? . .  jugando encontraras la proporcion correcta para tu equipo . . ;D

MPlayer

MPlayer
El mas ligero reproductor (audio-video) que he encontrado.
Excelente para winXP (y superiores)

Ojo  . .  no uso el proporcionado por su creador . . . . SMPlayer lo trae en su interior . . . y por que no solo lo uso asi .  .  .  . con SMPlayer? . . .  jugando con un viejo pc con winxp y sus limitaciones de recursos usar solo el Mplayer vuela el sistema . . :D . . la interfaz de SMPlayer y VLC son un lastre. Y por que no solo lo tome desde la wed de su creador? . . no me trabajaba . . :O.

Descargado portable desde . . . http://www.portablefreeware.com/ . . SMPlayer . .  . . .https://www.fosshub.com/SMPlayer.html . . . Download SMPlayer Windows 32 bit (portable) - 30.03 MB | version: 17.7.0 | . . 

Bat para ejecutar facilmente con nuestra configuracion preferida.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@echo off
color 0a
:begin
ECHO .
ECHO -------------------------------------------------------------------------
ECHO . . . . . . . . mplayer . . . . . . . .
ECHO -------------------------------------------------------------------------
:: mas opciones de configuracion en  \mplayer\config
ECHO ========= mute [m] .. vol +[0]-[9] .. quit [esc] =========
ECHO -------------------------------------------------------------------------
ECHO -> Options. . . . . . . . . . . . . . . . . . . . . . . . . .
ECHO 1- Stremming file,See list . . . . . . internet-radio-url.txt
ECHO 2- Playlist Media.m3u. . . . . . . . . Now
ECHO 3- One File Media. . . . . . . . . . . Now
ECHO -------------------------------------------------------------------------

set /p op="Enter your choice: "
if "%op%"=="1" goto op1
if "%op%"=="2" goto op2
if "%op%"=="3" goto op3

:op1
ECHO 1- See list stremming file . . . . . . internet-radio-url.txt
ECHO  . . . . . . . copy url -- close txt -- paste url . . . . . . . . . . .
internet-radio-url.txt
set /p url="paste URL : "
ECHO -------------------------------------------------------------------------
mplayer -priority abovenormal -double -cache 2048 -volume 60 -prefer-ipv4 -channels 2 -af equalizer=4:4:4.5:4:4.5:5:4.5:4.5:5:5 "%url%"
goto begin

::  --- Ecualizador --
:: Cada valor va desde -12 -0- +12
:: Dispocision de los gravez - medios - agudos
:: equalizer=0:0:0:0:0:0:0:0:0:0
:: ----------|grav|medios|agudos|
:: ----------|<100|100-1.|1.>   |
:: ----------|Hz  |Hz-KHz| KHz  |
:: equalizer=0:1:2:3:4:5:4:3:2:2

ECHO -------------------------------------------------------------------------
goto begin

:op2
ECHO 2- Input Playlist Media. . . . . . . . Now
ECHO ======= volver [menor -que- mayor] Adelantar -- en el playlist =======
set /p Playlist="Input Playlist Media.m3u : "
ECHO -------------------------------------------------------------------------
mplayer -priority abovenormal -double -cache 2048 -volume 60 -channels 2 -af equalizer=4:4:4.5:4:4.5:5:4.5:4.5:5:5 -loop 0 -playlist %Playlist%
goto begin

:: ---- Create playlists; commandline ----
:: DIR *.mp3 /B > playlist.m3u
:: enlista todas las canciones del folder en playlist.m3u.
:: la extension m3u se puede editar con el notepad

:op3
ECHO 3- Input one File Media. . . . . . . . Now
set /p paht="Input one File Media : "
ECHO -------------------------------------------------------------------------
mplayer -priority abovenormal -double -cache 8192 -volume 60 -channels 2 -monitorpixelaspect 1 "%paht%"
goto begin
::

:exit
@exit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

La primer opcion que utilizo en el bat "1- Stremming file,See list . . . . . . internet-radio-url.txt" se refiere a una lista de estaciones de radio que acontinuacion enlisto . . . de esta forma copio la url (la ultima seccion de cada linea) y pego para usar en el bat.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# RADIO https://www.internet-radio.com/ -- url #
.*radio.
173.193.205.96:7032/;stream.mp3 # FUN45s.com  oldies 50-60-- http://173.193.205.96:7032/;stream.mp3
50.7.76.254:9908/;stream/1 # Oldies FM - Uruguay -- http://50.7.76.254:9908/;stream/1
uk6.internet-radio.com:8022/;stream # Classic Rock Planet HD -- http://uk6.internet-radio.com:8022/;stream
airspectrum.cdnstream1.com:8114/1648_128 # Easy Hits Florida OLDS -- http://airspectrum.cdnstream1.com:8114/1648_128
37.187.79.93:8248/;stream/1 # WRocK Cebu Philippines Classic Rock -- http://37.187.79.93:8248/;stream/1
91.250.77.9:8060/;  # Instrumental hits -- http://91.250.77.9:8060/;
us1.internet-radio.com/proxy/dougcd1019?mp=/; # Smooth Jazz New York -- http://us1.internet-radio.com/proxy/dougcd1019?mp=/;
174.36.206.197:8000/;stream/1 # Venice Classic Italia -- http://174.36.206.197:8000/;stream/1
38.100.128.106:8000/;stream/1 # Classic Washington D.C. -- http://38.100.128.106:8000/;stream/1
37.59.28.208:8722/;stream/1  # Sleep Radio -- http://37.59.28.208:8722/;stream/1
81.219.54.6:8004/; # Nirvana Meditation Radio -- http://81.219.54.6:8004/;

200.58.106.247:8626/;stream/1 # Boing pop -- http://200.58.106.247:8626/;stream/1
77.92.76.134:8136/; # IBIZA SONICA Techno -- http://77.92.76.134:8136/;
176.31.240.87:8000/;stream/1 # RADIOPARTY.PL Techno -- http://176.31.240.87:8000/;stream/1
pulseedm.cdnstream1.com:8124/1373_128 # PulseEDM  Techno -- http://pulseedm.cdnstream1.com:8124/1373_128
newairhost.com:8034/;stream/1 # RMI - Euro Disco -- http://newairhost.com:8034/;stream/1
195.56.193.129:8100/;stream/1 #  SunshineFM Disco -- http://195.56.193.129:8100/;stream/1
65.23.157.233:7904/;  # 24x7 Live Shows-NSBRadio.co.uk Techno -- http://65.23.157.233:7904/;
77.75.16.229:443/;stream/1  # Radio X-MAS -- http://77.75.16.229:443/;stream/1
uk4.internet-radio.com:8008/live # Radio Christmas -- http://uk4.internet-radio.com:8008/live
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Las urls de las estaciones que uso son vistas al reproducirlas por privoxy . . . asi que solo guardo las que me llegan a gustar . . . https://www.internet-radio.com/  . . . :D
muy divertido . . 

Aria2

aria2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://aria2.github.io/
aria2c.exe . . . . . . . . . .  5,932kB
ca-certificates.crt . . . . . 269kB

1,95MB  aria2-1.32.0-win-32bit-build1.zip
2 MB      aria2-1.32.0-win-64bit-build1.zip

There you can download source distribution and binaries for OS X, Windows and Android.
A lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.

Features

Multi-Connection Download. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. Really speeds up your download experience.

Lightweight. aria2 doesn’t require much memory and CPU time. When disk cache is off, the physical memory usage is typically 4MiB (normal HTTP/FTP downloads) to 9MiB (BitTorrent downloads). CPU usage in BitTorrent with download speed of 2.8MiB/sec is around 6%.

Fully Featured BitTorrent Client. All features you want in BitTorrent client are available: DHT, PEX, Encryption, Magnet URI, Web-Seeding, Selective Downloads, Local Peer Discovery and UDP tracker.

Metalink Enabled. aria2 supports The Metalink Download Description Format (aka Metalink v4), Metalink version 3 and Metalink/HTTP. Metalink offers the file verification, HTTP/FTP/SFTP/BitTorrent integration and the various configurations for language, location, OS, etc.

Remote Control. aria2 supports RPC interface to control the aria2 process. The supported interfaces are JSON-RPC (over HTTP and WebSocket) and XML-RPC.

probado en windows xp (ligero y rapido) y superiores . . . . realmente es muy ligero

simple bat para tenerlo configurado con nuestras preferencias (dentro del cuadro punteado)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
@echo off
color 0a
:begin
ECHO .
ECHO -------------------------------------------------------------------------
ECHO . . . . . . . . Aria2C CMD . . . . . . . . 
ECHO -------------------------------------------------------------------------
ECHO -------------------------------------------------------------------------
ECHO -> Options. . . . . Download
ECHO 1- Files url . . . . . . . . . . .
ECHO 2- File Torrent or Magnet-ulr . . . 
ECHO -------------------------------------------------------------------------

set /p op="Enter your choice: "
if "%op%"=="1" goto op1
if "%op%"=="2" goto op2

:op1
ECHO 1- Files url
ECHO -------------------------------------------------------------------------
set /p url="Input URL: "
ECHO -------------------------------------------------------------------------
aria2c "%url%"
goto begin

:op2
ECHO 2- File Torrent . . . "Ctrl-C" . Pausar transferencia 
ECHO  .. .. .. .. .. .. ..Reanudar transferencia poner de nuevo el torrent file
ECHO -------------------------------------------------------------------------
set /p Torrent=" Input File.torrent or Magnet-URL : "
ECHO -------------------------------------------------------------------------
aria2c --bt-max-peers=20 --max-overall-upload-limit=60k --max-overall-download-limit=180k --bt-max-open-files=10 --seed-time=15 %Torrent%
goto begin

:: mas opciones de configuracion en . . . . . .

:exit
@exit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -