Enigma Group's Hacking Forum



User Info
Welcome, Guest. Please login or register.
July 02, 2015, 10:35:49 PM

Login with username, password and session length
Search:     Advanced search
News
Download your copy of The Enigma Group Manual, intended for new members, as an introduction to this site.
Forum Stats
46778 Posts in 5915 Topics by 32905 Members
Latest Member: akatsukizz
Enigma Group's Hacking Forum  |  General  |  Programming Help  |  Bash / Batch Scripting  |  Watch Live TV Streams On VLC
« previous next »
Pages: [1] Print
Author Topic: Watch Live TV Streams On VLC  (Read 66414 times)
Ausome1
Administrator
Elite
*****
Instant Messenger
Offline Offline

Posts: 2714
  • Respect: +4


  • Private Tunnels
    « on: February 18, 2009, 10:20:19 PM »
    0

    I got bored tonight so I whipped up this little batch script to watch live TV streams on VLC.

    copy code below
    paste into notepad
    save file as wtv.bat
    double click on wtv.bat
    and enjoy

    Code: [Select]
    @echo off
    :loop
    echo Uses VLC to let you watch Live TV streams
    echo.
    echo 1. BBC
    echo 2. Jazeera (arabic)
    echo 3. CNN
    echo 4. Jazeera (english)
    echo 5. Islam Channel
    echo 6. Haroon Yahia TV
    echo 7. Quit
    echo.
    SET /P Choice="Type the number and press Enter: "

    :: The syntax in the next line extracts the substring
    :: starting at 0 (the beginning) and 1 character long
    IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%

    :: Modify path to point to where VLC is installed on your computer
    cd C:\Program Files (x86)\VideoLan\VLC

    IF /I '%Choice%'=='1' GOTO bbc
    IF /I '%Choice%'=='2' GOTO jazeera
    IF /I '%Choice%'=='3' GOTO cnn
    IF /I '%Choice%'=='4' GOTO jazeera_en
    IF /I '%Choice%'=='5' GOTO islam_channel
    IF /I '%Choice%'=='6' GOTO haroon
    IF /I '%Choice%'=='7' GOTO end
    echo.
    echo "%Choice%" is not valid. Please try again.
    echo.
    pause
    cls
    GOTO Loop

    :: ============= bbc ================
    :bbc
    vlc.exe mms://a1482.v373745.c37374.g.vm.akamaistream.net/7/1482/37374/498f5ea4/clipdownloads.bbc.co.uk/windowsmedia-acl/news/n5ctrl/summaries/world/bb/video/world_bb.wmv
    GOTO end

    :: =========== jazeera ==============
    :jazeera
    vlc.exe mms://88.191.45.161/channel13
    GOTO end

    :: ============= cnn ================
    :cnn
    vlc.exe mms://a779.l2584224778.c25842.g.lm.akamaistream.net/D/779/25842/v0001/reflector:24778
    GOTO end

    :: ======= jazeera english ==========
    :jazeera_en
    vlc.exe mms://skinkers-livestation-client-d0ac-aljazeer-en.wm.llnwd.net/skinkers_livestation_client_d0ac_aljazeer_en
    GOTO end

    :: ======== islam_channel ===========
    :islam_channel
    vlc.exe mms://webcast.islamchannel.tv/IslamVideo
    GOTO end

    :: ====== haroon yahia tv ===========
    :haroon
    vlc.exe mms://ib2.islambox.tv/harunyahyatv
    GOTO end

    :: =================================
    :end
    pause
    « Last Edit: February 19, 2009, 10:26:53 AM by Ausome1 » Logged
    Never take two clocks to sea. Take one or three.

    Q: HOW DO YOU ANNOY A WEB DEVELOPER?
    Ausome1
    Administrator
    Elite
    *****
    Instant Messenger
    Offline Offline

    Posts: 2714
  • Respect: +4


  • Private Tunnels
    « Reply #1 on: February 18, 2009, 10:40:12 PM »
    0

    Heres a list of some more TV streams if anyone wants to add it to the script?

    TV STREAMS:

    sky news - mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k

    cnn pipeline - mms://a466.l3760651364.c37606.g.lm.akamaistream.net/D/466/37606/v0001/reflector:51364

    ITN News - mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21687/v0001/reflector:34652

    MTV-U - mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:50505

    BBC World - mms://wmslive.media.hinet.net/Weblive_BBCworld_600

    NRK Norway - mms://straumV.nrk.no/nrk_tv_webvid04_h

    VPRO - GTV Holland - mms://livemedia.omroep.nl/vprogeschiedenis-bb

    Graafschap TV Holland - mms://graafschaptv.streamonline.nl/graafschaptv

    Museum TV - Holland - mms://wm1.avro.jet-stream.nl/avro=live801?MSWMExt=.asf

    DD TV Italian - mms://82.76.12.224:8081/

    Baseball Channel - mms://a1503.l1086932070.c10869.g.lm.akamaistream.net/D/1503/10869/v0001/reflector:32070?ct2=9802512181156463434671&ct3=-1&ct4=-1&media_type=wms&av_type=video&event_pk=

    CNN Spain - mms://a1014.l1401540961.c14015.e.lm.akamaistream.net/D/1014/14015/v0001/reflector:40961

    NBC News Updates - mms://msnbc.wmod.llnwd.net/a275/e1/video/100/vh.asf

    Capri Sport Italy - mms://live.wm.p1.str3.com/000999_bc_v365_telecaprisport_mi

    ESPN - mms://tv2.lzu.edu.cn/tv4

    Discovery Channel - mms://tv1.lzu.edu.cn/discovery

    FOX 11 Los Angeles - mms://a195.l2307334194.c23073.g.lm.akamaistream.net/D/195/23073/v0001/reflector:34194

    KNDU 25 - mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:38701

    Channel 12 Sports - mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:38701

    KARE 11 Minnesota - mms://a1100.l2234351369.c22343.n.lm.akamaistream.net/D/1100/22343/v0001/reflector:51369

    Oceanic Sports Australia - http://media.oceanic.com/OC16-Live?.wma
     

    WCCI 2 NBC Florida - mms://a190.l1289038189.c12890.g.lm.akamaistream.net/D/190/12890/v0001/reflector:38189

    NBC 30 - mms://a951.l1289624950.c12896.g.lm.akamaistream.net/D/951/12896/v0001/reflector:24950

    VS Fishing & Outdoors Channel - mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:54953

    Tele Le Direct France - mms://vipmms.itele.fr/cpi_itele

    MCM Top Music Videos France - mms://vipmms9.yacast.net/mcm_top

    Orange Sport France - mms://livewm.orange.fr/live-multicanaux

    TLM Sport France - mms://213.251.181.150/tlm

    DAF Germany - mms://st.anleger-fernsehen.de/daflive/300.wmv

    Franken TV Germany - mms://d8019013969.w.glx.core006.cdn.streamfarm.net/11008bmt/live/3338s09tvfranken/300.wmv?cid=60751&dummy=.wmv

    GIGA Sport Germany - mms://stream.giga.de/GIGA

    KW-TV Germany - mms://webtv-bb.de/KW-TV

    Munchen TV Germany - mms://d8019013968.w.glx.core006.cdn.streamfarm.net/11008bmt/live/3338s15muenchentv/300.wmv?cid=60919&dummy=.wmv

    TW-1 Germany - mms://a151.l1058843249.c10588.n.lm.akamaistream.net/D/151/10588/v0001/reflector:31284

    RTP Portugal - http://a1729.l2168647534.c21686.g.lm...tor:24487?.wma

    Setana Sports UK - mms://live3.wm.setantauk.servecast.net/setanta_wmlz_setantanews

    WKYT Kentucky USA - mms://a1832.l731147410.c7311.n.lm.akamaistream.net/D/1832/7311/v0001/reflector:47410

    Zona 31 - http://streampwr.alsolnet.com:89/zona31?.wma

    Big Pond Sports TV - mms://wm9.streaming.telstra.com/ucs-wh_BigPondTV1live2

    Turbo Brazil - mms://media.brturbo.com/turbotv.wmv

    Canal 21 Brazil - mms://winmedia.telium.com.br/catve

    TV Brasilia - mms://webtv.tvbrasilia.com.br/tvbrasilia

    Loures TV Brazil - mms://81.92.214.8/LouresTV

    TV 10 Brazil - mms://200.96.99.10/TVCOM-RS2007?uid=0

    ATV 12 - mms://broadcast.line.hu/ATVlive

    Duna TV Hungary - http://80.249.168.222/autonomia?.wma

    HIR TV Hungary - mms://streamer.hirtv.net/hirtv.asf

    Liberta Italy - mms://217.220.36.58/euroscena

    Canale 7 - mms://151.1.245.65/canale7

    CBL Italy - mms://151.1.245.71/cblfilm-live

    Palermo Channel Italy - mms://85.18.190.53:8080

    Lombardo Italy - mms://151.1.245.65/unitedcom-v

    Play Italy - mms://85.18.98.225:8000/

    REI - mms://89.97.248.214:8080

    Diretta Roma Italy - mms://212.48.126.114/retesoleroma

    Roma Uno Italy - mms://85.18.78.87/Romauno

    Eco TV Italy - mms://iptv.telecard.it/Cinquestelle

    Sky TG 24 Italy - mms://live.skylife.it/SkyTg24

    Tele D-1 Italy - http://stream.mediaonline.it/teled1?.wma

    Tele Truria - mms://83.147.65.2/TeletruriaLive

    Ocho TV Television Libre - mms://201.130.192.49:8000/

    ETV Holland - mms://mediastream.intermax.nl/etv-live

    Best TV Holland - mms://livemedia2.omroep.nl/nos_hilversumbest-bb

    RTV Utrecht - mms://stream-cache-J.surfnet.nl/regiotv_utrecht

    TOYA Poland - mms://217.113.224.22/TVToya

    Minho ActualTV - Brazil - mms://espalhabrasas.sapo.pt/minhoactualtv

    Hino Portugal - mms://195.245.176.20/onlinertp

    V-TV Portugal - mms://viseutv.sytes.net:8080

    Realitatea Italy - mms://194.169.235.21

    Paprika Slovakia - mms://wmedia.siol.net/paprika/live

    Cetelmon TV Mexico - http://wagner.serveisweb.com/CE027?.wma

    CT 24 - Czech - http://wm.dist.nacevi.cz/CT4-High?.wma

    Seceseyret Turkey - mms://eu1.secveseyret.com/ntv_high
    Logged
    Never take two clocks to sea. Take one or three.

    Q: HOW DO YOU ANNOY A WEB DEVELOPER?
    Pheonix28
    Guest
    « Reply #2 on: February 19, 2009, 01:55:17 AM »
    0

    a nice little script there, I may check it out later.
    Logged
    Ios
    Guest
    « Reply #3 on: February 19, 2009, 02:15:40 AM »
    0

    why awesome why.......... you didnt show that bebore..... : :)
    Logged
    SaMTHG
    Guest
    « Reply #4 on: February 19, 2009, 09:35:48 AM »
    0

    It's very good except for some reason when I try the BBC it doesn't work...:(
     EDIT: Fixed...I wasn't reading the script properly...Ebaressed :S
    « Last Edit: February 19, 2009, 10:10:24 AM by SaMTHG » Logged
    kre5o
    Guest
    « Reply #5 on: February 19, 2009, 11:06:24 AM »
    0

    nice find, gonna try it
    Logged
    slacka
    Guest
    « Reply #6 on: March 22, 2009, 07:04:26 PM »
    0

    I wrote a related script a while back for watching nasa tv during the phoenix project.  It uses mplayer though. 

    Code: [Select]

    #!/bin/bash

    # This is the file which the stream is saved as.
    StreamFile=".NasaTV-Stream.ram"

    # This is the link to the ram file on Nasa's website.  This may need to be changed.
    NasaStreamLink="http://www.nasa.gov/ram/35037main_portal.ram"

    #----------------------------- don't touch stuff beyond this point --------------------------------------
    function UpdateStream(){
            echo "Retrieving updated streams..."
            wget --directory-prefix=~ ${NasaStreamLink} -O ${StreamFile}

            if ! [ -f ~/$StreamFile ]; then
                    echo "Failed to update stream file."
                    echo "Check Link: http://www.nasa.gov/ram/35037main_portal.ram"
                    echo "Exiting..."
                    exit 1
            fi
    }

    # make this so it confirms.
    function RemoveStreamFile(){
            while :; do
                    echo "Remove \"~/${StreamFile}\"? [y/n]"
                    read answer
                    case "$answer" in
                            [yY])   rm ~/$StreamFile
                                            break ;;
                            [nN])   break ;;
                    esac
                    echo "Invalid Selection \"$answer\""
                    echo
            done
    }

    if ! [ -f ~/$StreamFile ]; then
            UpdateStream
    else
            while :; do
                    echo "Would you like to Update your Streams? [y/n]"
                    read answer
                    case "$answer" in
                            [yY])   UpdateStream
                                            break ;;
                            [nN])   break ;;
                    esac
                    echo "Invalid Selection \"$answer\""
                    echo
            done
    fi

    streams=($(cat ~/${StreamFile}))
    NumStreams=${#streams[@]}

    # if there is no streams in the file, exit
    if [ ${NumStreams} -lt 1 ]; then
            echo "No Streams available at this time"
            RemoveStreamFile
            exit 1
    fi

    # Print the available streams
    clear
    count=0

    echo "--------------------------------------------------------------"
    echo "NASA TV STREAM LIST: (select number from list)"
            for i in ${streams[@]}; do
                ((count++))
                    echo -e "\t[${count}] $i"
            done
    echo -e "--------------------------------------------------------------\n"

    # Get stream selection
    while :; do
            echo -n "Stream Number: "
            read selection
    # Make sure they picked a number, so bounds checking doesn't puke
            if ! echo $selection|egrep "^[0123456789]+$">/dev/null; then
                    echo -e "Invalid selection (pick a number from the menu above)\n"
                    continue
    # Make sure their choice is in range
            elif [ "$selection" -lt 1 -o "$selection" -gt "$NumStreams" ]; then
                    echo -e "Invalid selection (pick a number from the menu above)\n"
                    continue
            fi
            break
    done

    # Play selected stream
    ((selection--))
    mplayer "${streams[$selection]}"

    exit 1



    Logged
    Acid-Rain
    Newbie
    *
    Instant Messenger
    Offline Offline

    Posts: 7
  • Respect: 0


  • « Reply #7 on: October 20, 2010, 10:45:02 PM »
    0

    cool dude
    Logged
    hack the planet
    Pages: [1] Print 
    « previous next »
     

    Find Us on Facebook! Find us at Facebook! - Follow Us! Follow us with Twitter! - Make sure to Stumble us! Stumble upon us! - Subscribe! Subscribe to our feed!
    Review enigmagroup.org on alexa.com

    ©Enigma Technology Group Inc. 2005-2015