A Vérző Hold Stúdió honlapja
Munkáink
 
Kellékosztály

Kellékek, eszközök, maszkok készítése nem csak filmesek számára. Bővebb információhoz kattintson ide.

 

 
Menü
 
Megbízóink

Eb-Training Team

Vérbrothers

Headhunters Kiskunhalas Airsoft Team

Sun City Pictures (Szeged)

 
Interjúk
 
Bejelentkezés
Felhasználónév:

Jelszó:
SúgóSúgó
Regisztráció
Elfelejtettem a jelszót
 
Youtube 4 DOS

This set of batch files and commands used together with Links browser gives a very good and relatively confortable way to watch Youtube videos on DOS. The programs created by other authors are under their licences of course, but my programs and scripts on this page (compiled and batch as well) are published as Watch-My-Movie-Ware. This means that you are allowed to copy, use and modify them, but if you like the stuff, you should watch one of my indie films. I will give you a few suggestions at the end of this page because most of you probably don't speak Hungarian so I have chosen some with English subtitles. All the Youtube system is inside a .zip file with an absolutely unusable directory structure. You must understand that all these things are a result of a continuous, almost organic evolution of my DOS installation. Extracting it was not a very hard task, but commenting it was a bit challenging, I needed to keep in mind that people will probably want to use it. Because of this:  You must read all the .bat files from beginning to the end in order to adapt it to your DOS installation. My filepaths are almost always guaranteed to absolutely unusable on your HDD so I just put everything into the .zip file as they were. It's up to you to place them to any desired place on your storage device and rewrite the batch files with correct references, (Now every subdir is referred with %YTDIR%\) so your system won't be redundant if you already have one or more components of the library I use, or you want to use alternatives. The most symple way is to make everything in the root of the .zip file (.bat, .com, .exe etc. files) available with your PATH variable and then remove the REM statement from the YOUTUBE.BAT at the line "SET YTDIR=" and store the directory you installed the package as %YTDIR%. Currently every subdir is refered as "%YTDIR%\blahblablah" so it should work. I don't use it that way, however.

No external documentation except this thing here and what comes with the "third party library". I will upload this as a readme file later. However, everything is heavy commented in the batches. Also I HIGHLY recommend you to use a RAM-disk (Z: on my system). My stuff -- not only this one here -- frequently uses temporary files for stroring and/or modifying and/or transfering data, even the video content is "buffered" this way. I have RAM-disk by default so it is a very straightorward thing on my computer. On a HDD, it would be a nightmare, both for you and for the magnetic material. Please don't be rude to magnetic materials. Neither be rude to SSD cells.

In order to call commands from the Links browser you are required to create a .bat file containing only "%2 %3 %4 %5 %6 %7 %8 %9". Call this file wahtewer you want, and define it as "MAGNET PROGRAM" in Links. Than every "magnet: blahblablah shabalabala " (spaces are important) URL will be passed to the OS as "blahblahblah shabalabala", where blahblahblah shabalabala can be any command (or gibberish). After (or before) it you should define file extension associations to media files calling "WATCH -LINKS -sdl X Y %" where X and Y are the resolution and % is how Links filetype assocs defines the file to be opened with the external program. You can define as many as you want. You can define "WATCH -LINKS %" version as well which automatically sets a default resolution, but I also have a lot of them for the most frequentaspect ratios. Details in WATCH.BAT. HX.DOS is required. If you don't have a legacy soundcard or compatible chipset, HX.DOS 2.17+(link) is required.

If you did everything well, you'll be able to watch Youtube only by downloading the desired video page and then going to a URL like "magnet: youtube x ", where x is any character string. Jumping to this URL executes the script immediately, the video is buffered into the file x.mp4 and played by mplayer automatically. After the script terminates, the video stays wherever it is saved so you can watch it again. You can preview videos by pressing Ctrl+C during the download/buffering process. If you do so, only the downloaded part of the video is played. You can later continue the downloading process by giving the YOUTUBE command again but with '-' as the first argument and the original filename as the second one. For example if your original command was "YOUTUBE 1" from the command line or "magnet: youtube 1 " from the browser, your command for continue the video should be "YOTUBE - 1" from the command line or "magnet: youtube - 1" from the browser. Then the package will continue you video to the end or until the next Ctr+C.

Here you can download the whole package with this link:

Download Youtube for DOS

Theoretically it will contain these thingies:

