Nov
05
2016

Streaming – Music and Movies on Demand

Streaming technology has made listening to music or watching movies on the Internet as easy as turning on the radio or TV. Here’s how the technology works.

The first music and movie files you could find on the Internet were just short clips because you had to download the whole file before you could play it. Nowadays, however, you can start playing the file as soon as the first bytes begin to arrive… thanks to streaming.

This immediacy is possible because streaming does not send files on the Internet the same way as most other files are sent. It uses a different protocol.

User Database Protocol

A protocol is a set of rules defining how two computers connect with each other and how they send each other data.

Most data that is sent through the internet is first broken up into packets (small blocks of data). The packets are sent separately and are the rejoined at their destination so that the receiver gets the whole file.

The sending of most data on the Internet is governed by a set of rules called the Transmission Control Protocol (TCP). Streaming however uses the User Database Protocol (UDP).

These two protocols are quite different. The crucial difference is in how they check for errors.

If one packet gets damaged when downloading is being controlled by TCP, downloading will be suspended while that packet is resent. That way, once the download has been completed, you can be sure that you have the entire data file.

When you are streaming files, however, UDP allows packets to get lost now and then without interrupting the downloading. This is fine because, when an occasional packet is lost, you are unlikely to notice any interruption to the music or movie. But if everything froze very briefly while a lost packet was being resent, you probably would notice the interruption.

With streaming technology, you don’t have to wait for files to be downloaded entirely before you can begin listening to audio or watching a video. You can listen to a concert on the other side of the world in real time, make a video call or watch a movie just like on TV.

Here’s how.

Listening to music

Streaming audio, or listening to music or speech on the Internet, is bringing joy to many. How audio streaming works is easy to understand.

When you click on a link to an audio file, your web browser will contact the relevant server on the Internet. The server will then send a metafile to your browser.

Metafile is a general term for a file format that can store multiple types of data.

The metafile will tell your browser where it can find the audio file you are looking for. This may be on the same or a different server. The metafile will also deliver instructions on the type of audio file that will be delivered and how it should be played. The file will tell the browser to launch the particular audio player needed to play the sound file.

The player that you need will be a plug-in, an app or mini-program designed to work with a particular browser such as Chrome, Internet Explorer or Firefox. Well-known plug-ins for browsers include Adobe Flash Player, QuickTime Player and Java.

If your browser does not have the particular plug-in needed to play the sound file you want to hear, you’ll have to download and install it before you can listen to the audio.

Once it’s ready to go, the plug-in will contact the audio server that is going to send the audio file and will tell it how fast your Internet connection is. The audio server will use this information to decide which version of the audio file it will begin sending.

If you have a fast connection, ie, you have plenty of bandwidth, the audio server can send you a high-quality sound file. However, if your connection is slow, it will send a lower-quality sound file.

Once it knows which version of the sound file to send, the server uses the UDP rules to send the audio in a series of packets.

Buffering

A buffer is a part of a physical memory device where data is stored temporarily. For audio and video files, it is a section of your computer’s RAM (random access memory) where the data can go in and out quickly.

When the sound packets arrive at your computer, they are decompressed and decoded, and placed in the buffer in RAM. This buffer can hold a few seconds of sound.

Once the buffer is full, the audio player starts using your computer’s sound card to turn the data into music, voices and other sounds. As the audio is played, the data in the buffer empties while the audio server continues to refill the buffer by sending the rest of the sound file.

The flow of the audio data through the buffer can go on indefinitely. However, the flow can be interrupted occasionally when, for example, the buffer has not received enough data to replenish it.

This can happen if the speed of our connection starts to drop or Internet traffic suddenly becomes very heavy. The buffer can also end up empty if you are processing other files or otherwise using up a lot of your computer’s resources, while you are listening to music.

When the buffer empties, the audio will pause for a few seconds while the buffer is being refilled. Once the buffer is full again, playing will resume.

The effect of a pause on your listening pleasure will depend on the source of the sound file. If you are listening to music being broadcast in real-time, ie as a concert is actually taking place, you will miss a little bit of the music. But if the sound source is a pre-recorded concert, the music will resume from the point where it stopped.

Watching a movie

Streaming video works in a similar way to streaming audio, except that the video has to be divided into its separate audio and video components when it is in the buffer in the RAM.

