PyroPeter's homepage (PyroPeters Heimseite)

IPv6 ready since 2010

blog/Stream_Backup.txt

oooo                                       .                 
`888                                     .o8                 
 888 .oo.    .ooooo.  oooo oooo    ooo .o888oo  .ooooo.      
 888P"Y88b  d88' `88b  `88. `88.  .8'    888   d88' `88b     
 888   888  888   888   `88..]88..8'     888   888   888 o8o 
 888   888  888   888    `888'`888'      888 . 888   888 `"' 
o888o o888o `Y8bod8P'     `8'  `8'       "888" `Y8bod8P' o8o 
                                                         `"' 
                                                             
                                                             
 .oooooo..o     .                                                  
d8P'    `Y8   .o8                                                  
Y88bo.      .o888oo oooo d8b  .ooooo.   .oooo.   ooo. .oo.  .oo.   
 `"Y8888o.    888   `888""8P d88' `88b `P  )88b  `888P"Y88bP"Y88b  
     `"Y88b   888    888     888ooo888  .oP"888   888   888   888  
oo     .d8P   888 .  888     888    .o d8(  888   888   888   888  
8""88888P'    "888" d888b    `Y8bod8P' `Y888""8o o888o o888o o888o 
                                                                   
                                                                   
                                                                   
oooooooooo.                      oooo                               
`888'   `Y8b                     `888                               
 888     888  .oooo.    .ooooo.   888  oooo  oooo  oooo  oo.ooooo.  
 888oooo888' `P  )88b  d88' `"Y8  888 .8P'   `888  `888   888' `88b 
 888    `88b  .oP"888  888        888888.     888   888   888   888 
 888    .88P d8(  888  888   .o8  888 `88b.   888   888   888   888 
o888bood8P'  `Y888""8o `Y8bod8P' o888o o888o  `V88V"V8P'  888bod8P' 
                                                          888       
                                                         o888o      
________________________________________________________________________________

blabla

================================================================================
=== ZDF-Mediathek ==============================================================

Man finde die URL zur Stream-Seite:

    http://www.zdf.de/ZDFmediathek/beitrag/video/942976/Wie-funktioniert-
    der-Koerperscanner%253F

Man extrahiere die Video-ID. Daraufhin fordere man folgendes Dokument:

    http://www.zdf.de/ZDFmediathek/xmlservice/web/beitragsDetails?id=942976

Die verschiedenen Stream-Quellen sind enthalten in den Knoten
video/formitaeten/formitaet. Vorzugsweise suche man den "<quality>very high"-
Knoten mit der wstreaming.zdf.de-URL, und nutze mplayer oder mplayer, oder auch
mplayer, um den Stream in Sektoren zu bannen.

---[ code type:bash ]-----------------------------------------------------------
stream_url=`wget -O - http://www.zdf.de/ZDFmediathek/xmlservice/web/beitragsDetails?id=$1 2> /dev/null | awk '/<formitaet basetype="wmv3_wma9_asf_mms_asx_http/ {getline; if ($0 ~ "very high") {getline; split($0, a, "<|>"); print a[3]; exit;}}'`
echo $stream_url
---[ /code ]--------------------------------------------------------------------

    Everything done. Thank you for downloading a media file containing
    proprietary and patented technology.