DIR: 128
> A version of MPLAYER for Win32 which works best on my DOS with HX 2.17+. It outputs caca very well. This is not true for all versions when executed on DOS. Furthermore I need a Windows binary because I do not have a SoundBlaster compatible or any other legacy soundcard so I need HX 2.17+. You can theoretically use any other version of mplayer too. You can even use another media player, but QuickView Pro is not the best choice on my system for this purpose (it is for others, but it's not friendly to my ethernet cad drivers when they are operating). The directory name comes from the fact that this version requires %DPMILDR% to be set to 128, so HX runtime will ignore the programs API calls for unimplemented .dll imports.

DIR: MINED
> A Unicode compatible text editor. You can use it for any other purpose as well, but also my batch uses it to conditionally edit temporary files.

DIR: PARAGON
> The best IFS driver for DOS. You can use another version too. It is not a part of the Youtube-stuff currently but I left it here, feel free to use it if you want. Originally I used it to separate HDPMI32.EXE-s from each other, but being too lazy to read the docs made me tyre twice: it is done a more effective way now, details are in WATCH.BAT. However, this IFS driver is very cool indeed, so I just hosted it anyway.

DIR: UNMUTE
> HDA driver of TomCat aka Abaddon aka KAPRONCAI Tamás (Yes, the surname comes after the given name, like in Japanese. And sometimes in Bavarian. Just while Japanese people eat sushi, Bavarians eat wurst.) Well, this is a simple mixer that turns your HDA soundcard -- if it exists of course -- into internal speaker. This is necessary, because PADAR Attila's sound card drivers don't set the card back into that state after finishing using it. So basically any Padar-style soundcard access leaves your HDA-emulated PC speaker muted. This directory contains UNMUTE.EXE which sets up the chipset to output sound on the jack and the speakers. UNMUTEX.EXE only allows the jack. TomCat distributes this package differently, only with one UNMUTE.EXE which is actually "my" UNMUTEX.EXE (It is his binary of course, but on my system, this filename was more reasonable. He made the other UNMUTE.EXE for my request).

DIR: YTCRACK
> The Youtube video URL extractor
by Fred C. MACALL. It extracts video URL-s from downloaded Youtube pages.

WGETRC
> WGETRC

128.BAT
> SET DPMILDR=128

GETDOWN.BAT
> A controller batch for WGET.EXE to download the URL given in the Z:\X file into Z:\%1. Z:\X is my primary "clipboard" when using Links.
 
LINKS.BAT
> Starter script for Links browser. Read it well!
 
MINED.BAT
> Starter script for MINED.EXE. 
 
MOUNT.BAT
> Default loader script for the IFS driver. It actually redirects to PARAGON.BAT with default values. I need this because I use this driver for my everyday life, not just for the old -- and actually redundant -- trickery with HDPMI32.EXE. NOT the same as the MOUNT.BAT in the PARAGON directory! This command marks the presence of the IFS driver by modifying the prompt from $P$G. It is important to keep in mind, because this driver is a 32 bit protected mode TSR and it can crush your system if you forget it. Details in its batch files.
 
MPLAYER.BAT
> Controller script for MPLAYER.EXE. Read it carefully!
 
PARAGON.BAT
> My direct starter bat for the IFS driver without default settings.
 
UNMOUNT.BAT
> The unloader script for the 32 bit protected mode TSR part of the IFS driver. Necessary because returning to a parent process without unloading the driver may lead to system crashes. If the parent process itself is also a client of the HDPMI instace hosting the TSR too, the crash is mostly guaranteed and instant. UNMOUNT resets the command prompt as well to indicate that IFS driver is no longer resident.
 
UNMUTE.BAT
> Batch for UNMUTE.
 
UNMUTEX.BAT
> Batch for UNMUTEX.
 
VTMODE.BAT
> Batch for VTMODE.COM. It calls the executable (which sets 50 line mode for the screen) and than passes %1 - %9 as a command line to the system. It is more comfortable for me than using 2 commands with 2 enters. It's up to you whether you want to use it this way or don't. But my batches tend to call VTMODE.BAT this way so if you don't use it, you should make modifications in the batches.
 
WATCH.BAT
> Starter script for MPLAYER. Calls the IFS driver and than MPLAYER with default and automatically applied settings. Read it carefully!
 
X.BAT
> Calls unmount and gives the EXIT command. I mainly use this command instead of EXIT so I can automatically avoid system crashes when the IFS driver is loaded. The IFS driver's unloader refuses to unload the driver when it is not the last element in the spawn-chain. But if a regular TSR is loaded after it... it may be unloaded and your system may crash. You should avoid loading TSR-s after the IFS driver or keep them mind and unload them in reverse order or you will cry.
 
YOUTUBE.BAT
> The actual starter and controller script for everything you find here in order to play a Youtube video.
 
YX.BAT
> X.BAT with UNMUTEX included. Comfortable for me.
 
SCANCODE.COM
> Fake keyboard strokes by Bret JOHNSON. Used to conditionally edit temporary files.
 
TCAP.COM
> Console I/O recorder by Tim D. KANNEL. Documentation is in TCAP.TXT. It is used to capture the output of WGET.EXE for further analysis.
 
VTMODE.COM
> Sets the 50 line screen mode.
 
LINKS218.EXE
> Links 2.18 by Mikulaš PATOČKA.
 
SAVIDO.EXE
> My primitive program to create a savido.net URL for protected videos which are not downloadable on the regular URL YTCRACK can find. If you want a different download site modify the source and compile it with DJGPP.
 
WGET.EXE
> Well... WGET.EXE.
 
YTITAG18.EXE
> My primitive program to extract the itag=18 URL from the YTCRACK output file. This is ideal for 640:360 or 640:480 playback. If you want a different default format, modify the source and compile it with DJGPP.
 
ITAG18.CPP
> Source of YTITAG18.EXE.
 
SAVIDO.CPP
> Source of SAVIDO.EXE
 
TCAP.TXT
> TCAP readme file
 
 
Good Luck! :)
 