The server that holds the video for streaming will have a video capture expansion card which can capture either a live feed from a video camera or a pre-recorded video. The capture board turns the analogue signals it receives into digital data and compresses it.

At the same time, it employs a trick to avoid having to capture more data than it needs in order to make transmission easier.

When the camera used to record the video is stationary, ie, it is not panning, the amount of data created can be reduced. This can be done because all moving images are made up of a series of frames (still images) that change in rapid succession to give the illusion of continuous movement. The rate is usually 30 frames a second which gives the video a smooth look.

The compression system reduces the number of frames needed by comparing adjacent frames and only taking account of pixels that change from one frame to another. It does this by establishing what the background looks like.

As long as the camera remains still, only the changes in the frame, such as the movement of the actors, have to be transmitted. The background only has to be transmitted again once the camera starts to pan and the background changes.

Video streaming will also skip frames when your Internet link is slow, which may make the video jerky. Thus the faster your connection, the smoother the video will be.

When your computer receives the video signals, it will decompress them and load them into a small buffer in RAM as it does for audio.

At this point the signals are split into separate video and audio components which are sent to the video card and sound card respectively, whence they are output to your monitor and speakers so you can watch the movie and hear the sound-track.

Entertainment on demand

We’ve come a long way since the Internet began as a text-only medium. Though streaming technology is relatively young, millions of users flock to streaming sites every day to watch and record all sorts of multi-media.