Regards:
KORMOS Krisztián aka KormaX
 
My movie suggestion: 

 
Hirdetések

szexpartner , budapest escort , eroticmassage , sexpartner , szextarskereso lanyok

 
Rólunk


A Vérző Hold egy kiskunhalasi filmes csapat, amely saját, szórakoztatás céljából készült munkái mellett kisfilmek, videoklipek készítését, rendezvények rögzítését, rögzített anyag feldolgozását, vagy filmezéstől függetlenül kellékek, sminkek, maszkok, mozgó díszletek és eszközök készítését vállalja, elsősorban Bács-Kiskun megyében, Szegeden, és Budapesten, de postázható terméket bárhova küldünk. (Hiteles művér, mechanikus eszközök, gumimaszkok, stb.) cím:  verzohold@citromail.hu

Tovább a kellékosztályra>>

 

Nyereményjáték! Nyerd meg az éjszakai arckrémet! További információkért és játék szabályért kattints! Nyereményjáték!    *****    A legfrissebb hírek Super Mario világából, plusz információk, tippek-trükkök, végigjátszások!    *****    Ha hagyod, hogy magával ragadjon a Mario Golf miliõje, akkor egy egyedi és életre szóló játékélménnyel leszel gazdagabb!    *****    A horoszkóp a lélek tükre, nagyon fontos idõnként megtudni, mit rejteget. Keress meg és nézzünk bele együtt. Várlak!    *****    Dryvit, hõszigetelés! Vállaljuk családi házak, lakások, nyaralók és egyéb épületek homlokzati szigetelését!    *****    rose-harbor.hungarianforum.com - rose-harbor.hungarianforum.com - rose-harbor.hungarianforum.com    *****    Vérfarkasok, boszorkányok, alakváltók, démonok, bukott angyalok és emberek. A világ oly' színes, de vajon békés is?    *****    Az emberek vakok, kiváltképp akkor, ha olyasmivel találkoznak, amit kényelmesebb nem észrevenni... - HUNGARIANFORUM    *****    Valahol Delaware államban létezik egy város, ahol a természetfeletti lények otthonra lelhetnek... Közéjük tartozol?    *****    Minden mágia megköveteli a maga árát... Ez az ár pedig néha túlságosan is nagy, hogy megfizessük - FRPG    *****    Why do all the monsters come out at night? - FRPG - Why do all the monsters come out at night? - FRPG - Aktív közösség    *****    Az oldal egy évvel ezelõtt költözött új otthonába, azóta pedig az élet csak pörög és pörög! - AKTÍV FÓRUMOS SZEREPJÁTÉK    *****    Vajon milyen lehet egy rejtélyekkel teli kisváros polgármesterének lenni? És mi történik, ha a bizalmasod árul el?    *****    A szörnyek miért csak éjjel bújnak elõ? Az ártatlan külsõ mögött is lapulhat valami rémes? - fórumos szerepjáték    *****    Ünnepeld a magyar költészet napját a Mesetárban! Boldog születésnapot, magyar vers!    *****    Amikor nem tudod mit tegyél és tanácstalan vagy akkor segít az asztrológia. Fordúlj hozzám, segítek. Csak kattints!    *****    Részletes személyiség és sors analízis + 3 éves elõrejelzés, majd idõkorlát nélkül felteheted a kérdéseidet. Nézz be!!!!    *****    A horoszkóp a lélek tükre, egyszer mindenkinek érdemes belenéznie. Ez csak intelligencia kérdése. Tedd meg Te is. Várlak    *****    Új kínálatunkban te is megtalálhatod legjobb eladó ingatlanok között a megfelelõt Debrecenben. Simonyi ingatlan Gportal    *****    Szeretnél egy jó receptet? Látogass el oldalamra, szeretettel várlak!