Comments Off
aaronschuppan.info abandcie.info abaranov.info abconstructionltd.info acall4you.info accmurah.info accountanteastlondon.info acegar.info acessoriz.info acgozlu.info acigs.info acr700.info activeconstructionfiji.info activerepairs.info adeftwares.info adenjoy.info adolforenzi.info adopta-un-perro.info adqty.info adrenalinadays.info adristor.info adsentips.info advancare.info advantiz.info advertiz.info advicechance.info aegis-care.info aeroposter.info aessesrl.info affiliatez.info afgamarine.info afrocardz.info agence-interactiv.info agentepalladium.info agileprinter.info aglassestore.info agrarleads.info ahamall.info ahv-wholesale.info aiarashoppping.info aidesseasons.info aimshospitality.info aincradonline.info ajestik.info akyildizgayrimenkul.info alaleadership.info alibizi.info alikeles.info allabouthebullies.info all-books.info allinbutter.info allinclusivecaribbeancruises.info allinclusivediscountcruises.info alloverres.info alpenwoof.info alsace-web-communication.info altromercato.info amagzin.info amemixed.info amuentscards.info amusementscards.info amyttgroup.info androsmart.info andrtmarketing.info anhjewelry.info anicewat.info anihealth.info animedrama.info ankietyonline.info anthrazit.info anulive.info aoterra.info aphlanec.info applifootball.info appultimedia.info arddil.info armaganemlak.info artbondage.info artificialos.info artntrvices.info asequipvo.info asignaplus.info asseybuilding.info assotingtalent.info assukj.info asterify.info astmsecurity.info atlantishub.info atservices.info auctionseller3.info auctionz.info aulialaundry.info ausureeugene.info autoblogz.info autozloans.info auvida.info avclothingqx.info awmproxy.info backcrybeer.info baiyitang.info bancard.info banmp.info barbarafair.info barbtorjapan.info baslerstabs.info bautysix.info bbqtalk.info bceonline.info beachlife4life.info beaucenow.info beauticare.info beautitions.info belbridge.info bellebridge.info bellette.info berllight.info bessystem.info bestpedicuretech.info bestpriderrightnow.info bestpriightnow.info beswriter.info betheutemanager.info bettingz.info bevence.info bguzryanto.info bhimortgage.info bielbaw.info biledooncharity.info biltmonhlandale.info biosenon.info biostech.info bipholdings.info bizarrefuture.info bizarrsuperstar.info bizcardz.info bizerv.info bjyuanhetech.info bjzytc.info blankcidcards.info blazingtools.info blclothingkb.info blissviagens.info blogdollar.info blogfantastic.info blogfanyastic.info blogquizzle.info blogsauto.info blogsfinance.info bodymentss.info bokurd.info bookmarkup.info bookmycook.info bookslet.info boysccars.info brainartstudio.info breilmilano.info brejinho.info brenhools.info brettanni.info brooodtx.info browodnews.info btcflip.info budurs.info bursaimbecisi.info businez.info butrade.info buttndlaces.info caaderoids.info cacostumeqt.info caldeanada.info campusapp.info cancerpages.info candelaacorp.info canhophongthuy.info canlidavet.info cardcierge.info cardenters.info cardfulfillment.info card-keytag.info cardoncierge.info cardpenter.info cardpes.info cardporless.info cardresellers.info careagency.info careblogs.info career-summit.info carlons.info cartoclic.info cashgamecards.info casinodi.info casinoj.info casinoki.info casinomas.info casinomilate.info casinospotz.info casinov.info casnavona.info cataloguez.info cemilcahitpiskin.info chanhimyin.info chaye8.info cheapzblog.info chenillimes.info cherirouse.info chicagoirc.info chickassaw.info chinafure.info chineseetoys.info chipkeytag.info chn39.info choateeco.info chrincepts.info cicjkci.info cinapitol.info cinfiital.info cinfincapitol.info citykiddies.info cizgieftine.info cjenaimprezy.info clasfidz.info cleadssource.info clepeinsurance.info clevevest.info clicktme.info clinicasuica.info clipi.info cloothingz.info cmykcprint.info cnagement.info codeccalc.info codequeso.info coequipcg.info cohnforce.info colector.info colorigstore.info comialsolicitors.info comoaadcolate.info competitivcard.info comtillatatas.info comucions.info concbrasil.info congratzi.info consmberedcards.info construialite.info coobank.info cookasr.info cooladssite.info copiaremota.info copuble.info corneeyer.info cotecine.info cotit.info cotorschools.info counrotest.info crackidm4u.info crautlet24.info creamensaciones.info creationdev.info credieth.info credit-references.info creditz.info crimiwyer.info cristomusic.info crowdwoh.info crownpoker.info crystallskulls.info csers.info cubanite.info curvesting.info cuslegiftcard.info custoftcard.info cuteeanimals.info cvserviceuk.info dacinhthuan.info dailydeditio.info dallattorney.info dandikblog.info davcosports.info dayderfilmsltd.info dcorneontrol.info deatadt.info decatiment.info deckhenrtal.info decktowel.info defconpet.info dekacatering.info delibita.info demats.info deminds.info demrivetions.info denlantsdublin.info denzimayer.info deofocus.info designaspx.info dieoryou.info diesetuning.info dineaway.info direaresfound.info diretonaconta.info dirndlfee.info disabilitycards.info disquterne.info dolarblog.info douftcard.info drggrpinc.info dropdb.info duansllage.info duilegallimits.info dunhvirtual.info dyneema.info eagleworkspace.info eardex.info easymrnedcash.info ebankruptcypro.info ebolaclock.info eboladeath.info ecardting.info ecocaprinting.info ecogiftcards.info ecoiftcards.info ecounprint.info ecouporint.info ecowasnet.info edeclean.info edelbotte.info edelbotten.info edgelybtclub.info educce.info eduous.info edusqatar.info edwdesign.info egov-nsdl.info eleng.info el-garden.info elifcaliskan.info eljazaurant.info emernational.info empleoya.info encoow.info englishhymes.info englisrfuture.info ensmart.info epcybuilding.info eqdable.info eremaxs.info esayagent.info esmoer.info esscup.info estrixpa.info etemini.info etpistanbul.info euards.info europeasian.info euroshop24.info eventbadinting.info ewebkits.info ewephoric.info expresocolombia.info exprez.info exuberaeplus.info facesesign.info faitations.info fakturama.info fallsautotech.info fanlock.info fantasticblog.info fantasyblog.info farsibin.info fedcsis.info feelincom.info ffattiremg.info ficentre.info fiitunion.info filingslies.info filmerband.info finaccounting.info finadvice.info finadvisor.info finanalyst.info financialsblog.info financserv.info finbooks.info finbubble.info finbudget.info findasign.info finengines.info finesblog.info finlege.info finplan.info finsblog.info finstandart.info finstatements.info firstmit.info firstonden.info firstwestcu.info fitnessblogz.info flatfinance.info fletmports.info florentals.info fmplings.info fnsgerpol.info fodding.info foldaccards.info foldgiftcard.info fontalya.info forsabiliare.info fotoboerse.info fotofluss.info fourshells.info dipecom.ga hullgolf.ga veryape.ga badvice.ga dipecomm.ga onmyland.ga septics.ga sloffie.ga happyyak.ga lastage.ga raceevo.ga ouvrir.ga avilynx.ga ideataxi.ga voxrocks.ga rbauto.ga idug.ga twotopia.ga myncs.ga sharpdev.ga kstours.ga mugello.ga coldgin.ga wiganctc.ga flykeen.ga xymusic.ga brikblok.ga hairlase.ga icklem.ga rayondor.ga roxybar.ga vlud.ga zabandy.ga arrowbi.ga movello.ga clikingo.ga wemguide.ga idinners.ga webesite.ga wchannon.ga ruanair.ga aniseo.ga tweetus.ga eezyco.ga partywig.ga iconxt.ga nangthai.ga paceexec.ga photocal.ga softtubs.ga tallcat.ga bulbweb.ga wmclaims.ga kenradio.ga jjcrafts.ga colororb.ga doyson.ga quadular.ga writeout.ga estitch.ga cegems.ga anystar.ga omnirent.ga newsbeds.ga accunon.ga webryder.ga deltim.ga fauxpink.ga dealstop.ga bwmac.ga blamltd.ga dyfodol.ga afcn.ga pikstik.ga gxfunrun.ga magcards.ga webbage.ga gogopets.ga jetbet.ga ovule.ga abpl.ga contempa.ga gridare.ga outmode.ga flmail.ga nexprint.ga ankylos.ga kybb.ga mquotes.ga gafsa.ga vhps.ga carltone.ga beato.ga buybra.ga petsr.ga yourar.cf blucase.ga aceinfo.ga xenworks.ga wjtaylor.ga jcfiles.ga bbwcomms.ga anystock.ga vautrac.ga kerchang.ga farl.ga glotan.ga dentkist.ga lacole.ga skibums.ga leadview.ga ukcows.ga rockypr.ga sprg.ga wccforum.ga belowjob.ga ghpbooks.ga arbeiten.ga cnkhair.ga calidair.ga pokc.ga aransa.ga eecoltd.ga ekineda.ga istidama.ga eliwell.ga pumppitz.ga fbpecs.ga midikit.ga peachpie.ga commfree.ga cdadi.ga ferob.ga lifehfc.ga revivauk.ga rhondama.ga rhaycock.ga coclo.ga pulik.ga arrmy.ga purasaf.ga nastynip.ga mgprints.ga haloserv.ga hohh.ga sifeuk.ga katgrant.ga oliverho.ga seedrec.ga wingtyun.ga wrmg.ga solveuk.ga shipmore.ga psychem.ga stpf.ga anyadult.ga hmtib.ga gpmcc.ga nonimage.ga delpech.ga tgart.ga varuno.ga autoxl.ga calfinit.ga charmins.ga digipick.ga lpbcc.ga hatchpb.ga selforms.ga bakeshed.ga etaskit.ga ewrop.ga djcbuild.ga sdgnews.ga dekota.ga totonu.ga tyork.ga biotree.ga hakt.ga bvms.ga mrexam.ga toypit.ga rlabooks.ga teapod.ga dcbrakes.ga thecada.ga hypeswag.ga sapxi.ga ckpfilms.ga ncmoody.ga odps.ga antbait.ga morlaw.ga sassos.ga imscp.ga amygrant.ga gifteduk.ga evriders.ga peggapp.ga stoway.ga miobimbo.ga parkcons.ga pswind.ga rugbysc.ga anyagent.ga aranmore.ga flackies.ga corpsys.ga torhost.ga omama.ga btext.ga peelweld.ga tradskin.ga booksets.ga twocool.ga ecocean.ga wfec.ga ataltus.ga exited.ga anyplant.ga womf.ga lloons.ga mcgoogle.ga biblepod.ga txtmetv.ga dsglobal.ga pamaya.ga uneeda.ga alphaink.ga safevan.ga lctl.ga horsekit.ga labash.ga taliyana.ga myhairdo.ga paulspix.ga wwwhp.ga ecluster.ga dncatch.ga mytees.ga filmflex.ga ppgforum.ga goostore.ga employgo.ga tantrick.ga nzwools.ga mikedale.ga griddix.ga uronimo.ga kerrykim.ga
pgun.gq lidium.gq guller.gq izhhelp.gq nicin.gq ffer.gq dsnab.gq yunteam.gq egif.gq massx.gq pgun.cf lidium.cf guller.cf izhhelp.cf nicin.cf ffer.cf dsnab.cf yunteam.cf egif.cf massx.cf pgun.ga lidium.ga guller.ga izhhelp.ga nicin.ga ffer.ga dsnab.ga yunteam.ga egif.ga massx.ga rbstore.gq loveori.gq deloufa.gq cdnpro.gq mysovet.gq irinika.gq speedpc.gq filmion.gq blogbus.gq rbstore.cf loveori.cf deloufa.cf cdnpro.cf mysovet.cf cpacpa.cf irinika.cf speedpc.cf filmion.cf blogbus.cf rbstore.ga loveori.ga deloufa.ga cdnpro.ga mysovet.ga cpacpa.ga irinika.ga speedpc.ga filmion.ga blogbus.ga zakzab.gq rstavto.gq rostetr.gq imsz.gq buyhtc.gq intspb.gq lienta.gq taxirio.gq cefu.gq winist.gq zakzab.cf rstavto.cf rostetr.cf imsz.cf buyhtc.cf intspb.cf lienta.cf taxirio.cf cefu.cf winist.cf zakzab.ga rstavto.ga rostetr.ga imsz.ga buyhtc.ga intspb.ga lienta.ga taxirio.ga cefu.ga winist.ga wpmafia.gq tkoil.gq minbuy.gq kmstpk.gq urmia.gq cavac.gq mylow.gq ojojo.gq iqdoors.gq mankls.gq wpmafia.cf tkoil.cf minbuy.cf kmstpk.cf cavac.cf mylow.cf ojojo.cf iqdoors.cf mankls.cf wpmafia.ga tkoil.ga minbuy.ga kmstpk.ga urmia.ga cavac.ga mylow.ga ojojo.ga iqdoors.ga mankls.ga agaira.gq rainnet.gq imbrex.gq katunga.gq ksspb.gq rogot.gq moiinfo.gq parytet.gq gamzum.gq aiairu.gq agaira.cf rainnet.cf imbrex.cf katunga.cf ksspb.cf rogot.cf moiinfo.cf parytet.cf gamzum.cf aiairu.cf agaira.ga rainnet.ga imbrex.ga katunga.ga ksspb.ga rogot.ga moiinfo.ga parytet.ga gamzum.ga aiairu.ga aiaicom.gq ahbkfyc.gq veses.gq iorgazm.gq helioss.gq rsmb.gq csrank.gq heroesm.gq cfpg.gq lediap.gq aiaicom.cf ahbkfyc.cf veses.cf iorgazm.cf rsmb.cf csrank.cf heroesm.cf cfpg.cf lediap.cf aiaicom.ga ahbkfyc.ga veses.ga iorgazm.ga helioss.ga rsmb.ga csrank.ga heroesm.ga cfpg.ga lediap.ga cpatrac.gq szvs.gq onswipe.gq nzpn.gq mkkz.gq koznet.gq fmmi.gq bzkk.gq lvzv.gq iecl.gq cpatrac.cf szvs.cf onswipe.cf nzpn.cf mkkz.cf koznet.cf fmmi.cf bzkk.cf lvzv.cf iecl.cf cpatrac.ga szvs.ga onswipe.ga nzpn.ga mkkz.ga koznet.ga fmmi.ga bzkk.ga lvzv.ga iecl.ga romom.gq mahauto.gq bigns.gq negeniy.gq oaomem.gq exxl.gq scheki.gq eposan.gq aoatech.gq izvon.gq romom.cf mahauto.cf bigns.cf negeniy.cf oaomem.cf exxl.cf scheki.cf eposan.cf aoatech.cf izvon.cf romom.ga mahauto.ga bigns.ga negeniy.ga oaomem.ga exxl.ga scheki.ga eposan.ga aoatech.ga izvon.ga aigulim.gq aaqp.gq altervi.gq sngdota.gq zzqp.gq tonok.gq ssqp.gq smvu.gq saosan.gq pblsh.gq aigulim.cf aaqp.cf altervi.cf sngdota.cf zzqp.cf tonok.cf ssqp.cf smvu.cf saosan.cf pblsh.cf aigulim.ga aaqp.ga altervi.ga sngdota.ga zzqp.ga ssqp.ga smvu.ga saosan.ga pblsh.ga tonok.ga