End-to-endDelayofVideoconferencingoverPacket
|
|
|
- Rosalyn Holt
- 10 years ago
- Views:
Transcription
1 End-to-endDelayofVideoconferencingoverPacket POBox218,YorktownHeights,NewYork1598 T.J.WatsonResearchCenter-IBM MarioBaldiandYoramOfek SwitchedNetworks calltointeractnaturally,theend-to-enddelayshouldbebelowhumanperception-about withtheobjectiveofunderstandinghowitcanbecontrolledandreduced. lossprobability,andboundeddelay.inorderfortheparticipantsinavideoconference 1ms.Weidentifythecomponentsoftheend-to-enddelayinvariouscongurations Therstcontributiontotheend-to-enddelaycomesfromtheprocessingperformed Videoconferencingapplicationsrequirefromthenetworkguaranteedbandwidth,small Abstract onpicturesbeforesendingandafterreceivingthem;wecallthisprocessingdelay.the secondcontributionisthenetworkdelay.sincepicturesmustbedisplayedatthesame paceatwhichtheyhadbeencaptured,anyvariationintheprocessingandnetwork switchingwithtimedrivenpriority,and(iv)asynchronouspacketswitching.thestudy results,forvideoconferencingwithmpeg,independentofthenetworkload. delaymustbecompensatedbeforepicturesaredisplayed.thiscompensationisdoneby MPEGvideo(VBRandCBR)over:(i)dedicatedlinks,(ii)circuitswitching,(iii)packet showsthatacommontimereferenceusedwithtimedrivenprioritycanprovideadequate throughanumberofcongurations.westudythetransmissionofbothrawvideoand addingresynchronizationdelay,whichisthethirdcomponentoftheend-to-enddelay. Wedevisethesebounds,andhencetherelatedend-to-enddelay,goingstep-by-step VistitingstudentfromDipartimentodiAutomaticaeInformatica,PolitecnicodiTorino,phone
2 2TheModel Contents 1Introduction 1.1ScopeoftheWork:::::::::::::::::::::::::::::::::5 2.2RequirementsforVisualQuality::::::::::::::::::::::::::8 2.1RequirementsforInteraction:::::::::::::::::::::::::::: BueringIssues::::::::::::::::::::::::::::::9 65 3TransmissionofRawVideo 2.3TheSystem:::::::::::::::::::::::::::::::::::::1 3.1DedicatedLinkBetweenSenderandReceiver::::::::::::::::::12 3.3PacketSwitchingwithTimeDrivenPriority:::::::::::::::::::16 3.2CircuitSwitching:::::::::::::::::::::::::::::::::: BasicPrinciplesofTimeDrivenPriority::::::::::::::::: TransmissionofVideoandScheduling:::::::::::::::::: MultipleVideoconferenceCallsontheSameNetwork:::::::::: TransmissionofVBRMPEGVideo 4.1MPEGOverview::::::::::::::::::::::::::::::::::29 3.4AsynchronousPacketSwitching:::::::::::::::::::::::::: NetworkResynchronizationDelay::::::::::::::::::::: TracShapingatNetworkBoundaries::::::::::::::::::26 4.3PacketSwitchingwithTimeDrivenPriority:::::::::::::::::::38 4.2DedicatedLinkBetweenSenderandReceiver:::::::::::::::::: BitGenerationRateandQuantization:::::::::::::::::: PredictiveCoding:::::::::::::::::::::::::::::: Intra-frameCoding:::::::::::::::::::::::::::::29 4.4AsynchronousPacketSwitching:::::::::::::::::::::::::: TracShapingatNetworkBoundaries:::::::::::::::::: SynchronizationbetweenEncoderandNetwork::::::::::::: ComplexScheduling:::::::::::::::::::::::::::: ChoosingaBoundonPictureDimension:::::::::::::::: AdaptingtheEncodedVideoStreamtotheNetwork:::::::::: ReducingDecodingTime:::::::::::::::::::::::::: ControllingDimensionofEncodedPictures::::::::::::::::41 4.5CircuitSwitching::::::::::::::::::::::::::::::::::59 2
3 5TransmissionofCBRMPEGVideo 5.1Intra-frameCodingOnly:::::::::::::::::::::::::::::: CodingShapingDelay::::::::::::::::::::::::::: RateControlFunction::::::::::::::::::::::::::: DimensionofEncodedPictures:::::::::::::::::::::: StartupShapingDelay::::::::::::::::::::::::::: ShapingDelayImplementation:::::::::::::::::::::: ExperimentalData:::::::::::::::::::::::::::::::::81 5.2Intra-frameandPredictiveCoding:::::::::::::::::::::::: CodingShapingDelayatConstantTargetRate::::::::::::: ExperimentalData::::::::::::::::::::::::::::: BueringIssuesRelatedtotheCodingShapingDelay::::::::::75 5.6PacketSwitchingwithTimeDrivenPriority:::::::::::::::::::95 5.5CircuitSwitching::::::::::::::::::::::::::::::::::95 5.4DedicatedLinkbetweenSenderandReceiver::::::::::::::::::: CodingShapingDelayatConstantVisualQuality:::::::::::: StartupShapingDelay:::::::::::::::::::::::::::8 5.7AsynchronousPacketSwitching:::::::::::::::::::::::::: NetworkShapingDelay::::::::::::::::::::::::::: End-to-endDelay:::::::::::::::::::::::::::::: ExcessResynchronizationDelay::::::::::::::::::::::97 AListofAchronymsandSymbols 6Summary 5.7.2Multi-HopConguration:::::::::::::::::::::::::: Single-HopPacketNetwork::::::::::::::::::::::::11 BTheMPEGEncodingStandard 5.7.3PacketizationandStartupShapingDelay:::::::::::::::::15 B.2Intra-codedPictures::::::::::::::::::::::::::::::::112 B.1GeneralPrinciples::::::::::::::::::::::::::::::::::111 B.2.1DiscreteCosineTransformation:::::::::::::::::::::: B.3Predictive-codedPictures::::::::::::::::::::::::::::::116 B.2.4ControllingI-frameDimension:::::::::::::::::::::::115 B.2.3EntropyEncoding::::::::::::::::::::::::::::::114 B.2.2Quantization::::::::::::::::::::::::::::::::113 B.3.3DCT:::::::::::::::::::::::::::::::::::::117 B.3.1MotionEstimation:::::::::::::::::::::::::::::116 B.3.2MotionCompensation:::::::::::::::::::::::::::117 3
4 B.5PacketizationandStreaming::::::::::::::::::::::::::::119 B.4SignaltoNoiseRatio::::::::::::::::::::::::::::::::119 B.3.6ControllingP-frameDimension::::::::::::::::::::::118 B.3.5EntropyEncoding::::::::::::::::::::::::::::::118 B.3.4Quantization::::::::::::::::::::::::::::::::118 4
5 1Introduction TheMovingPictureExpertGroup(MPEG)encodingwasdesignedforstorageandone-way mainobjectivehasbeentoreducethecommunicationresourcesrequirementswhilemaintaininghighvideoquality. (playback)transmissionofqualityvideowhereend-to-enddelayisnotamajorconcern.the (i)forhearingtheend-to-end(sendertoreceiver)delayshouldbebelow1ms, (ii)thevideostreamshouldbesynchronizedwiththeaudiostream(a.k.a.lip-synchronization), videocommunications: avoidvariouspitfalls,asshowninthisreport. qualityofservice(qos)parametershasnotbeendone.suchastudyisneededinorderto UsingMPEGforvideoconferencingisnotnew.However,asystematicstudyofvarious (iii)themedia(audioandvideo)replayatthereceivingsideshouldbecontinuous(which impliesthatthereplaybuerisneveroverowedorunderowed). whichimpliesthatthevideoend-to-enddelayshouldbekeptbelow1msaswell,and Wedenethefollowingrequirementsforinteractive("face-to-face")real-timeaudioand thatthepersonontheothersideisnexttous.ifwehadveryhighquality3d(dimension) nexttous-thisisalsoknownastele-presenceorvirtualreality.sotheresultspresentedin video,thenwithoureyesopenwecouldthinkthatthepersonontheothersideisactually thisworkcanhavefurtherconsequencesonthedesignofvirtualrealitysystems. Themainconsequenceoftheaboverequirementsisthatwecan"closeoureyes"andthink qualityofeachpicture.weconcentrateontheminimizationoftheend-to-endprocessing eachofthemthusdecreasingtheend-to-enddelay.whilereducingtheend-to-enddelayit isimportanttomaintainthevideoqualitybyavoidingpacketlossandbymaintainingthe howitisinuencedbythetransmissionandnetworkqueueingdelay. delay,i.e.,weconsiderthedelayintroducedbythecombinationofencoding/decodingand Weidentifythecomponentsofthedelayandstudytheirnaturewiththegoalofreducing investigationintoseveralsteps.ineachstepweincreasethecomplexityofthesystemwe 1.1ScopeoftheWork Inordertohaveanin-depthunderstandingofthevideoconferencingproblemwedivideour analyze.bydoingsowecanisolateandunderstandthevariousdelaycomponents. types: 1.Dedicatedlink,whichallowsthevideostreamtousetheentirecapacityofthelink, Weconsidertwovariables:thenetworktypeandthevideotype.Therearefournetwork thanaveragevideostreamrate. possiblyinaburstymanner.thus,inthiscasethelinkcapacitycanbemuchhigher 5
6 2.Circuitswitching,whichallocatesafractionofthecapacitytoeachvideostream.In 3.Timedrivenpriority[15],whichgivesthereal-timetracperiodicpriorityoverother thiscasetheassumptionisthatthecircuitcapacityequalstheaveragevideostream rate. 4.Asynchronouspacketswitching,whichdoesnothavecommontimereferenceandeven ifpriorityisusedcongestioncanoccur.asaresult,thedelayjittercanbelargeand trac(bothreal-timeandnonreal-time).sincealltheswitchingelementsareusing packetlosscanoccur. timeornonreal-time)trac,i.e.,thereal-timetracisprotectedbya\re-wall",and thedelayjittercanbeboundedbyaconstant. network.asaresult,thereal-timetraccannotbeadverselyaectedbyother(real- acommontimereference,timedrivenpriorityfacilitatespipelineforwardinginsidethe eectofthevideoprocessingontheend-to-enddelay. 2.Variablebitrate(VBR)MPEG.Eachpictureisencodedandimmediatelysenttothe 1.Rawvideo.Inthiscasetheprocessinginminimal:picturesarecapturedandsent Wealsoinvestigatethreetypesofvideostreamsinordertobetterunderstandtheactual 3.Constantbitrate(CBR)MPEG.Thevideoencoderincludesabuerandratecontroller networkinterface.inthiscasethevideoencoderincludessmallornobuer. directlytothenetworkinterface. boththevideostreamandnetworktypes.theentriesoftable1showthestructureof thisworkbyidentifyingthesectioninwhichthecorrespondingcongurationisstudied.in Section6wesummarizetheobtainedresults. ThevariouscongurationsareshowninTable1.Eachcongurationischaracterizedby inordertoensurethatthebitrateprovidedtothenetworkinterfaceisconstant.inthis caseanencodedpicturemaybedelayedforseveralpictureperiodsbeforeitisforwarded tothenetworkinterface. 2TheModel Inthissectionweintroducethekeyelementsofthesystemdealtwithinthiswork.Wefocus Dealingwiththequalityofvideoandaudioencodingisbeyondthescopeofthiswork.In fact,wemodelthedelayasbeingend-to-end,suchthat,itincludesthejittercompensation areconcernwiththedelayandjitter,thesender-receiversynchronization,andpacketloss. andmediasynchronization.ingeneral,synchronizationisneededforcontinuousplayofaudio onqualityofservice(qos)issuesinadigitalvideoconferencingsystem.inparticularwe andvideostreamsatthereceivingside. 6
7 RawVideoSection3.1 Dedicated Link Section3.2 Switching Circuit TimeDriven Section3.3 Priority PacketSwitching Asynchronous VBRMPEGSection4.2 CBRMPEGSection5.4 (Section3) (Section4) Section4.5 Section5.5 Section4.3 Section5.6 Section3.4 Section RequirementsforInteraction (Section5) Table1:CongurationsConsideredinthisWork. Section5.7 Peopleparticipatinginavideoconferenceshouldfeellikebeingface-to-faceinthesamemeeting room.anecessaryrequirementinordertoachievethisgoalistokeeptheend-to-enddelay sinceitissubjecttophysicallimitation,suchas,thespeedoflight... quality,3d,etc..however,theend-to-enddelayis,inourview,themostessentialrequirement forinteractivereal-timeapplications.thedelayrequirementisalsotheleastobvioustosolve, thatthelimitbelowwhichthedelayisnotperceptibleis1ms[13]. (justthinkofhowannoyingarephonecallsroutedthroughsatellitelinks);theassumptionis belowhumanperception.thehumanearissensitivetothedelayresponseinaconversation Requirement1Videoandaudiostreamsaresynchronized. Ofcourse,thedelayrequirementisnotsucient,thereareotherrequirementslikepicture constraintsappliestovideoaswell.thissynchronizationisessentialsincepeopleareusedto Requirement2Theend-to-enddelayoftheaudioandvideostreamsshouldbekeptbelow seeevenbeforehearing(consider,forexample,aspectatorwhoisattendingaconcertbutis farfromthestage).wefocusontheend-to-enddelayintransmissionofvideobecauseitis thehardertokeepbelowthe1mstarget. Sincethevideostreamshouldbesynchronizedwiththeaudiothesameend-to-enddelay 1ms. 7
8 theaimofreducingthemandkeeptheend-to-enddelaybelowthe1msbound: 2.Network:timetakentomovedatacontainingtheaudioandvideoinformationfrom 1.Processing:itisneededtotransformtheaudioandvideosignalsinaformatsuitable Theend-to-enddelayhasthreemaincomponentsthatwewanttostudyseparatelywith 3.Resynchronization:digitalizationandplayingofbothaudioandvideorequirestricttime fortransmissiononadigitalnetwork.processingmayincludealsothecompressionand decompressionoftheaudioandvideosignals. thesourcetotheotherparticipant(s).italsoencompassesprotocolprocessinginboth senderandreceiver(s). Digitaltransmissionofvideorequiresavideocameracapturepicturesataxedpace(video 2.2RequirementsforVisualQuality addingfurtherdelay;thisisdescribedmoreindetailinthenextsection. andnetworkdelaysvariable,theyintroduceasynchronythathastobecompensatedby synchronizationbetweencaptureofthesignalandreplayingit.beingtheprocessing framerate)andaframegrabberboarddigitalizethem;thetimebetweentwosubsequent capturesiscalledvideoframeperiod.theproducedbitsaresenttothereceiver(s)where theyareconvertedbacktopicturesanddisplayedonamonitoratthesameregularpaceat whichtheyhavebeencaptured.ifthereceiverdoesnotdisplaypicturesatthissamevideo framerate,thereconstructedvideosceneresultscanbeannoying.thisisasortofquality degradationwhichisnotacceptableinthiswork,i.e., Requirement3Thereceivercontinuouslydisplaypicturesattheaverageratetheyhavebeen captured. delayofeachpicturemustbeconstant,i.e.,senderandreceivermustbesynchronized. variability(a.k.a.networkdelayjitter)byintroducinganetworkresynchronizationdelay. correspondingpicture.asshowninfigure1,thebuerusedtocompensatethenetwork Thisisachievedbypossiblybueringthereceivedbitsanddelayingthepresentationofthe jitterisusuallycalledreplaybuer.theoveralleectofthereplaybuer,isthateachpicture Inordertohavecontinuousplayingofthevideoframesonthereceiverside,theend-to-end takesthesametimetotransitfromthesender(pointainfigure1)totheoutputofthe buer(pointbinfigure1);theshorterthenetworkdelayexperienced,thelongerthetime Sincethenetworkdelaycomponentisvariable,thereceiverhastocompensateforthis inmovingfromthepointatothepointbinfigure1isxed.ifapictureexperiencesanetwork thepicturespendsinthereplaybuer(i.e.,thenetworkresynchronizationdelay). Afterthesystem(inparticularthereplaybuer)isdimensioned,thetimeapicturespends 8
9 End to end Delay becausetheresultingimagequalitydegradationispropagatedtothefollowingvideoframes. atoolargedelay,itcannotbeusedwhendisplayingapicture.thisisnotacceptable,especiallywhenthevideoiscompressedbyeliminatingthetemporalredundancybetweenpictures delaylargerthanthistime,requirement3isnotsatised.ifonlypartofapictureexperiences E A B D andthusitisnotacceptable.hence, Figure1:SynchronizationinVideoTransmission. Network Replay Buffer capture display Ifthisrequirementissatised,thereplaybuercanbedimensionedlargeenoughtocompensateforthenetworkjitterandguaranteesynchronizationmissionveryexpensive,compressionisperformedbeforetransmission.Thistakesavariable amountoftimeaswellastheirdecompression;theencoder/decodersystemintroducesapro- timeisclearlylargerthanthemaximumprocessingdelayexperiencedbyapicture. ofthetimeeachpicturespendsinblockeandinblockddepictedinfigure1isconstant;this cessingresynchronizationdelaythatcompensatesforthisvariability.inotherwords,thesum Sincetheamountofbitsobtainedbydigitalizingapictureisverylargeandtheirtrans- Requirement4Thenetworkdelayisbounded. time time se.infact,awiseresynchronizationmakestheend-to-enddelaybethesumofthemaximum belowaperceptiblebound,inthefollowingwedonotconsiderresynchronizationdelaysper processingdelayandthemaximumnetworkdelayexperiencedbyanypacket.thus,wefocus onthesetwomaximumvaluesinvariousdierentscenarios. tioncomponentsofthesystem.sincetheaimofthisworkiskeepingtheend-to-enddelay Knowledgeoftheresynchronizationdelayisthebasisfordimensioningtheresynchroniza- canbemergedwiththedecoderbuer.intheformercase,thecompensationcanbemore ecient(i.e.,thenetworkresynchronizationdelaybeminimum)becauseitcanexploittiming becompensatedeitherinthenetworkinterfaceorinthedecoderitself,i.e.,thereplaybuer 2.2.1BueringIssues Figure1depictsthereplaybuerasaseparatefunction.Actually,networkdelayvariationcan 9
10 informationaboutthenetwork.instead,mergingthetwobuersprovidemorerobustness End to end Delay cansometimescompensateeachother. againstmisdimensioningofthebuersbecausethevariationsofnetworkandprocessingdelay E D display,asshowninfigure2.buerscanbepresentinthenetworkinterface(e.g.,ifapacket Figure2:SynchronizationJustBeforeDisplaying. Network switchednetworkisusedincomingbitsmustbeassembledinpacketsbeforetheheaderis Inprinciple,synchronizationcanbeperformedbyasinglebuerinsertedjustbeforethe Buffer capture intheprocessingandnetworkdelays. processed)andinthedecodertostorearrivingdatauntilthereisenoughdatatobeprocessed andwhilethedecoderisbusy.anywaythisbuersarenotusedforcompensatingvariations time fordisplaying,andtaggedwiththedisplayingtime;whenthistimehascome,thepicture beforedecodingthepictures. 2.3TheSystem isdisplayed.thesynchronizationbuerislargerthatthebuersusedforsynchronization Encodedpicturesaredecodedassoonastheyarereceived,bueredintheformatsuitable Figure3.Notallofthemarepresentinanycongurationtakenintoconsiderationinthis Inourview,avideoconferencingsystemiscomposedofthefunctionalblocksdepictedin thevideocamera;thistimecanbeneglectedwithrespecttotheobjective1msend-to-end itintroduces.inthissectiononlycapturecardanddisplayarediscussed;inthefollowing Sectionstheotherblocksaredescribedastheyarerstintroduced. decoderfunctionalitiesarenotincludedinthesystem. work.forexample,whentransmissionofrawvideoisconsidered,boththeencoderand delaybound. Whenapictureisavailableonthereceiversideinaformatsuitablefordisplaying,itis Acapturecard,orframegrabber,takesaround3mstodigitalizeeachpicturecapturedby Inthisworkeachofthesefunctionalblocksisconsideredfromtheviewpointofthedelay insertedintothevideoframebuer.thevideoadaptorperiodicallyscansthevideoframe 1
11 Encoder Buffer Shaping & Frame Encoder Grabber Packetization buerandtracestheimageonthescreenaccordingtotheinformationstoredforeachpixel. Figure3:HighLevelModelofaVideoconferencingSystem. Network Network Decoder Adaptation Adaptor Theboundonthepresentationdelayis17msforRf=6Hz.Pd=isobtainedby Thedelayintroducedbythedisplaydependsonthevideorefreshingfrequency.Current synchronizingthevideoadaptorwithothercomponentsofthereceiver:thecomponentto monitorsworkatrefreshingfrequenciesrfbetween6hzand1hz,thusintroducinga Pd2";1Rf# Decoder Buffer besynchronizedwillbeidentiedforeachofthesystemcongurationspresentedthroughout Inordertobetteranalyzeeachcomponentoftheend-to-enddelayandshowinwhichcomponentofthesystemitisintroduced,anincrementalapproachisused.Westartfromthe delayisaected. 3TransmissionofRawVideo videoframebuerandwhenthebuerisscannedforrefreshingthedisplay. accordingtotheinstantaneoustimerelationshipbetweenwhenapictureisinsertedinthe thiswork.whennosynchronizationisprovided,thevalueofpdvariesinthegiveninterval Sections4and5weaddfunctionalblockstothecongurationandshowhowtheend-to-end congurationofthevideoconferencingsystemwhichrequiresthesmallestnumberoffunctionalblocksandhasthesmallestnumberofcomponentsintheend-to-enddelay.then,in 11
12 networkcongurations.althoughvideoisnottransmittedinarawformatduetoitshigh Inthisrstapproachweconsiderthetransmissionofrawvideooveranumberofdierent Figure4:RawVideooveraDedicatedLink Frame Network Network Video aredirectlyconnectedbyalinkhavingcapacityc.thefrbitsofapicturearemadeavailable Figure4showstheblockdiagramofavideoconferencingsysteminwhichsenderandreceiver bandwidthrequirements,itisinstructivetostudythiscase.sinceinthiscasewecanstudy 3.1DedicatedLinkBetweenSenderandReceiver inisolationthenetworkdelayandthepresentationdelay1. Grabber Interface Interface Adaptor dimensionthenumberofbitsencodingapicture. tothenetworkinterface,fromthecapturecard,inafewmilliseconds.thepictureisthen sentwithoutanyadditionalprocessingatthelinkspeed,asshowninfigure5.wecallpicture gatherthebitswhiletheyarebeingreceivedfromthenetwork;assoonasthelastbitofa eachbitexperiencesinthesenderandreceiverbuersanoveralldelaywhichisequaltothe theframegrabber,tothelinkspeedc.abuerisalsoneededonthereceiversideto transmissiondelayoffrbits(dimensionofarawpicture)overalinkofcapacityc,i.e.,fr=c: pictureisreceived,thepicturecanbemovedintothevideoframebuerfordisplay.thus, therstbitspendsthetimeonlyinthereceiverbuer,whilethelastoneonlyinthesender Abuerisneededonthesendersidetomatchtherateatwhichbitsareproducedby buer;intermediatebitsspendtimepartlyinthesenderbuerandpartlyinthereceiverone. wherefristhedimensionofarawpicture,pisthepropagationdelay,andpdisthepresentationdelaywhichdependsontherefreshingfrequencyofthemonitorandthesynchronization relationshipbetweencapturecardandvideoadaptor.pdisnullifthevideoadaptoronthe Thepropagationdelayexistsinallthecongurationspresentedinthiswork,eventhough Ded Raw=Fr C+P+Pd; Ifthetimeneededfordigitizingpicturesisneglected,theend-to-enddelayisgivenby receiverissynchronizedwiththecapturecardofthesender. insomeofthemitisconcealedinsidesomeothercomponentoftheend-to-enddelay.the propagationdelayisaphysicallowerboundontheend-to-enddelayofthesystem;ifsender andreceiver(s)aresofarawaysuchthatp>1ms2,theboundontheend-to-enddelay 1Thetimerequiredfordigitalizing(capture)apictureisconsideredrelativelysmall. 2Propagationdelayof1msinberisabout2,kilometersorhalfoftheEarthcircumference. 12
13 Bits T 2T 3T Time Rate cannotbesatised(i.e.,face-to-face-likeinteractionisnotpossible),independentlyofthe C congurationusedforthevideoconferencingsystem. thenumberofbitsusedtoencodeeachpixel.forexample,aqcif(quartercommonimage Format)picturehasadenitionof176x144pixels;assumingthateachpixelisencodedon Figure5:GenerationandTransmissionofRawPicturesoveraDedicatedLink. T 2T 3T Time pictureona1mb/slinkis1.98ms:evenconsideringtheworstcaseforthepresentation Frdependsontheresolutionofthepictures(i.e.,thenumberofpixelperpicture)and Production transmission delay,8mscanbespentinpropagationdelayoverthelink,whilekeepingtheend-to-end 8bits,Fr=198kb.InsteadaHighDenitionTeleVision(HDTV)videoframeisdigitalized using192x18pixels,i.e.,162kb.thus,forexample,thetransmissiondelayofaqcif capacity delayunderthe1msbound.instead,anhdtvpicturetakes162mstobetransmitted overa1mb/slink;thisisabovethe1msboundrequiredforinteractionandmoreover itdoesnotallowforreal-timevideo,asshowninthefollowing. Requirement5EachpictureistransmittedwithinthevideoframeperiodT, andthevideoframerate,thecapacityofthelinkmustbelargeenoughtosatisfy Real-timevideotransmissionrequiresthat i.e.,thetransmissiondelaymustbesmallerthant;thus,giventheresolutionofpictures CFr 13T: (1)
14 Bits T 2T 3T Time Forexample,theminimumlinkcapacityneededtotransmitvideosequencesatHDTV Figure6:GenerationandTransmissionofRawPicturesoveraSlowDedicatedLink. Rate C T 2T 3T Time propagationdelayislarge,thelowerboundonlinkspeedisnotgivenby(1),butbythebound capacitylinkisexploited,thegenerationandtransmissionofpicturesshowsthebehavior depictedinfigure6. mainparameterindeterminingtheend-to-enddelayisthelinkspeed.thehigherthepicture denitionandthevideoframerate,thefasterthelinks.ifthevideoframerateisloworthe denitionis486mb/ssincethehdtvframerateis3picturespersecond.whenaminimum Thus,inavideoconferencingsystemthattransmitsrawvideooveradedicatedlink,the Production ontheend-to-enddelay.thisleadstohighcostforthevideoconferencingsystem,especially videoconferenceisusuallyneeded). whenhighdenitionisrequiredandsenderandreceiverarefar(thatisthesituationinwhich oftrac;inthefollowingotherschemesarestudiedwithrespecttotheresultsshowninthis video.accordingtoothertransmissionschemes,linksaresharedamongvariouscallsortypes particularlyoverlongdistances;nevertheless,giventhespeedoflinks,thecongurationdescribedinthissectionprovidesalowerboundintheend-to-enddelayfortransmissionofraw Thus,dedicatingthewholecapacityofalinktoavideoconferencecallisnotcosteective, Highspeedlinksarenowavailablealsoonlongdistances,buttheyareveryexpensive. Section. 14
15 isassignedtoeachconnectionusingtimedivisionmultiplexing.thearchitectureofthe Incircuitswitchinglinkcapacityissharedamongdierentcalls.Axedamountofcapacity 3.2CircuitSwitching Figure7:ModelofaVideoconferencingSystemExploitingaCircuitSwitchedNetwork. wereconnectedbyadedicatedlink,eventhoughitsbandwidthisusuallysmallerthanthe videoconferencingsystemisdepictedinfigure7;senderandreceivercommunicateasthey physicalspeedofthelinksonwhichdataactuallyow. Frame Interface spondingfractionofthecapacityofeachlinkonthepathbetweensenderandreceiver.the AvideoconferencecallisallocatedacircuitwithbandwidthBbyreservingthecorre- Grabber Interface Adaptor bitsencodingeachpicturearesentthroughthecircuitatratebasshowninfigure8.this introducesanetworkshapingdelaygivenby: wherepisthepropagationdelayandswistheswitchingdelay.thisend-to-enddelayis (almost)constantbecauseb,p,andswarealmostconstant;thus,networkresynchronization Theend-to-enddelayisgivenby CS Raw=Sn+P+Sw+Pd; Sn=Fr isnotneededinthereceiver. AccordingtoRequirement5forvideoconferencingapplicationSnT,i.e., BFr (3) B,thelargertheamountofbandwidthiswastedbecausethecircuitisbusyonlyforatime SnineachvideoframeperiodT.DuringtheremainingtimeT?Sn,nootherconnectionor Ȯnonehand,thelargerB,thesmallertheendtoenddelay;ontheotherhand,thelarger classoftraccanexploitthisunusedfractionoflinkscapacity. Ifminimumbandwidthisallocatedtothevideoconferencecall,theend-to-enddelayis T largerthanthevideoframeperiod;thelowerthevideoframerate,thelargertheend-to-end 3Mb/s,buttheresultingshapingdelayis67ms.Nevertheless,ifmorebandwidthisallocated delay.forexample,theminimumbandwidthrequiredtosendqcifpicturesat15fps,is B (2)
16 Bits T 2T 3T Time switchingistosharelinkcapaityinaexibleandecientmanner.however,somepacket becausethecircuitisidleforhalfofthevideoframeperiod.onofthemotivationsforpacket SwitchedConnection. todecreasethenetworkshapingdelayto3ms,5%oftheallocatedbandwidthiswasted Figure8:AmountofBitsandRateinRawVideoEncodingandTransmissionoveraCircuit switchingschemesmayrequiretomaintainlowbandwidthutilizationwhentryingtosatisfy real-timetracrequirements. B T 2T 3T Time 3.3PacketSwitchingwithTimeDrivenPriority Production time:thehigherthelinkspeed,thelongertheidletime.inthissectionweshowhowthelink Figure5showsthatthetransmissionofavideoframecanrequireuseofthelinkforashort canbeusedfortransmissionofotherclassesoftrac(eitherrequiringguaranteesonservice qualityor"besteort")duringitsidleperiods BasicPrinciplesofTimeDrivenPriority Timedrivenpriority[15]isamultiplexingschemeaimedatsharinglinkcapacitywhileguaranteeingsourcesfromuncontrolleddelays(orevenlosses)duetocontentioninaccessinglinks. andapacketistransmittedduringasingletf. IneachTFaxedamountofbitsTfCcanbesentonalink:dataaregroupedinpackets Thetimeisdividedintimeframes(TFs)ofxeddurationTf(atypicalchoiceisTf=125s). 16
17 Rate Figure9:GenerationofRawPicturesandMultiplexingwithTimeDrivenPriority. T 2T 3T 4T 5T 6T Rate C sentinasingletf.forthesakeofsimplicity,inthisworkwedonotconsidertheprocessing Figure1:ModelofaVideoconferencingSystemExploitingaPacketSwitchedNetwork. Apictureisdividedintooneormorepartswhichareinsertedintopackets.Eachpacketis T f Frame Packetization Packetization connectedtointermediatesystems,whichinturnareinterconnectedinageneraltopology, introducedbythepacketheaders.inthetfsbetweenthetransmissionoftwosubsequent requiredforpacketizationineitherthesenderorthereceiverandthetransmissionoverhead transmitted(seefigure9),i.e.,tracmultiplexingisperformedonthelinks. picturesofthesamesession(andintheremainingtimeinthesametf),otherdatacanbe Senderandreceiverarenotdirectlyconnectedthroughadedicatedlink;instead,theyare Grabber Adaptor directlyconnected;thepacketheaderidentiesthereceiversothattheintermediatenodes asshowninfigure1.thesendersendsitspacketstotheintermediatenodetowhichitis canrouteittothedestination. mediatelyfollowingtheoneinwhichitwasreceived3.toguaranteethatitisalwayspossible, 3AnodecanhappentorequireanumberofTFstoprocessthepacket;thebestTFfortheforwardingis ThenetworkshowsthebestperformancewhenapacketisforwardedduringtheTFim- 17
18 BufferFigure11:RISC-likePacketForwarding. C 3 B Output 4 callisnottobeforwarded,theallocatedbitscanbeusedanywaytosendotherdata. othertfs,andeventhenon-reservedbitsinthereservedtfs,canbeusedtosenddatanot TFsarereservedonthelinksonthepathbetweensourceanddestinationandthesource transmitsdataduringthetfsreservedonitsoutgoinglink.atfisreservedforavideoconferencecallwhenafractionofthectfbitswhichcanbeusedduringitiskeptavailablefor forwardingapacket(belongingtothevideoconferencecall)receivedintheprevioustf.the belongingtothevideoconferencecall.moreover,ifapacketbelongingtothevideoconference AreservationofTFsallowsnodestoperformRISClikeforwarding[14]:packetsare A bueredinintermediatenodesforaxedtimeandeachpackettakesaxednumberoftfs Time tomovefromtheoutputbuerofanintermediatenodetotheoutputbuerofthefollowing tomoveapacketfromsourcetodestinationdependsonlyonthephysicaltopologyofthe oneonthepathtothedestination,asshowninfigure11.asaconsequencethetimeneeded pathandhasadelayvariationorjitterof2tf[15].thisnetworkjitterisxedanddoes notdependontracloadorthepathlengthfromsourcetodestination.asaconsequence, apacketswitchednetworkwithtimedrivenpriorityandresourcereservationcompileswith Requirement4becausenetworkdelayhasapredenedbound.Thebueringtimeineach destination:theend-to-enddelayinthevideoconferencingsystemis 3.3.2TransmissionofVideoandScheduling networkisnotsubjecttocongestionandtherelatedloss. Giventhepaththroughthenetwork,apackettakesatimeLTftotravelfromsourceto nodeisxedatreservationtime:keepingitsmallenoughtoavoidoverowingofbuers,the therstafterthisprocessingtime. 18
19 canbeeliminatedbysynchronizingthevideoadaptorandthereceivernetworkinterfaceso wherepd2[;1=rf]isthepresentationdelayandrfistherefreshingrateofthedisplay.pd TDP chronizationdelay,i.e.,noreplaybuerisneededonthereceiverside.ldependsonthe continuousplayingrequirement3.hence,thereisnoneedforintroducinganetworkresyn- thatthedisplayisrefreshedjustafterthetfinwhichthepictureisreceived. Thevariationofthenetworkdelayissmallenoughtobetolerated,notwithstandingthe Raw=LTf+Pd ordertohaveintermediatenodesperformingrisc-likeforwarding,thetfsonalinkmustbe numberoftfs:allthenodessharethesameknowledgeoftheordinalpositionofthecurrent TFinsidethetimecycle.Bandwidthisallocatedtoasender/receiverpair,byreservinga numberofhopsonthepath(itisatleastequaltothenumberofhops),theprocessingdelay propernumberoftfspertimecycleoneachlinkonthepathbetweensenderandreceiver.in insideeachnode,andthepropagationdelaybetweeneachpairofintermediatesystems. totransitfromtheoutputbueroftheupstreamnodetotheoutputbueroftheconsidered chosenaccordingtothetfsreservedontheupstreamlinkandthetimeneededforapacket Resourcereservationisbasedonthedenitionofatimecyclewhichencompassesaxed node. thetimecyclebeingequaltothevideoframeperiod;theobtainedresultscanbeextendedto thegeneralcasebytakingintotheconsiderationsmadeinsection3.3.3.atfinthetime cycleisreservedtothevideoconferencecall,asshowninthelowerpartoffigure12.the choiceofthetftobereservedwithinthetimecycleoneachinvolvedlinkiscalledscheduling mustbeanintegermultipleofthevideoframeperiod.forthesakeofsimplicityweconsider anditmustimpactsthemaximumnumberofreal-timeconnectionsconcurrentlysupported Sincerawvideohasanaturalpacingdrivenbythepicturerate,thetimecycleduration bythenetwork[14].inthefollowingtheimpactofschedulingontheend-to-enddelayofthe videoconferencecallispresented;anyway,asschedulingisoutofthescopeofthisworkand itwillnotbeaddressedindetailsinthiswork. thenetworkandtheupperpartshowsthetimingoftheframegrabberdigitalizingpictures.if theframegrabberisnotsynchronizedtothenetworkinterface,thebitsproducedbytheformer arebueredforatimesas ThelowerpartofFigure12depictstheTFsallocatedonthelinkconnectingthesenderto two,sas synchronizationcomponentofthenetworkshapingdelaysinceitisusedtoadaptthetiming delineatetfs,sas atwhichpicturesarecapturedissynchronizedtotheoneusedbythenetworkinterfaceto characteristicsoftheapplicationtotheonesofthenetwork.iftheclockthatdrivesthepace nslowlyincreasesordecreases;whensas nisconstantduringavideoconferencecall.ifthereisadriftbetweenthe n2[;t]whilewaitingtobetransmitted;thisistheapplication overwrittenbyanewone(whensas andwrapsaround,atfcanbeleftunused(whensas nchangesfromtto),andhenceitisnottransmitted. 19 nreachestheboundaryofitsvariationinterval nchangesfromtot)orapicture
20 Rate Theendtoenddelayisgivenby: Figure12:TransmissionwithTimeDrivenPriority. T 2T 3T 4T 5T 6T Time Rate C S t Time T f TDP Raw=SAS n+ltf+pd (4) EvenwithQCIFformatpictures,capacityoflinksmustbelargerthan1.5Gb/sinorderto CTf.Thiscanbesatisedwhenthelinksarefastenoughsothat Thegivenexpressionholdswhenapicturecanbeincludedinasinglepacket,i.e.,Fr CFr Time Cycle rawvideoframesusingpacketswitchingwithtimedrivenpriorityisgivenby: (e.g.,infigure13ns=2).thus,theend-to-enddelayinavideoconferencingsystemsending sendawholepictureduringasingletf(hdtvdenitionrequireslinkspeedlargerthan 13Gb/s.Wheresuchlinksarenotavailable,apicturecanbesentduringNsTFs,where TDP Raw=SAS n+(nr?1)tf+ltf+pd Ns=&Fr TfC' wherenrnsisthenumberoftfsbetweentherstandthelasttfreservedforthe transmissionofapicture.infact,itcanhappenthatnsconsecutiveavailabletfscannotbe 2
21 CFigure13:TransmissionwithTimeDrivenPriority. Rate T 2T 3T 4T 5T 6T Time reservedandtheend-to-enddelayisincreased. Rate ThecomponentLTfdependsonthetopologicalandphysicalcharacteristicsofthesystem. foundoneachlinkintheproperpositioninsidethetimecycle;thus,nonconsecutivetfsare WecallnetworkshapingdelaySn=SAS Theend-to-enddelaycanthenbewrittenas4 Time T f TDP Raw=Sn+LTf+Pd (5) Time Cycle generated,tonetworkandtransmissionschemeexploitedtotransmitthem.sndependson thedelayintroducedinordertoadapttherateatwhichthebitsencodingeachpictureare thelinkspeed,thedenitionofpictures,andthescheduling. (whencapturecardandnetworkinterfacearesynchronizedandanoptimalscheduleisfound) UsingQCIFformatat15picturespersecond,Ns=16andSncanvaryfrom1.8ms n+(nr?1)tf problemspresentedinsection3.3.3arise. to68.8ms.consideringascenarioinwhichthepathfromsendertoreceiverincludes3 hops(withnegligiblepropagationandprocessingdelay,i.e.,l=3),sas (C=1Mb/sandPisnegligible)theendtoenddelayis1.98ms,aswasshownin theend-to-enddelayis2.175ms.inthecongurationwithdirectlinkinsimilarconditions 4Ifthetimecycledoesnotcoincidewiththevideoframeperiodandanoptimalscheduleisnotfound,the 21 n=andpd=,
22 dedicatedlinkcapacityisleftunused. Section3.1.Thus,theend-to-enddelayiscomparableinthetwocases,but97%ofthe turecardandnetworkinterfacewillbemorelikelyandthesas Asequipmentforvideoconferencingapplicationswillevolve,synchronizationbetweencap- sub-optimalschedulecanbeacceptedprovidedthatitcompileswiththe1msend-to-end schedule.thus,iftheroutefromsendertoreceiverischaracterizedbyasmallvalueofl,a apictureissentimmediatelyafterithasbeendigitalized(providedthatanoptimalschedule theloweristhevideoframerate.eventhoughcapturecardandnetworkinterfacearesynchronized,alargenetworkshapingdelaycanbeduetotheimpossibilityofndinganoptimal doesexist).thelackofthissynchronizationcanhaveaworseimpactontheend-to-enddelay ncomponentwillbenullbecause InSection3.3.2isshownhowbandwidthisallocatedtoavideoconferencecallbyreserving ontfinatimecyclewhosedurationequalsthevideoframeperiodt.ifmorethanone 3.3.3MultipleVideoconferenceCallsontheSameNetwork callissubmitted;thisincreasestheprobabilityforthecalltobeblocked. delaybound.iflislarge,anoptimalscheduleisrequiredtothenetworkwhentheconference videoconferencingsystemisexploitingthesamenetworkandtheydonotusethesamevideo framerate,thetimecycleischosenastheminimumcommonmultiplierofallthevideoframe multiplemofitsownvideoframeperiodt.assumingthateachpictureissentwithina periodsinuse. singletf,bandwidthisallocatedbyreservingmtfswithinthetimecycle.ifthetfsare ist,everythinghasbeenstatedaboutthecasem=1,stillholds. evenlydistributedwithinthetimecycle,i.e.,thetimedistancebetweentwosubsequenttf Fromthepointofviewofeachofthevideoconferencecalls,thetimecycleisaninteger ofthepictureinterarrivaltime.ifthisvariationistoolargeaccordingtothecontinuous ofthenetworkdelay;thelessevenlydistributedarethetfs,thelargertheresultingvariation playingrequirement3,thereceivercompensatesitthroughareplaybuerandtheend-toenddelayisaccordinglyincreasedwithrespecttotheonegivenin(4).ifmorethanonetfis usedtosendeachpicture,thechoiceofthetfstobereservedimpactstheend-to-enddelay; IfthereservedTFsarenotevenlydistributed,theirrelativetimedistanceisnotTanymore andthereceiverdoesnotreceivepicturesataconstantpace.thisisequivalenttoavariation videoconferencingapplications.thetwosometimesimposeconictingoptimalitycriteriafor requiringabandwidthreservationtothenetwork,canaskforaschedulethatminimizesthe end-to-enddelayanddoesnotrequirearesynchronizationcapablereceiver,attheriskof schedulingandthusatrade-omustbefoundamongthem[1].avideoconferenceapplication gettingtherequestrefused.alternatively,ifthereceiverisequippedwithareplaybuer adetailedanalysisoftheyieldedend-to-enddelayisoutsidethescopeofthiswork. tocompensatethevariationofthenetworkdelayintroducedbyscheduling,itcanaccepta Ingeneral,schedulingisimportanttobothnetworkperformanceandend-to-enddelayof 22
23 schedulethatincreasestheend-to-enddelay. multiplesoneoftheother.thelargestvideoframeperiodcanbechosenastimecycleinthe keepmsmall,videoconferencingapplicationshouldchoosevideoframeratethatareinteger network. 3.4AsynchronousPacketSwitching ThelargerM,theharderisfortheschedulingtosatisfytheoptimalitycriteria.Inorderto Thevideoconferencingsystemcanbebuiltonatraditionalasynchronouspacketswitching networkwhichstatisticallymultiplexdataonthelinks.thefrbitsencodingapictureare Assumption1AboundQMonthequeueingdelaydoesexist. insertedinpacketsof(maximum)dimensionpswhicharesentintothenetworkatthefull linkspeed.inthenetworkpacketsexperiencexeddelayduetotransmission(fr=c)and Packetsarequeuedinnetworknodeswhiletheyarecontendingforabusylink;thus,the propagation(p),andvariabledelayduetoqueueing. describedinsection2.2.accordingtorequirement4,thenetworkdelaymustbebound,i.e., queueingdelaydependsontheloadinthenetworkanditdoesnothaveadeterministic Queueingintroducesanetworkjitterthatmustbecompensatedbyareplaybueras 3.4.1NetworkResynchronizationDelay queuedimension;forthispurposetracisshapedattheboundariesofthenetwork. bound.aboundcanbeguessedbuttohavealowprobabilityofbreakingit,itmustbelarge. ontheend-to-enddelay. Moreover,thequeueingdelaycanbekeptsmallerbyavoidingburstsofpacketsthatincrease GiventheboundQMonthequeueingdelay,eachpacketthathasexperiencedashorter queueingdelayisdelayedinthereplaybuer.thisisshowninfigure14:theupperdiagram InthisSectionweanalyzethecontributionofnetworkresynchronizationandtracshaping todeterminethequeueingdelayexperiencedbyapacket.thus,therstpacketreceivedfor showsthearrivaltimeofpicturestothereplaybuer,whilethelowershowstheexittime. Theresultingend-to-enddelayofpicturesis foratime thevideoconferencecallisbueredforatimethatallowsresynchronizationintheworstcase: itisassumedthatthepackethasexperiencedtheminimumqueueingdelayqmandisbuered Ifthenetworkinterfacesofsenderandreceiverarenotsynchronized,thelatterisnotable Async Raw=Fr C+P+QM+Pd: (6) 23
24 F F r Q r + P + Q + P + Q C M C M+ T Figure14:NetworkResynchronizationDelaytoCompensateQueueingDelayVariation. F Time F F r r + P + Q C m C + P + Q m + T F r r + P + Q C M+ T C + P + Q m + 2T Q Q M m F delay F r r + P + Q + P + Q C M C M+ T followingpacketsduetoqueueingandresynchronizationisbetweenqmandqm+q.ifthe packet,delaysitbyqaccordingto(7).asaconsequence,theoveralldelayexperiencedby Thefollowingpacketsareresynchronizedaccordingly,asshowninFigure14,becausetheyare exitingincasethereceiverdoesnotknowtheactualqueueingdelayexperiencedbytherst experiencesanactualqueueingdelayqm.themiddlediagramshowsthetimingofpackets retrievedfromthereplaybuerattheconstantpaceatwhichpicturesaredisplayed. TheupperdiagramofFigure15showsaresynchronizationexamplewhentherstpacket Time receiverknowstheactualdelayexperiencedbytherstpacket(e.g.,senderandreceiverhave acommontimereferenceandthepacketcontainsatimestampindicatingwhenitwassent), thelowerdiagraminfigure15. doesnotdelayitatallandtheexitingtimefromthereplaybueraretheonesdepictedin callanddependsonthequeueingdelayexperiencedbytherstpacketreceived,er=when whereer2[;q]istheexcessresynchronizationdelay;itisconstantoveravideoconference senderandreceivernetworkinterfacesaresynchronized. Insummary,theend-to-enddelayisgivenby Async Raw=Fr C+P+QM+Er+Pd 24 Q=QM?Qm (7)
25 Q F r C + P + QM F r C + P + Q M+ T F r C + P + Q m F r C + P + Q m + T F r C F r + P + Q M+ T C + P + Q m + 2T Figure15:NetworkResynchronizationDelaytoCompensateQueueingDelayVariation. Time F r C + P + Q M+ Q Q Q M m Q F r + P + Q C M F r C F r C + P + Q M+ T 25 + P + Q M+ T + Q Resynchronization delay Resynchronization delay Time Time
26 Figure16:ModelofaVideoconferencingSystemExploitingaPacketSwitchedNetworkwith TracShapingatNetworkBoundaries TracShapingatNetworkBoundaries ResourcesmustbeallocatedintothenetworkinordertoguaranteetheboundQMonthe Sincetransmissionoflargeamountsofdataatlinkspeed(bursts)causessuddengrowthof queuingdelay(andpossiblylimittheamountofdatalostinthenetworkduetocongestion). queues,largeamountofresourcesisreservedforburstysources:limitsqueuesgrowthby keepinglinkutilizationlow. Frame Packetization Packetization Grabber Adaptor widthbetweensenderandreceiverwhilekeepingtheburstinessbelowapredenedlevel. Assumption2Tracshapingisusedatthenetworkboundarytoprovideanaverageband- Atokenisremovedfromthebucketforeachdataunitsent.Weassumetoexploitabuered asaleakybucket[2],asshowninfigure16.theburstytracgeneratedbyasourceisshaped longasthenumberoftokensinthebucketislargerthanthepacketsdimension(indataunits). byaleakybucketintoaowhavingaverageratebandcontrolledburstiness.abucketis packetsarepresentedtothetracshaper,theyaresentintothenetworkatlinkspeed5as assumedtocontainatmostatokensanditislledattherateofbtokenspersecond.when Thesourceshapesthetracitisgeneratingbyusingatracshapingmechanismssuch leakybucketwhichismodeledasshowninfigure17.whenthebucketisempty,packetsmay delay.accordingtorequirement5,aswearedealingwithreal-timevideotransmission,the andtheresolution,thetraccharacteristicsofarawvideosequenceareknowninadvance, shapedtracattheexpensesofanetworkshapingdelay.since,giventhevideoframerate thebuercanbedimensionedproperlysothatitneveroverows. thebuckettosendthepacket.thisbueradaptsthesourceratetothecharacteristicsofthe bedroppedorbuered(alsoknownasbueredleakybucket)untilenoughtokensarepresentin timetakentorellthetokenbucketmustbesmallerthanthevideoframeperiod,i.e., Thechoiceoftheparametersofthetracshaperdeterminesitseectsontheend-to-end Suchatracshapercanbebuiltbycascadingtwosimpleleakybuckets. asitiscaptured,asshowninfigure18wherea=ps.tracshapingdoesnothaveanyeect 5Thereisavariantcalleddualleakybucketthatsendsburstofdataataratelowerthanthelinkspeed. IfAFrthewholepictureisinsertedinpacketswhicharesentatthelinkspeedassoon BFr 26 T: (8)
27 andtheaveragerateisfr=t,asdeterminedbythevideoframerate(1=t)anddimension (Fr),andtheend-to-enddelayisgivenby(6). Figure17:ModelofaLeakyBucket. B A frame): Fr?Atokens(since,thanksto(8)thetokenbucketisfullbeforestartingtransmittinga showninfigure19wherea=ps;afterwards,thetimeneededtogeneratepstokens(i.e., Ps=B)iswaited.Thus,thenetworkshapingdelaySnisgivenbythetimeneededtogenerate IfA<Fr,A=PspacketsofdimensionPsaresentassoonasthepictureisdigitalized,as Unshaped Shaped Traffic Sn=Fr?A Traffic siondelayofapacket(ps=c),theend-to-enddelayisgivenby: ThetimeneededtotransmitapicturebeingthenetworkshapingdelaySnplusthetransmis- wherepisthepropagationdelayonthelinksonthepathbetweensenderandreceiver,qm maximum,thenetworkshapingdelayisnotpresent.nevertheless,thelackoftracshaping isthemaximumqueueingdelay,ander2[;q]istheexcessresynchronizationdelay. atnetworkboundariesresultsislowerlinkutilizationorlargermaximumqueueingdelayqm. Comparing(6)and(1)themaindierenceisthatintheformer,wheretheburstinessis Async?Sh Raw=Sn+Ps C+P+QM+Er+Pd (1) queueingpolicyusedbynodes.forexample,ifnetworknodesareperformingweightedfair queueing,theboundisinverselyproportionaltotheallocatedbandwidth[3]: Themaximumqueueingdelaydeliveredbythenetworkdependsonthereservationand QM=o1B 27 B (9)
28 Bits Figure18:HighBurstinessTransmissionofRawVideooverPacketSwitchedNetworks. T 2T 3T Time Rate C B T 2T 3T Time Production Bits Figure19:LowBurstinessTransmissionofRawVideooverPacketSwitchedNetworks. T 2T 3T Time Rate A 28 A C B C B T 2T 3T Time A A Production B C
29 ofbitsneededtoencodeeachpicturebyexploitingspatialandpossiblytemporalredundancy Transmissionofrawvideorequireslargeamountofbandwidth,particularlyiftheend-to-end delayhastobekeptunderthe1msbound.thus,compressionisusedtoreducetheamount 4TransmissionofVBRMPEGVideo TheMotionPictureExpertGroup(MPEG)[11,25,8]videoencodingstandardwasdesignedfordigitalstorageofqualityvideoforlaterre-playing.Adigitalizeduncompressed 4.1MPEGOverview turesaresentoverthenetworktothereceiverwheretheyaredecodedanddisplay. presentinsidepicturesandbetweensubsequentpictures,respectively.thecompressedpic Intra-frameCoding digitalizedpicturesandencodeseachoftheminoneoftwodierentways6. (n=2)x(m=2)pixelsofchrominanceinformation.theencoderreceivesininputasequenceof imageiscomposedofonematrixofnxmpixelsofluminanceinformationandtwomatricesof luminanceandthetwochrominancecomponents)isdividedin8x8pixelblocks.oneach coecientsofthespatialfrequenciespresentintheblock. blockadiscretecosinetransform(dct)isperformed;ityieldsan8x8matrixwiththe Spatialredundancyinsidethepictureisexploitedtogaincompression.Thepicture(the neededtorepresentitthankstothefactthatmanycoecients(particularlythehighfrequency moresensitivetohighspatialfrequencies[26]:highfrequencycoecientsarequantizedmore Actually,adierentquantizationstepsizeisusedforeachcoecientbecausehumaneyeis coarselythanlowfrequencyones,buttheperceivedvisualqualitydoesnotdegrade.thus, eachcoecientismultipliedbythecorrespondingelementofan8x8quantizationmatrix. Eachcoecientisquantizedbyintegerdividingitbyanintegercalledquantizationstepsize. ones)arezero.finally,therun-lengthencodedsymbolsequenceishumanencoded.the 4.1.2PredictiveCoding pictureencodedinthisfashioniscalledi-frame. Theresultofthequantizationisrun-lengthencodedinordertominimizethenumberofbits withrespecttoi-frames.thepictureisdividedintomacroblocks(mbs),eachcomposedof Temporalredundancyiseliminatedtoreducethenumberofbitsneededtoencodethepicture, periodsthatweconsidernotacceptableiftheend-to-enddelaybekeptbelow1ms.thus,thiscompression techniqueisnotconsidered. becoded,areferencesubsequentpicturemustbecapturedandcoded.thisintroducesadelayofsomeframe 6Actually,athirdtypeofencoding,calledbidirectionalpredictivecoding,exists.Inorderforapictureto 29
30 thetwochrominancecomponents.givenambtoencode,motionestimationisperformed, a16x16pixelmatrixofluminanceinformationandthetwocorresponding8x8pixelblocksof timessmallerthani-frames.thesmallerthedierencebetweenthembbeingcodedand DCT,quantization,run-lengthencoding,andHumanencoding.Ifa\similar"MBisnot found,eachblockofthembisencodedlikeablockinani-frame. dierencebetweentheactualmbandthereferenceoneiscalculatedandcodedbyperforming i.e.,thepreviouspictureissearchedfora\similar"mb.ifthismbisfound,thepixelbypixel thereferenceone,thehigherthecompressiongainedthroughdctandrun-length/human periodtotheother. encoding.themoresimilartwosubsequentpictures,thehigherprobabilityofndingamb \similar"totheonebeingcodedandthusyieldingbettercompression;subsequentpictures aresimilarifthesceneisslowmovingbecauseifdoesnotchangemuchfromavideoframe PicturescodedinthisfashionarecalledP-framesandtheirdimensionisfrom2to4 AvideosequenceiscompressedbyencodingapictureoutofNasI-frame,andtheremaining 4.1.3BitGenerationRateandQuantization N?1asP-frames;thesequencestartingwithoneI-frameandterminatingwiththelast consecutivep-framesiscalledagroupofpictures(gop).thelargern,thesmallerthe overallamountofbitsusedtoencodeascene.nevertheless,ifthenetworkintroducesan toerrorsthestream. isencodedwithinthevideoframeperiod,butap-frameisfrom2to4timessmallerthan picturenotaectedbytheerrorandstopsitspropagation,i.e.,thelargernthemoresensitive errorinanencodedpicture,itpropagatesinthefollowingones;thenexti-frameistherst videosequenceswitharesolutionof72x48pixels;animagefromeachsequenceisshownin ani-frame.moreover,evenvideoframesofthesametypehavedierentdimension:the ofbitsproducedbythesoftwarempegencoderdvdenc[17]duringtheencodingoffour dimensionofani-framedependsonthespatialredundancypresentintheimage,whilethepframeonedependsalsoontheamountoftemporalredundancy.figure2showstheamount Therateofthebitstreamproducedbytheencoderhashighvariability:eachpicture (motion)redundancyineachscene. atallfrequenciesandcoarsequantizationoflowfrequenciesismorenoticeabletohumaneye Figure21.Theoverallnumberofbitsencodingeachsequenceandthewayitisdistributed frameorpredictive)beingperformedonit.intra-framecodedmbstypicallycontainenergy thanhighfrequencies.instead,predictivecodedmbshavehigherenergyathighfrequencies amongthepicturesaredierentduetothedierentamountofspatial(detail)andtemporal zones[26].thus,theactualquantizationstepsizeisobtainedbymultiplyingthequantization andhumaneyeislesssensitivetocoarsequantizationofpredictivecodedmbs. AdierentquantizationmatrixisusedforaMB,dependingonthetypeofcoding(intra- Moreover,humaneyeismoresensitivetoquantizationerrorinatareas,thanverydetailed 3
31 Cheerleaders Hockey 5 5 Picture dimension (Kb) Picture dimension (Kb) Bikes 5 Picture dimension (Kb) Figure2:NaturalDimensionofMPEGEncodedPictures. Table tennis Picture dimension (Kb)
32 Figure21:ImagesfromtheFourVideoSequencesUsedintheExperiments. 32
33 matrixbyamblocalactivityfactorthatchangesonambbymbbasiswiththegoalof bitsproduced.thewayinwhichthemblocalactivityfactoriscalculatedisdependenton theimplementationoftheencoderandisbasedontheestimationofthe\activity"levelof themb[9][26]. basis,providesoverallcontrolonpicturedimension.theproductofthemblocalactivity keepingconstantthevisualqualitythroughoutthepicturewhileminimizingthenumberof factorpmbandtheglobaldistortionlevelfactorggivesthequantizationparameterqmbfor MBmb,i.e., Moreover,aglobaldistortionlevelfactorthatpossiblychangesonapicturebypicture wherecmb Insummary,quantizationisperformedaccordingtothefollowingformula: i;jisthe(i;j)dctcoecientofmbmb,^cmb i;j=cmb Qmb=pmbG qfijpgi;j i;jqmb thereisasmalldierencebetweenthedimensionofi-framesandp-frames.infact,ononeside, keptconstantoverthewholevideosequence.thedimensionyieldedforthepicturesisplotted infigure22:thelargerg,thelargerthepictures.forsmallvaluesofg(nerquantization), mb,andqfijpg accordingtothetypeofencodingbeingperformedonthecurrentmb. FoursequenceswereencodedusingfourvaluesfortheglobaldistortionlevelG,whichwas i;jiselement(i;j)ofthequantizationmatrixusedfori-frameorp-framecoding, i;jisitsquantizedvalue,qmbistheformb arenotreducedtozerobythenequantization.ontheothersidethehighfrequencydct P-framesdimensiongrowsbecausethesmallDCTcoecientsofdierentiallyencodedMBs coecientsofintra-framecodedmbsarecoarselyquantizedbythecorrespondingelements ofthequantizationmatrix.thisisconrmedbytheplotsinfigure23whichshowthatfor frames.figure24plotstheaveragequantizationparameterusedoneachpicture;eventhough constant.thevariationislargerforlargervaluesofgbecausegampliesbmbvariations. G=1theSignaltoNoiseRatio(SNR)duetotheencoding7issmallerforI-framesthanforP- itchangesduetothecharacteristicsofthepictures(i.e.,becausebmbchanges),itisalmost qualitybecauseitdoesnottakeintoaccountthecharacteristicsofthehumanvisualsystem.thus,even thoughcoarsequantizationofhighfrequencycomponentsintroducesanerror,itdoesnotnecessarilydegrade theperceivedvisualquality. mathematicalmeasureofthequalityofapicture,butitdoesnotexactlycorrespondtotheperceivedvisual intoaccount. VBRMPEGcompression;theimpactofdierenttransmissionschemesonthedelayistaken 7TheSNRiscalculatedaccordingtotheformulareportedinSectionB.4.TheSNRisusedtoprovidea Inthefollowingwestudytheend-to-enddelayinavideoconferencingsystemthatuses 33
34 3 Cheerleaders 3 Hockey Picture Dimension (Kb) Picture Dimension (Kb) Picture Dimension (Kb) G = 1 G = 1 G = 15 Bikes G = 2 Table Tennis 3 Figure22:DimensionofPicturesCodedaccordingtoMPEGStandard number number Picture Dimension (Kb)
35 Cheerleaders Hockey 5 5 SNR (db) SNR (db) G = 1 G = 1 G = 15 Bikes G = Table Tennis SNR (db) Figure23:SNRofVBRMPEGEncodedVideoSequences SNR (db)
36 Average Quantization Parameter Cheerleaders Average Quantization Parameter G = 1 G = 1 G = 15 Bikes G = 2 Table Tennis 2 2 Figure24:AverageQuantizationParameterUsedforVBREncodingaccordingtoMPEG Standard Average Quantization Parameter Average Quantization Parameter Hockey
37 Figure25:VideoconferencingSystemCongurationwithDedicatedLinkbetweenSenderand Receiver. Frame Network Network Encoder Decoder Grabber Interface Interface Adaptor 4.2DedicatedLinkBetweenSenderandReceiver Processed Encoder Output link,asshowninfigure25.theencoderprocessespicturesandproducesthebitsencoding Minimumdelaycanbeobtainedifsenderandreceiveraredirectlyconnectedbyadedicated Bits themasi-framesorasp-frameswiththetimingshowninfigure26:thetimetakentoencode Figure26:BitProductionofaNaturalVBRMPEGEncoder. apictureisnotconstantaswellastheamountofbitsproduced. suitableforthevideoadaptor. bitscanbesentoverthededicatedlinkassoonastheyareproduced.afterapropagation delayp,bitsgettothedecoderwhichdecodesthestreamgeneratingpicturesintheformat Inprinciple,ifthelinkspeedishigherthanthenaturalinstantaneousrateoftheencoder8, (I) T 1 (P) 2T 2 (P) 3T 3 (P) 4T 4 (I) 5T Time eventhoughitismorepredictableanditsvariationsaresmaller.thedecoderkeepsconstant oftheencodinganddecodingtimeandintroducestheprocessingresynchronizationdelay. playing)bybueringtheencodedordecodedpictures.thiscompensatesforthevariability thedelaysynchronizationbetweentheinputoftheencoderanditsownoutput(continuous Thetimeneededtoencodeapictureisnotconstant;alsodecodingtimeisnotconstant insteadofd. bitsitisreceiving.forthepurposeofthisworkweconsiderconstant9thedecodingdelayd. availabilityofspecialpurposehardware,andonhowearlythedecoderstartsprocessingthe 8ThisislikelybecausethepeakrateoftheencoderisoftheorderoffewtensofMb/s. 9Ifthedecodingdelayisnotconstantthedecodercompensatesitsvariationsand(11)holdswithmaxD Thedecodingtimestronglydependsonthedecoderimplementation:i.e.,bothonthe 37
38 wherecmisthemaximumcodingdelay;whenaframetakeslessthancmtobeencoded,it dealingwithreal-timevideo Theend-to-enddelayisgivenby Ded Requirement6Apictureshouldbeencodedwithinthevideoframeperiod, isdelayedbytheremainingtimeinthedecoderbuer. Thefastertheencoderanddecoder,thesmallertheend-to-enddelay;infact,sinceweare VBR=CM+P+D+Pd (11) tothehighestframeratetheencodersupports.thus,ifasceneiscapturedat3frames i.e.,cmt.themaximumencodingdelayisusuallythevideoframeperiodcorresponding persecondandthepropagationdelaybetweensenderandreceiveris2ms(e.g.,theyare Theyieldedcompressionislowerandalargernumberofbitsisneededtoencodeavideo connectedthroughatransoceaniclink),theend-to-enddelayisaround6ms,i.e.,acceptable toguaranteeinteractivitybetweentheparticipantsinavideoconference. consequentlytheend-to-enddelay)canbereducedbyusingonlyintra-encoding(i-frames). sequence. to-enddelayobtainedinavideoconferencingsystemexploitingmpegcompression.never- theless,itisnotecientgiventheexpensivenessofbandwidth:infact,thecapacityofthe ThesystemcongurationdiscussedinthisSectionprovidesalowerboundontheend- Motionestimationisthemosttimeconsumingpartoftheencodingprocess:EM(and howtheend-to-enddelayisaectedbytheusageofmultiplexingschemestomoreeciently exploitbandwidthoflinks. linkconnectingsenderandreceiverisonlypartiallyused.inthefollowingsectionswestudy 4.3PacketSwitchingwithTimeDrivenPriority wherelisthenumberoftfsapackettakestotravelfromsendertoreceiverandpdisthe ingresslink,asshowninfigure28.theend-to-enddelayofthesystemisgivenby producedbytheencoder,theyareinsertedintoapacketsandsentatthefullspeedofthe encodedpictures,asshowninfigure27.assoonasallthebitsencodingapictureare Apacketswitchednetworkwithtimedrivenprioritycanbeexploitedfortransmissionof presentationdelay.forthesakeofsimplicity,inthisworkweconsiderthattheprocessing requiredforpacketizationdoesnotintroducedelay.expression(12)istheactualend-to-end delayonlyifthenodesonthepathfromsendertoreceiverareabletoperformrisc-like forwardingofpackets(seesection3.3.1).38 TDP VBR=CM+LTf+D+Pd
39 SenderandReceiver. Figure27:VideoconferencingSystemCongurationwithPacketSwitchedNetworkbetween Frame Packetization Packetization Grabber Encoder Decoder Adaptor Bits Rate Figure28:TimeDrivenPrioritywithoutReservation. T 2T 3T 4T 5T 6T T f 39 Time Time
40 mustbeallocatedinthenetworkandvideoframessentduringreservedtfs.toreserve mensionofthepicturebeingsent.aswasshowninfigure2,thenumberofbitsencodinga resourcesinpacketswitchednetworkswithtimedrivenpriority,theamountofdatatobe capacitycanbereservedduringthepropertfs. sentandtheirtimingmustbeknownatreservationtimesothattheproperfractionoflink ToguaranteethexedboundLTfonthenetworkdelayandlossfreedelivery,resources tioncannotbeaccurate.ifduringatfausersendsmorebitsthantheamountreservedto picturedependsonthetypeofcodingusedforthecorrespondingpicture,andthespatialand possiblytemporalredundancypresentintheimage.sincetheamountofredundancydepends onthescenebeingencoded,picturedimensionisnotknowninadvanceandresourcereserva- it,thenetworkdoesnotprovideanyguaranteeonthedeliveryoftheexcessbits.if,onthe Theamountofbitsreservedshouldbelargerthan(andascloseaspossibleto)thedi- otherhand,thevideoconferencingapplicationusesonlyafractionofthereservedcapacity, theleftoverbandwidthcanbeusedbybesteorttracandisnotwasted.eventhoughthis isacceptablefromthenetworkpointofview,thesolutionisnotoptimalfortheuserthatis forbothtypesofpicturesgiventhebandwidthtobeallocatedtoavideoconferencecall.then, possiblypayingfortheallocatedbandwidthandwouldliketouseitallbyhimself. theend-to-enddelay.eventhoughsomecongurationscandeliverunacceptableend-to-end andnetworkinterface,andthescheduling(i.e.,thechoiceofthetfstobereserved)impact weshowhowtheencodingprocesscanbetunedinordertocontrolpicturedimensionso thatthevideoconferencingsystemneverusesmorebandwidththantheamountallocatedand exploitsasmuchofitaspossible.lastly,weanalyzehowthesynchronizationbetweenencoder InthefollowingofthisSectionweshowhowtodeterminetheamountofbitstobereserved delay,ifthesystemisadequatelyequippedandoperated,itsperformanceisactuallygiven by(12) ChoosingaBoundonPictureDimension andp-frames.theseamountsdeterminethebandwidthreservedtothevideoconferencecall AsexplainedinSection4.1.2,theslowerthemotioninthescenebeingencoded,thelargerthe as slowmovingscenes,weproposetoreservedierentamountsofbitsfortransmissionofi-frames dimensionofi-frameswithrespecttop-frames.sincevideoconferencesareexpectedtobe isthenumberofpicturespergop,andntisthegopduration. anaturalmpegencodedependsontheamountofmotioninthescene.thepictureratio wherefiandfparetheamountofbitsreservedfori-framesandp-frames,respectively,n AsdiscussedinSection4.1.3,therelativedimensionofI-framesandP-framesyieldedby Btdp=FI+(N?1)FP (13) 4
41 encodedandtransmitted.thisisingeneraladiculttask,butintheparticularcaseof mustthenbechosenwiselydependingtotheamountofmotionexpectedinthescenetobe Figure29:MPEGEncoderforControllingDimensionofFrames. Base Bounded Encoder Picture videoconferencingapplication,scenesarelikelytobeslow. beexpressedasfunctionofthebandwidthtobeallocatedas CombiningEquations(13)and(14),theamountofbitstobereservedtoeachframecan =FI Quantization I frame parameter Rate Bound (FP=BNT P frame Bound 4.3.2ControllingDimensionofEncodedPictures Thereservedbandwidthisusedmoreecientlyiftheencodingprocessiscontrolledandthe numberofbitsencodingeachpictureiskeptbelowtheamountofbitsreservedinthetf duringwhichthepictureissent.thisamountsareupperboundpicturedimensionandcan N+?1 mostsuitedtothispurpose.forexample,figure22showsthatthedimensionofbothi-frames encoderisextendedwitharatecontrolfunction.ittunestheparametersofthebasicmpeg codingprocesssothatthedimensionofeachpictureisbestttedtothetargetassociatedto beusedtodeviseatargetdimensionforeachtypeofvideoframe.asshowninfigure29,the Nevertheless,Gisnotsuitableforourpurposeofcontrollingpicturedimensionbecauseits itstype. andp-framesisstronglydependentonthevalueoftheglobaldistortionlevelg(whichisoneof thecomponentsofthequantizationparameter):thelarger,thesmallertheencodedpictures. valuemustbechosenbeforestartingtheencodingofthepicture.thereexistproposalsto predicttheamountofbitsanencodingprocessisgoingtoproducebasedontherawscene[22] AmongtheparametersoftheMPEGencodingprocessthequantizationparameteristhe orontheportionofstreamalreadyproduced[12].however,togetserviceguaranteesfrom thenetwork,thetargetmustneverbeexceededandanadaptiveapproachbasedonfeedback fromtheoutputoftheencodermustbeexploited. 41 FP (14) FI=FP (15)
42 produced.theratecontrolalgorithmalsoproposeshowtore-quantizethepictureifthe Thiscanleadtocodingtimesnotacceptableforreal-timeencodingasrequiredinvideoconferencingapplications(Requirement6).[5]proposestoexploitarate-quantizationmodelto yieldeddimensionisnotcompliantwiththetarget. chooseg.themodelistunedaccordingtothecharacteristicsoftheencodedstreamalready Otherauthorsproposeiterativeapproaches[28,16]todetermineasuitablevalueofG. parameterforeachmbas bmbcanbechangedonambbymbbasisinordertoadaptivelytunethequantization Alternatively,theMBlevelratecontrolfactorbmbisusedforcalculatingthequantization quality.manyapproacheshavebeenproposedintheliteratureforuniformlychoosingthe 17].Varyingthegranularityofquantizationthroughoutthepicturedeliversnonuniformvisual accordingtothetargetandthefeedbackobtainedbymonitoringthestreambeingproduced[9, Qmb=Gpmbbmb Thus,wehaveperformedsomeexperimentstoprovethatpicturedimensioncanbecontrolled ratecontrolfunctionwhichimplementsthealgorithmshowninfigure3. visualsystem[26]. astheproposednetworkrequires.thesoftwareencoderdvdenchasbeenexploited;ithasa quantizationparameter[1]possiblytakingintoaccountthecharacteristicsofthehuman Theforegoingapproacheshavebeenproposedandanalyzedinscenariosdierentfromours. (lack)ofbitsandthetoleranceonthetarget.theaverageofthemblevelcontrolfactor andthetotalnumberofmbsmb.theincrement(decrement)isproportionaltotheexcess exceeds(isbelow)theexpectednumberofbits.thisiscalculatedaccordingtothetargetft isincremented(decremented)withrespecttobmb?1iftheamountofbitsfproducedsofar overthewholepictureisusedtocalculatetheglobaldistortionlevelforthenextpictureof Ftandatoleranceonit(intermsofmaximumandminimumacceptabledimensions).bmb ThefunctionwhichcalculatestheMBlevelratecontrolfactorbmbisprovidedwithatarget ofyieldinguniformvisualqualitythroughoutpictures.nevertheless,theobjectivehereisto nottodeviseanoptimalmethodtocontrolthedimensionofframes. thesametype.theexperimentaldatashowninfigures3136areobtainedusingg=15for showthatthedimensionofframescanbekeptbelow(andverycloseto)apredenedbound, boththersti-frameandtherstp-frame.thisalgorithmisnotwisefromthepointofview pictureratios(oneineachrowofthefigures). theshownbounds(fminthealgorithminfigure3):theboundsareneverexceeded.the boundsaredeterminedaccordingtoequation(15)assumingthreebandwidthamountsand twocomplementaryreasons: AsshownbyFigures33and34,theaveragequantizationparameterhashighvariationfor Figures31and32plotthepicturedimensionobtainedencodingfourdierentsceneswith 42
43 accordingtothetypeofthepicturetobeencoded,define: F=numberofbitsencodingMB1withquantizationparameterQ1=p1GfIjPgb1 formb=2tototalnumberofmbsmb b1=1 choosegfijpgaccordingtothetype(i-frameorp-frame)ofcoding amaximumdimensionfm(reservednumberofbits) atargetdimensionft(e.g.,5%belowreservednumberofbits) aminimumdimensionfm(e.g.,1%belowreservednumberofbits) elseiff<ft iff>ft elsebmb=decr(f;mb;fm;ft;mb) iff?ft bmb=maxb Mbmbthen Mbmb>FM?Ftthen Qmb=pmbGfIjPgbmb elsebmb=bmb?1 elsebmb=incr(f;mb;fm;ft;mb) ifft Mbmb?F>Ft?Fmthen bmb=minb Mbmbthen GfIjPg=GfIjPg F=F+numberofbitsencodingMBmbwithQmb MbPMb Figure3:VideoFrameDimensionControlAlgorithm. mb=1bmbaccordingtothetypeoftheencodedpicture 43
44 18 Cheerleaders - Picture ratio 2 18 Hockey - Picture ratio 2 Picture dimension (Kb) Picture dimension (Kb) Picture dimension (Kb) Mb/s 8 Mb/s Cheerleaders - Picture ratio 3 16 Mb/s 18 Picture dimension (Kb) Hockey - Picture ratio 3 Picture dimension (Kb) I-frame bound Cheerleaders - Picture ratio 4 P-frame bound Hockey - Picture ratio 4 18 Figure31:DimensionofPicturesinControlledMPEGEncoding number number Picture dimension (Kb)
45 18 Bikes - Picture ratio 2 18 Table Tennis - Picture ratio 2 Picture dimension (Kb) Picture dimension (Kb) Picture dimension (Kb) Mb/s 8 Mb/s Bikes - Picture ratio 3 16 Mb/s 18 Picture dimension (Kb) Table Tennis - Picture ratio 3 Picture dimension (Kb) I-frame bound Bikes - Picture ratio 4 P-frame bound Table Tennis - Picture ratio 4 18 Figure32:DimensionofPicturesinControlledMPEGEncoding number number Picture dimension (Kb)
46 1.Thevariationofpicturedimensionislimitedbytheparametersprovidedtotherate controlfunctionintheexperiments:thetarget(ftinthealgorithmshowninfigure3) SNRplottedinFigures35and36.Theratefunctioncontrolisnotdesignedtokeepthe 2.Theratecontrolfunctiondoesnothavetheobjectiveofdeliveringuniformquality Asaresultthequalityofpicturesisnotuniformthroughouteachscene,asshownbythe (Fm)1%smallerthanthetarget. hasbeenset5%belowtheupperbound(fm)andthelowerboundofpicturedimension qualityuniforminsidepicturesaswell.asaconsequence,themblevelratecontrolfactor hashighvariabilitywithineachframe. Thescenesusedintheseexperimentshavepicturesmoredetailedandahigheramount throughoutthescene. functionwoulddelivermoreuniformqualitywhendealingwithwithtypicalvideoconferencing ofmotionthantypicalvideoconferencingheadandshoulderscenes.thesamesimplecontrol choiceofthetfsinwhichthebitsarereservedaectstheend-to-enddelay;theconditions underwhichitcanbereducedtoexpression(12)arealsopresented. scenes.moreover,enhancingtheratecontrolfunctiontoreducethequalityvariationinthis scenarioisnothard SynchronizationbetweenEncoderandNetwork allocatedbyreservingxedamountofbitsforthetransmissionofpicturesofthesametype. TheamountofbitsiscalculatedusingEquation(15).Inthefollowingweanalyzehowthe Havingtheratecontrolfunctionboundingpicturedimension,bandwidthiseciently pictureeverytseconds. videoconferencingsystemsmustexploitreal-timeencodersthatguaranteethedeliveryofa byconsideringthenatureoftheapplicationgeneratingtrac.accordingtorequirement6, savescheduling,i.e.,thechoiceofthetfstobereservedtoavideoconferencecall,issimplied considerm=1keepinginmindthatthewhatisdescribedinsection3.3.3appliestothe generalcase.ineachtimecycle,fibitsareallocatedduringonetf. siderthatonlyintra-framecodingisperformed.underthisassumption,resourcereservation mustbeanintegermultiplemofthevideoframeperiod;forthesakeofsimplicity,wenow isperformedasdescribedinsection3.3fortransmissionofrawvideo.thetimecycleduration ThebitsencodingapicturearebueredfromwhentheyareproducedtowhentheTF Tobetterunderstandtheimplicationsofschedulingontheend-to-enddelay,werstcon- codingtimecm,eachpicturespendsinthepacketizationfunctionbuertheapplication AsexplainedinSection3.3.2,iftheclockdrivingthecapturecard(andhencethepaceatwhich synchronizationcomponentofthenetworkshapingdelaysas packetizationfunction.temporarilyassumingthatencodingeachpicturetakesthemaximum reservedfortheirtransmissionisscheduled.thisbueringcantakeplace,forexample,inthe 46 n2[;t],asshowninfigure37.
47 Cheerleaders - Picture ratio 2 Hockey - Picture ratio 2 Average Quantization Parameter Average Quantization Parameter Mb/s 8 Mb/s 16 Mb/s Cheerleaders - Picture ratio Hockey - Picture ratio 3 Average Quantization Parameter Average Quantization Parameter Cheerleaders - Picture ratio 4 Average Quantization Parameter Figure33:AverageQuantizationParameterinControlledMPEGEncoding. 47 Hockey - Picture ratio Average Quantization Parameter
48 Bikes - Picture ratio 2 Table Tennis - Picture ratio 2 Average Quantization Parameter Average Quantization Parameter Mb/s 8 Mb/s 16 Mb/s Bikes - Picture ratio Table Tennis - Picture ratio 3 Average Quantization Parameter Average Quantization Parameter Bikes - Picture ratio 4 Average Quantization Parameter Figure34:AverageQuantizationParameterinControlledMPEGEncoding. 48 Table Tennis - Picture ratio Average Quantization Parameter
49 5 Cheerleaders - Picture ratio 2 5 Hockey - Picture ratio SNR (db) 4 35 SNR (db) Mb/s 8 Mb/s 16 Mb/s Cheerleaders - Picture ratio Hockey - Picture ratio SNR (db) 4 35 SNR (db) SNR (db) Figure35:SNRinControlledMPEGEncoding. Cheerleaders - Picture ratio SNR (db) Hockey - Picture ratio
50 5 Bikes - Picture ratio 2 5 Table Tennis - Picture ratio SNR (db) 4 35 SNR (db) Mb/s 8 Mb/s 16 Mb/s Bikes - Picture ratio Table Tennis - Picture ratio SNR (db) 4 35 SNR (db) SNR (db) Figure36:SNRinControlledMPEGEncoding. Bikes - Picture ratio SNR (db) Table Tennis - Picture ratio
51 Rate encodedpicturesexittheencoder)isnotsynchronizedwiththenetworkinterface,sas T 2T 3T 4T 5T 6T Rate Otherwise,theend-to-enddelayisgivenby variesinthegiveninterval.ifthetwocapturecardandnetworkinterfacearesynchronized, nisconstantandthetimeinwhichpicturesarecapturedcanbechosensothatsas Figure37:I-frameOnlyCodingandBandwidthReservationwithTimeDrivenPriority C S M n nslowly T sentassoonasencoded,itwouldbedelayedbythedecodertocompensatetheprocessing functionlongerthansas IftheencodingtimeofapictureislessthanCM,itisbueredbythepacketization n.thisdoesnotaecttheend-to-enddelaybecauseifthepicturewas f TDP VBR?I=CM+SAS n+ltf+d+pd n=. (16) Cycle delayvariation.thus,thiscongurationallowstosimplifythereceiverthatdoesnotneedto TFsintendedforsendingI-framesandthoseforP-frames.Thetimecyclemustbesettoan forthetwodierenttypesofframes:dierentamountsofbitsshouldbereservedinthe Whenbothintra-frameandpredictivecodingareexploited,twodierentboundsareimposed 4.3.4ComplexScheduling compensatenetworkjitterandprocessingdelayvariation. integermultiplemofthegopperiodandnmtfsmustbereservedwithinthetimecycle. Figure38showsasamplereservationwithM=1andN=4;theupperdiagramshowsthe amountofbitsgeneratedtoencodeeachpictureassumingthattheyareinstantlyavailable 51
52 Rate afterthemaximumencodingdelaycmfromthecapture1.thelowerdiagramshowsthe Figure38:TimeDrivenPriorityandComplexScheduling. T 2T 3T 4T 5T 6T Time Rate C AS delayisgivenby(16)asinthecaseinwhichonlyintra-framecodingisexploited.nevertheless, choiceofthetfstobereservedoneachlinkonthepathbetweensenderandreceiveriscalled amountofbitsreservedinthetfs:fiinonetfandfpinthefollowingn?1tfs.the M Sn Time T dierentvariationinterval;form=1,sas ofthevideoconferencecall. inthiscasetheapplicationsynchronizationcomponentofthenetworkshapingdelayhasa complexscheduling.thechoiceofthetfsimpactsbothnetworkperformance(intermsof maximumnumberofreal-timeconnectionsconcurrentlysupported)andtheend-to-enddelay AssuminguniformdistributionwithinthetimecycleofthereservedTFs,theend-to-end f Cycle where,duetotheslowmotioninthevideosequence,itisconvenienttousealonggop(large ofthegopperiodisdenitelynotacceptableespeciallyinvideoconferencingapplications N).Thus,synchronizationbetweenvideoencoderandnetworkinterfaceisessentialtokeep theend-to-enddelaybelowthe1msboundandthebuerofthepacketizationfunction small. n2[;nt].anetworkshapingdelayoftheorder alimitofthesystem,butinsteadallowsthedecodertobesimplied. Assumption3Thecapturecard(aswellastheencoder)issynchronizedwiththenetwork interface. 1Ithasbeenalreadyshowninthecaseofintra-frameonlycodingthatthisassumptiondoesnotconstitute IftheTFsreservedtoavideoconferencecallarenotuniformlydistributedwithinthetime 52
53 Bits I frames Bound P frames Bound cycletheinterarrivaltimebetweenvideoframesisnotconstant.thereceivercompensateto thisvariabilitybybueringvideoframesreceivedbeforescheduleanddelayingthewholevideo T 2T 3T 4T 5T 6T Time stream.sincethisdelayisduetotheadaptationofthetransmissiontimetothecharacteristics Rate ofthenetwork,wecategorizethisdelayasaschedulingcomponentofthenetworkshaping delaysschedfigure39:timedrivenpriorityandcomplexscheduling. AS S wheressched byawiseschedulinginthenetwork. n.ifassumption3holds,theend-to-enddelaycanbewrittenas TDP?CxSc n VBR Time T ThedecodingtimeDcanbereducedifthedecoderdoesnothavetowaitthewholepicture 4.3.5ReducingDecodingTime n2[;nt]:itisxedwhenthevideoconferencecallisplacedandiskeptsmall f =CM+SSched n+ltf+d+pd ofthem(figure39),thantoallocateasingletfduringwhichawholeencodedpictureis beforestartingprocessingit.thiscanbeobtainedbyinsertingencodedvideoframesin sent(figure38).choosingthistfsencompassestwonontrivialissues:determiningtheir smallerpacketsthataresentassoonasthecorrespondingbitshavebeenproducedbythe outlined,butasolutionisnotproposedbecauseitisoutofthescopeofthiswork. Inthefollowingtheseproblemsaredescribedandthetrade-osbetweendierentchoicesare positioninsidethetimecycleandtheirnumbersothattheend-to-enddelaybeminimized. encoder.thisdoesnotaectanyothercomponentoftheend-to-enddelaygivenby(16). ItisthusbettertoallocatemorethanoneTFperpictureandsendapacketineach 53
54 forthepictureoverallthetfs,theremainingreservedtfswillnothaveenoughcapacity tocarrytheotherbitsthathastobesentinthescheduledtf.ontheotherhand,ifthe bitsactuallyproducedtoencodethepictureisveryclosetotheglobalamountofbitsreserved underutilized(itcanbeexploitedbybesteorttrac),butbecause,ifthetotalamountof bytheencoder,otherwisetheamountoftransmitteddataissmallerthantheonereserved. Thisiscalledencoderunderowanditcriticalnotjustbecausetheallocatedbandwidthis WhenareservedTFisscheduledonthesenderlink,enoughbitsmusthavebeenproduced TFsreservedforapicturearechosenlater(withrespecttothebeginningofthevideoframe period),thebenetofusingmoretfstotransmitapictureisreduced,i.e.,theend-to-end delayisincreased. imagecomplexityandmotion,thanthescenesusedintheseexperiments,thusshowingamore andfigure41whenencodingframeswithboundeddimension.thecurvesshowthatthe productionrateisquiteconstant,i.e.,thepositionoftfscanbeestimatedwithasimple linearmodelwhichintroducessomesafetymargin(byshiftingthetfstowardstheendof probabilityofencoderunderow.moreover,avideoconferencescenehasusuallymoreuniform thevideoframeperiod).figures4and41showthatasafetymarginoffewmsyieldslow ThesoftwareencoderthathasbeenusedinthisworkshowsthetimingplottedinFigure4 regularproductionrate. bythemodel,thebitsthatcannotbetinthetfsreservedforthepicturecanbesentas besteort;ifthenetworkiscongested,theydonottimelygettothereceiverandthevisual thehigherthenumberofreservedtfs,thehighertheprobabilityofencoderunderow(the qualityofthereconstructedscenetemporarilydegrades. thesmallerthetransmissionunit,theearlierthedecodercanstartdecoding.nevertheless, Iftheinstantaneousamountofbitsproducedbytheencoderisbelowtheamountpredicted thedimensionofthetransmissionunit. modelaveragestherealproductionrateonashorterinterval).moreover,eventhoughinthis workpacketheaderoverheadisbeingneglected,ithastobetakenintoaccountwhenchoosing ThenumberofthereservedTFsperpictureshouldbekeptashighaspossiblebecause 4.4AsynchronousPacketSwitching Avideoconferencingsystemcanbeconstructedoveranasynchronouspacketswitchednetwork. andthetransmissionoverhead,ontheotherhand. thereductioninthedecodingdelay,ononehand,andthepossibilityofencoderunderow TheamountofbitstobereservedineachTFmustbechosenndingatrade-obetween AssoonastheencoderproducesenoughbitstoassembleapacketofdimensionPs,thepacket issentintothenetworkwhereitisexperienceavariablequeueingdelay.asshowninfigure42, thereceivermustexploitareplaybuertocompensatethenetworkdelayvariation.theend toenddelayisthusgivenby 54
55 Number of bits Number of bits Number of bits Cheerleaders Video frame priod Cheerleaders Video frame priod Cheerleaders Video frame priod Cheerleaders Figure4:ProductionofBitswhenEncodingthe\Cheerleaders"Sequence Video frame priod Video frame priod Number of bits Number of bits
56 Number of bits Number of bits Number of bits Hockey Video frame priod Hockey Video frame priod Hockey Video frame priod Hockey Number of bits Number of bits Figure41:ProductionofBitswhenEncodingthe\Hockey"Sequence Video frame priod Video frame priod
57 SenderandReceiver.Async Figure42:VideoconferencingSystemCongurationwithPacketSwitchedNetworkbetween wherecmisthemaximumtimerequiredtoencodeapicture,qmisthemaximumqueueing Disthedecodingdelay.Usingsmallpacketsandadecoderwhichstartsdecodingvideoframes Frame Packetization Packetization assoonasdataarereceived,canreduced.anyway,theend-to-enddelayisdominatedby delay,er2[;q]istheexcessresynchronizationdelayintroducedbythereplaybuer,and VBR=CM+Ps C+P+QM+Er+D+Pd Grabber Encoder Decoder Adaptor boundariesofthenetwork,eventhoughitintroducesanetworkshapingdelay.resources insection3.4.2,resourcereservationismoreecientiftracshapingisperformedatthe Resourcesarereservedinthenetworkinordertoboundthequeueingdelay.Asdiscussed 4.4.1TracShapingatNetworkBoundaries CMandQM. thedescriptiongivenatresourcereservationtime. averagerate,correspondingtotheshapedtrac;thenetworkguaranteesthequalityonthe arereservedinthenetworkbasedonthetracdescription,givenintermsofburstinessand networkshapingdelaysts characteristicsoftheshapedtrac.thereceiverhastocompensateitbymeansofareplay service(i.e.,theboundqmonthequeueingdelay)onlyiftheactualtraciscompliantwith buerwhichintroducesanetworkresynchronizationdelay.thus,eachpacketexperiencesa naturalbitgenerationrateoftheencoder,theimplementationofthetracshaper,andthe Thedelaygloballyexperiencedbyapictureduetothetracshaperdependsonthe caseofvbrmpegencodedvideothesametaskisharderanditisnotthegoalofthiswork, wedonotanalyzests isgivenby andtheimpactontheend-to-enddelayinthecaseoftransmissionofrawvideo.sinceinthe Section3.4.2,wehavediscussedtheconstraintsonthechoiceoftheleakybucketparameters ninmoredetail.theend-to-enddelayofthevideoconferencingsystem npartlyinthetracshaperandpartlyinthereplaybuer.in Async?TS VBR=CM+STS n+ps 57 C+P+QM+Er+D+Pd
58 4.4.2AdaptingtheEncodedVideoStreamtotheNetwork andtokenpoolsizeadeterminetheburstinessandaveragerateoftheshapedtrac.ifthe SincethetracpatterngeneratedbyanaturalVBRMPEGencoderisnotknowninadvance, discardedbyeitherthetracshaperitself,oratracpolicingfunctioninsidethenetwork[21]. itcanbeincompatiblewiththeshapedtracdescription.thenoncompliantpacketscanbe Forexample,ifaleakybucketisexploitedtoshapethetrac,thetokengenerationrateB whenthegopislarge.eventhoughtechniqueshavebeenproposedtolimittheeectof theexcesstracmustbeeitherdiscardedorsentinthenetworkwith"besteort"service. characteristicsoftheencodedvideoarenotcompatiblewiththevalueschosenforbanda Eventhoughabuerisinsertedbeforetheleakybuckettoadaptthevideostreamtothe loss[6],itshouldbebetterforthevideoconferencingsystemtoavoidlossinordertodeliver tracdescription,itcanoverowifthetwoaretoodierent. thehighestpossiblequality. ThelossofpacketsisnotacceptableinthetransmissionofMPEGencodedvideo,especially tracdescription. controlfunctiontunestheparametersofthebasicmpegencoderaccordingtothetrac MPEGencoders,thisapproachdoesnotguaranteeagainstpacketsnotcompliantwiththe sendsasbesteorttracpacketsthatcannotbeadaptedtothetracdescription.arate descriptionusedtodrivethetracshaper[24,23].duetotheunpredictableoutputof Alternatively,theratecontrolfunctioncantunetheMPEGencoderparametersbasedon TheMPEGencodingprocesscanbecontrolledtoavoidthatthetracshaperdiscardsor leakybucket)[2,4],asshowninfigure43.ifthisrequirestosignicantlydegradethevisual feedbackinformationreceivedfromthetracshaper(e.g.,thefullnessofthebuerprecedinga qualityofpictures,theresourceallocationisrenegotiatedaccordingtoarate-quantization modelthatistunedastheencodingprogresses. reconstructedonthereceiverwithacceptablequality.theencodedstreamcanbepartitioned twoseparatelayers,thehighprioritylayer-whichcontainsthemostcriticaldataaccording complytothetracdescriptionbecauseitneedsserviceguarantees,whilethelatterissent streamtotheserviceprovidedbythenetwork.thebitsencodingeachframearedividedinto tothesensitivityofthehumanvisualsystem-andthelowprioritylayer.theformermust asbesteort.eventhoughthelowprioritycomponentgetslost,thevideosequencecanbe Hierarchicalorlayeredencoding[19]providesanothermeanstoadapttheencodedvideo correspondingstreambettertothetracdescription. dynamicallyaccordingtofeedbackinformationfromthetracshaper(e.g.,thefullnessof thetokenbucket)[18].thefractionofdatasentatthehighprioritylayertobettertthe availablebandwidthwhenthenetworkisnotoverloaded,andgettingreasonablevisualquality whenitiscongested.onthecountrary,theapproachbasedoncontrollingtherateofthe MPEGencodervariesthequalityofimageswiththeobjectiveofttingtheencodedvideo Hierarchicalencodingcangetthebestfromapacketswitchednetworkbyusingallthe 58
59 B A Target Base Rate Encoder streamputsaharmfulburdenonthenetworkwhenitisoverloaded.duringcongestion, Figure43:MPEGEncoderControlledusingFeedbackfromaTracShaper. Quantization Rate nation.evenworse,lowprioritypacketswasteresourcesuntiltheyarediscarded.thewaste Parameter isevenlargerifpacketsmaketheirwaytothedestinationandtheretheyarediscardeddue thoughthenetworkcouldpossiblysupportahighrate(i.e.,higherquality). streamintothetracdescription.thus,visulalqualitycansometimesbedecreasedeven sendinglowprioritypaketsdoesnotyieldanyadvantagesincetheydonotgettothedesti- toexcessivedelay11. Nevertheless,thehierarchicalencodingapproachisnotecientbecausethelowpriority Model of a System Target Decoder Buffer AcircuitswitchednetworkcanbeusedforthetransmissionofVBRMPEGencodedvideo. 4.5CircuitSwitching whereswistheswitchingdelayandpthepropagationdelayinthenetwork.thisexpression issimilarto(11)giveninsection4.2fortheend-to-enddelayofavideoconferencingsystem Ifthevideoconferencecallisallocatedacircuitwithbandwidthlargerthantheinstantaneous rateoftheencoderandtheend-to-enddelayis thecapacitycoflinksisdedicatedtothevideoconferencecall. thatusesvbrmpegencodingandadirectlinkbetweensenderandreceiver.whena circuitswitchednetworkisexploitedtheswitchingdelayhastobeadded;moreover,notall CS VBR=CM+Sw+P+D+Pd; 11Takeintoaccountthatthedelayexperiencedbybesteorttrachasalargeboundandhighvariability. 59
60 showninfigure44.itsmoothestherateoftheencodertotitinthecircuitbandwidthatthe Figure44:VideoconferencingSystemTransmittingVBRMPEGvideooveraCircuitSwitched expensesofanetworkshapingdelayscs belowthepeakrateofthempegstreamifabuerisusedbetweenencoderandnetwork,as Network. Section4.4.1aboutthenetworkshapingdelaySTS encoder,alargepartofitsbandwidthiswasted.thebandwidthofthecircuitcanbereduced packetswitching,appliesalsotoscs SincethecircuithasbeendimensionedtosupporttheburstinessontheVBRMPEG Frame Network Interface andthecircuitswitchednetworkisequivalenttotheoneduetoatracshaperwithaverage n.infact,theshapingperformedbythesmoothingbuer naddedtotheend-to-enddelay.whatisdiscussedin nintroducedbyatracshaperwhenusing Grabber Encoder Network Interface Decoder Adaptor bandwidthbandmaximumburstiness1bit(e.g.,aleakybucketwithtokengenerationrate totheend-to-enddelaywhichisgivenby receiversidecompensatesthevariationofthistimethusyieldingthexedcontributionscs ontherateofthempegencoderandthebandwidthofthecircuit.areplaybueronthe BandtokenpoolsizeA=1).Picturesarebueredinthesenderforatimethatdepends aleakybucket,whichhasbeendescribedinsection3.4.2;whenitoverowspartoftheencoded streamisdiscarded.dimensioningthebuerandthecircuitbandwidthsothatdiscarding Thebuerbetweenencoderandnetworkhasthesamepurposeasthebuerattheingressof CS?TS VBR=CM+SCS n+p+sw+d+pd n ofpacketsisavoidedisnotpossiblebecausethebitrateproducedbythempegencoderis notknowninadvance.thus,thebitgenerationrateoftheencodermustbemonitoredand regulatedbyaratecontrolfunctionwhichexploitsthebuerstatusasfeedbackinformation. isactuallyacbrmpegencoderwhichisthesubjectofthenextsection. ThesystemcomposedbythebasicMPEGencoder,thebuer,andtheratecontrolfunction 5TransmissionofCBRMPEGVideo ThebasicMPEGcodingprocessproducesavariablebitratestream.Ashasbeenshownin theprevioussection,topreventloss,thenaturalvariabilityofthebitgenerationratemustbe controlledandadaptedtothetransmissionservice.ifthetransmissionservicerequiresdata tobesentatconstantbitrate(cbr),acbrmpegencoderisthechoiceforbuildingthe videoconferencingsystem. 6
61 Figure45:BasicMPEGEncoderandEncoderBuer. Rate Rate B Encoder Buffer alsopredictivecodingareconsiderednext.lastly,thetransmissionwithdierentschemesis viewofdelaywhenonlyintra-framecodingisused;theimplicationsonthedelaywhenusing thatinuencethem.first,thempegencoding/decodingsystemisanalyzedfromthepointof Inthefollowing,thetimeneededtoencodeandtransmitCBRMPEGvideoisstudiedfor furtherstepswiththeaimofhighlightingthedierentcomponentsandthesystemparameters transmissionschemeadoptedandwidelyvariesaccordingtotheparametersoftheencoder. ACBRMPEGencoder/decodersystemintroducesadelaythatisindependentofthe Time Time analyzedinordertodevisetheend-to-enddelayinvariouscongurations. Base Encoder iscomposedonlyofi-frames)isrstconsidered;basically,thisisthecompressionprocess Thecaseinwhichonlyspatialredundancyiseliminated(i.e.,theencodedvideosequence 5.1Intra-frameCodingOnly ACBRMPEGencoderisbuiltbysmoothingthenaturalrateofabasicMPEGencoderinto aconstanttargetrateb.asshowninfigure45,thesmoothingisperformedbytheencoder 5.1.1CodingShapingDelay alsoapplytoavideoconferencingsystemwhichexploitjpegtocompressvideoframes. recommendedbymovingjpeg[7][25]andthusthebasicprinciplesdiscussedinthissection bueredinthedecoderbueruntilawholepictureisreceivedandcanbedecode.apicture thatvideoframesarecontinuouslydisplayedataxedrate.thecompositionoftheprocessing buerdelayseachbitdependingonthenaturalbitrateandthetargetbitrate.also,bitsare ThisistheprocessingdelayoftheCBRencoderthatdependsonthepicturedimension.Since itnotconstant,thedecodermustcompensateittocomplywithrequirement3whichimpose encodedwithfbitstakesatimef=btoexittheencoderbuerandenterthedecoderone. buer,whichislledatthenaturalbitrateandemptiedatthetargetbitrateb.theencoder delayoftheencoder/decodersystemandtheprocessingresynchronizationdelayintroduced bythedecoderisaconstantcodingshapingdelaysc. 61
62 Natural Buffer Target Base wheremaxseqfisthemaximumnumberofbitsusedtoencodeapictureovertheallsequence. Figure46:BasicEncoderandRateControlFunction. (17)guaranteesthatinthetimebetweenwhenapictureisgrabbed,towhenitisscheduled Quantization fordisplaying,uptomaxseqfbitscanexittheencoderbueratrateb.inorderforthe SincebitsexittheencoderbueratrateB, Parameter encodedvideostreamtobecontinuous(i.e.,actuallyhavingaconstantrate), ScmaxseqF B; Model a System Target Decoder Buffer areproduced.(18)showsthattheend-to-enddelayofavideoconferencingsystemexploiting otherwisetherewouldbeatimeintervalbetweentwosubsequentframesduringwhichnobits acbrmpegencoderislargerthanthevideoframeperiod. itisanalogoustothenetworkshapingdelaysts toavbrmpegencoder(seesection4.4.1).ifabasicmpegencoderfreelyllsanite dimensionbuerwhichisemptiedaccordingtoaxedtracdescription,thebuercan Eventhoughthecodingshapingdelayisnotrelatedtothetransmissionoveranetwork, undergoestoaverystricttracdescription(beingitconstant).thus,aratecontrolfunction possiblyoverow.insection4.4.2wesurveyedsomeproposalstocontrolthebasicmpeg todiscardpackets.inthecaseofacbrencoder,therateatwhichthebuerisemptied encodingbasedonfeedforwardorfeedbackinformation,inordertoavoidatracshaper nintroducedbyatracshapercascaded mustbeintroducedtocontrolthebasicmpegencoderinordertoavoidtheencoderbuer tochangethenaturalbitrateandavoidthebuertounderoworoverow. Figure46showsthecomponentsofaCBRMPEGencoder.Inprincipletheratecontrol functionmonitorsthefullnessoftheencoderbuerandadjuststhequantizationparameter tooveroworunderow RateControlFunction 62 ScT; (18)
63 asystemtargetdecoderwiththestreamdoesnotoveroworunderowitsbuer,whose dimensionisincludedinthempegstream[11].thempegstandardspeciesthatthe systemtargetdecoderisfedattheconstantrateindicatedinthestreamanditretrievesdata fromitsbueroneaccessunitatatime.theaccessunitisawholepictureandallthebits timespeciedinthempegstream.thebuerofthesystemtargetdecoderunderowsifa encodingavideoframeareremovedwhenitsdecodingisstartedaccordingtothedecoding ThecomplianceofanencodedvideostreamwiththeMPEGstandardrequiresthatfeeding wholepictureisnotpresentinthebuerwhenitsdecodingisscheduled. timetoencodeapictureisassumedtobenull,thefullnesslevelsofthetwobuersarestrictly updatedmodelofthebuerofasystemtargetdecoder,asshowninfigure46.itislledat sothatthestreamcomplianceisgranted. asshowninfigure47.thequantizationparameter(andthusthenaturalbitrate)istuned thetargetrateb,andemptiedbyonepictureattheinstantinwhichdecodingisscheduled, Actually,iftheencoderbuerhasthesamesizeofthesystemtargetdecoderoneandthe Thus,besidemonitoringtheencoderbuer,theratecontrolfunctionshouldkeepan tothedimensionofpicturesandthetargetrateb.ifthevirtualbuerdoesnotunder- MPEGstandardprovidesguidelinesonhowtomanagethevirtualbuerandmodifythe oworunderows,neithertheencoderbuernorthesystemtargetdecoderbuerdo.the decoderoneunderows(overows). related.inparticulartheencoderbueroverows(underows)ifandonlyifthesystemtarget quantizationparameter[9];anyway,eachcbrmpegencoderimplementationcanuseits ownapproach[28,26,5,23]. Inpractice,theratecontrolfunctioncanmodelvirtualbuerwhichisupdatedaccording thesoftwareencoderdvdencwiththeobjectiveofdevisingitsimpactontheend-to-enddelay. accordingto(17)themaximumnumberofbitsusedtoencodeapictureprovidesalowerbound thedimensionofthesystemtargetdecoderbuerandisdrainedattheconstantbitrate onthecodingshapingdelay,weanalyzeinmoredetailthevirtualbuerimplementationof B.Beforeencodingapicture,theratecontrolfunctionsetsthemaximumandminimum Thisthevirtualbuerconstrainsthenumberofbitsusedtoencodeeachpicture.Since thatthebuerisnotemptiedbeforetheendofthevideoframeperiod.thevbvisthen updatedaccordingtotheactualnumberofbitsproduced.inthefollowingsection,thelower dimensionsofthepicture.themaximumdimensionissetbyconservativelyassumingthat itmustnotexceedthespaceavailableinthebuer12.theminimumdimensionguarantees Theratecontrolfunctionmodelsabuer,calledVideoBuerVerier(VBV),thathas wouldnotoverow. andupperboundsonthedimensionofpicturesinancbrmpegstreamaregiveninterms ofthesizeofthevbv. 12ThisconformstoconservativeassumptionthatevenifallthebitswereinjectedintheVBVinstantly,it 63
64 Figure47:StandardDecoderBuerModelKeptbytheControlFunction. Rate Rate Rate ofimageswouldnotbeuniform.insteadpicturedimensionisallowedtovaryandiscontrolled B accordingtothevbv. encodeeachpicture.eventhoughthiswouldguaranteeaconstantbitrate,thevisualquality InthevideoframeperiodT,aCBRMPEGencoderworkingatthetargetrateBproduces BTbits.TheratecontrolfunctioncanbedesignedinordertouseexactlyBTbitsto 5.1.3DimensionofEncodedPictures Time Encoder Buffer Time Buffer T Time Claim1ThedimensionoftheVBVistheupperboundonthedimensionofpicturesinan Base Encoder wherevsisthedimensionofthevbvandfisthedimensionofapicture. MPEGcompliantstream: ProofTheVBVmustbelargerthanthelargestencodedpicturebecauseitmustcontaina wholepicturebeforeitisstartedbeingdecoded.moreover,asthevbvoverowmust beavoidedtoguaranteecompliancewiththempegstandard,theratecontrolfunction Vsmax seqf showhowthislowerboundisdetermined,werstanalyzehowpicturedimensionaectsthe thisisnotarestrictionbecauseifthevbvdoesnotunderow,theencoderbuernever encoderbuerlevel.weassumethattheencoderbuerandthevbvasthesamedimension; ThelowerboundonencodedpicturedimensionisalsorelatedtotheVBVdimension.To controlsthebasicncodersothatthenumberofbitsusedtoencodeapictureisnotarger containsmorebitsthanthevbvdimension. thanthevbvdimension. BTbits.Ifsomebacklogispresentinthebueratthebeginningofthevideoframeperiod, ratebduringthetimetbetweentwopictures,apictureshouldbeencodedwithatleast thenumberofbitsusedforencodingthepicturecanbesmaller.thus,thelowerboundfm Inordertohaveenoughbitsintheencoderbuersothatitisemptiedattheconstant 64
65 Bits T 2T 3T Time largestbacklog. exempliedinfigure48.theupperdiagramshowsthattheencoderprocessesthebitsofeach rawimageduringasinglevideoframeperiod(thindashedline).thediagramalsoplotsthe Figure48:BitProductionRateandEncoderBuerFullness. T 2T 3T Time line);thetotalnumberofbitsperpicturevariesfordierentpictures.thecbrencoder onpicturedimensionistheminimumallowedpicturedimensionwhenthebuercontainsthe numberofbitsgeneratedbythebasicencoderversustimeforeachpicture(thickcontinuous Processed emitsbitsatconstantrateb(asshownbythethickdashedlineinthelowerdiagram),thus Thebacklogisduetobitsencodingthepreviouspicturethathasnotbeensentoutyet,as Natural Target sendingoutthesameamountofbits(bt)ineachvideoframeperiod(lastpointofthe Buffer Level thickdashedlineintheupperdiagram).ifthedimensionofapictureexceedsbt(e.g.,the rstpictureinfigure48),excessbitsaretemporarilybueredintheencoderbuer(whose levelisdepictedbythethincontinuousline)untiltheyhavebeenallsentout(aftertheend ofthevideoframeperiod). encodingapicturetheratecontrolfunctionchecksthevbvandallowsthepicturetobelarge enoughtollit.ifthemaximumallowedamountofbitsisproduced,thelevelofthevbv (andtheencoderbuer)attheendofthevideoframeperiodis ThelargestbacklogVbremainsinthebuerafterapicturehaslledit.Beforestarting Vb=Vs?BT 65
66 becauseduringthevideoframeperiodbtbitshavebeendrainedfromthebuer.the numberofbitsthatmustbeinsertedinthevbvsothatitcontainsatleastbtbits,i.e., ratecontrolfunctiondeterminestheminimumalloweddimensionofthenextpictureasthe theamountofbitstobedrainedduringthevideoframeperiod: Thisisthelowerboundonthepicturedimension. apicture.moreover,theminimumnumberofbitsusabletoencodeapictureisbounded bythevbvdimension,thevideoframerate,andthetargetrateoftheencoder.sincethe naturaldimensionofmpegencodedpicturesishighlyvariable(seesection4.1.3,themore Insummary,thedimensionoftheVBVisthemaximumnumberofbitsusabletoencode Fm=BT?Vb=2BT?Vs thedimensionofpicturesisallowedtovary,themoreuniformistheirvisualquality.the maximumpossiblevariationofpicturedimensionisgivenby isfundamentaltokeepthevisualqualityuniformthroughoutpicturesandscenes.thetask ismademoredicultbythefactthat,underassumption3ofcontinuousplayingmadein function.theratecontrolfunctionmustusewiselytheallowedvariabilityinpicturedimension pictures. ThelargertheVBVdimension,thelargerthepossiblevariationofdimensionofencoded Theactualnumberofbitsusedtoencodeeachpictureisdeterminedbytheratecontrol FM=Vs?Fm=2(Vs?BT) (19) picturemustbesmallerthanbt. Claim2Ifapicturehasitsmaximumalloweddimension(i.e.,itllstheVBV),thefollowing ProofWhenapictureisencodedwiththemaximumallowednumberofbits,attheendof intheprecedingones.thisisstatedbythefollowingclaim. Section2.2,theamountofbitsusedtoencodeapictureisconstrainedbytheamountsused 5.1.4StartupShapingDelay thevideoframeperiodinwhichithasbeencaptured,bthasbeendrainedfromthe VBV.BeingthisthenumberofbitsneededtolltheVBV,itprovidesthemaximum Sectionweshowthat,evenifthedimensionofapictureislargerthantheminimumallowed TheratecontrolfunctionusestheVBVtoguaranteethattheMPEGstreamcomplieswith thempegstandardandthattheencoderbuerdoesnotoveroworunderow.inthis alloweddimensionforthefollowingpicture. bythevbv,theencoderbuercanunderow.wealsodescribehowthecbrencodercopes withthissituation. 66
67 Bits theupperdiagramshowstheamountofbitsprocessedversusthetime.thisislargerthan theamountofbitsproducedbythebasicencoder(continuousline)becauseoftheyielded compression;thepunctualslopeofthelineistheinstantaneousnaturalrate.theobjective ofthecbrencoderistoproducebitsattheconstanttargetrateb,asshownbythethick Figure49:I-framesOnlyEncoding. dashedline;theencoderbuerisusedtosmooththevariationsofthenaturalbitrate,as Figure48showsthetimingassociatedwithintra-framecoding.Thethindashedlinein T 2T 3T Time exempliedbythelowerdiagramoffigure48. Processed Natural Rate levellowers,asshown,forexample,intheupperdiagramoffigure48duringthesecondvideo Whentheinstantaneousnaturalbitrateissmallerthanthetargetrate,theencoderbuer Target Rate situationdepictedinfigure49:atthebeginningoftheencodingofascene,thenaturalrate islowerthanthetargetrate.thiscanbepreventedbywaitingastartupshapingdelaywhen theencodingofascenestarts,beforestartingsendingbitsoutoftheencoderbuer.the whenthebuerisempty,theencoderbuerunderows.thishappens,forexample,inthe frameperiodbythethincontinuousline.ifthenaturalrateissmallerthanthetargetrate startupshapingdelayisobtainedbyxingafullnessthresholdinthebuerandwaitingitto becrossedbeforethempegstreamstartsowingoutofthecbrencoder. targetrate.sincethenaturalrateiscontrolledbytheratecontrolfunction,thethreshold canbeaslowasdesired,providedthattheratecontrolisaggressiveenoughtoincrementthe smallertheareaofthepictureoverwhichthenaturalproductionratecanbesmallerthan visualqualityofimagesisnotuniformbecausethequantizationparameterchangessuddenly. naturalratesothatthebuerdoesnotunderows.nevertheless,thelowerthethreshold,the thetargetrate,i.e.,theareaoverwhichtheratecontrolfunctionmustintervene.thus,the Thethresholdrepresentsthetoleranceofthesystemtoanaturalbitratelowerthanthe Ontheotherhand,thehigherthethreshold,thelargerthestartupshapingdelay. quality(andaggressivecontrolfunction)islefttothespecicencoderimplementation.the Thechoiceofthetradeobetweenlongstartupshapingdelayandnon-uniformvisual 67
68 Bits chosenvalueofthestartupshapingdelayisnotverycriticalbecause,iftheencoderispowerful Thismeansthatthemainaimoftheencoderbuerisnotreallysmoothingthevariationof enoughthetargetrateismuchlowerthantheaveragenaturalrate,asshowninfigure5. Figure5:FastI-frameOnlyEncoding. T 2T 3T Time Processed Natural Rate 5.1.5ShapingDelayImplementation delaytocopewithactualbitproductionratevariation,i.e.,thefractionofbuertobelled beforestartingtransmittingshouldnotbelargebecausethebuerisemptiedmuchslower thenaturalrate,butloweringit.thus,itisnotnecessarytointroducealargestartupshaping thanitislledontheaverage. Target Rate Afterhavingdescribedwhicharetheboundsonthedimensionofpictures,weanalyzetheir impactonthedelayandhowitisintroducedbythecbrencoder/decodersystem. partlyinthedecoderone.nevertheless,thevalueofthecodingshapingdelayischosenby bueruntilthebuerlevelcrossesapredenedthreshold.inordertokeepthestartupshaping crossedwithinapredenedamountoftime. delaysmall,theratecontrolfunctionmustincreasethenaturalrateifthethresholdisnot introducesthestartupshapingdelaywhenitstartsencodingascene:nobitexitsfromits Thecodingshapingdelayisexperiencedbypicturespartlyintheencoderbuerand Picturesexperiencethestartupshapingdelayentirelyintheencoderbuer.Theencoder stream[11].thisdeterminestheamountoftimespentbyeachpictureinthedecoderbuer sothattheoveralldelaybesc. theencoderthataccordinglysetsthedecodingandpresentationtimestampsinthempeg CBRencoderisdeterminedbytheVBVdimension,asstatedbyClaim1.Asaconsequence, resultingstream.infact,accordingtoequation(17),giventhecodingshapingdelay,picture delay,i.e.,setthetimestamps;nevertheless,thischoiceiscrucialtothevisualqualityofthe dimensioncannotexceedscb.theupperboundonthedimensionofpicturesencodedbya TheMPEGstandarddoesnotstatehowtheencodershouldchoosethecodingshaping 68
69 to oncethecodingshapingdelayhasbeenset,theencodermustsetthevbvdimensionaccording theend-to-enddelayofthesystem,butdeliversnonconstantquality.theimplementationof ity,andhencevisualqualityoftheencodedstream.thus,asmallcodingshapingdelayreduces InSection5.1.3ithasbeenshownthatVBVdimensionaectspicturedimension,itsvariabil- theratecontrolfunctionmustndatradeo. accordingly),theproductionofasuitablempegstreamisguaranteedbytheratecontrol Oncethestartupandcodingshapingdelayshasbeenchosen(andtheVBVdimensionset VsScB (2) possibletodecreasethebitproductionrate,atworstbystoppingencodingandusinga particularcodeinthempegstreamthatrepresentsambinwhichallthedctcoecients naturalbitratebecauseunencodedpicturesaremuchlargerthanencodedones.itisalways functionavoidingthevbvtooveroworunderow.itisalwayspossibletoincreasethe arenull ExperimentalData ThedvdencsoftwareMPEGencoderusedtoprovidetheexperimentaldatashowninthis disks.thus,itisnotoptimallydesignedforareal-timevideoconferencingsystem.asa consequence,thecontrolfunctionofthecbrencoderisnotaggressiveenoughtoproperly workhasbeenimplementedformpegcompressionofvideosequencestobestoredonvideo function,thedimensionofthebuermustbechosenquitelargerthatthisminimumandthus thetargetrateforawholevideoframeperiod.duetothelimitedaggressivenessthecontrol limitpicturedimensionwhenthevbvissmall. deliverpicturessmallerthanbt;inthiscasetheencoderwouldnotbeabletoemitbitsat itsimpactonpicturedimensionisnotclearlyvisible. TheminimumVBVdimensionisBT.AccordingtoClaim1,asmallerdimensionwould (averagedonthewholeframe)decreases,asshowninfigure52.accordingly,thequalityof congurationsdeliverthesamecodingshapingdelay. throughoutthiswork.threedierenttargetratesareusedfortheencodingofeachsequence variation.theratiobetweenvbvdimensionandtargetrateiskeptconstantsothatallthe inordertoshowhowtheparameterinuencesthenumberofbitsperframeproducedandits Figure51showsthenumberofbitsproducedbyintra-framecodingthefoursequencesused theencodedsequencebecomeshigher,asshownbythesnrplottedinfigure53. accordingtoequation(19),morevariabilityisallowedforpicturedimensionasthetarget rateincreases.thisisconrmedbytheplotsinfigure51. Astherateincreasesthedimensionofframesgrowslargerandthequantizationparameter SinceintheexperimentstheratiobetweenVBVdimensionandtargetrateisconstant, 69
70 Cheerleaders Hockey 7 7 Picture dimension (Kb) Picture dimension (Kb) Picture dimension (Kb) Mb/s - Buff 192 kb 8 Mb/s - Buff 384 kb Bikes 16 Mb/s - Buff 768 kb Table Tennis Figure51:FrameDimensioninIntra-frameOnlyCBREncoding Picture dimension (Kb)
71 Average Quantization Parameter Average Quantization Parameter Cheerleaders Average Quantization Parameter Mb/s - Buff 192 kb 8 Mb/s - Buff 384 kb Bikes 16 Mb/s - Buff 768 kb Table Tennis 1 1 Figure52:AverageQuantizationParameterinIntra-frameOnlyCBREncoding Average Quantization Parameter Hockey
72 5 Cheerleaders 5 Hockey SNR (db) SNR (db) SNR (db) Mb/s - Buff 192 kb 8 Mb/s - Buff 384 kb Bikes 16 Mb/s - Buff 768 kb Table Tennis 5 Figure53:SNRinIntra-frameOnlyCBREncoding SNR (db) 2
73 VBV fullness (%) VBV fullness (%) Cheerleaders VBV fullness (%) Hockey Mb/s - Buff 192 kb 8 Mb/s - Buff 384 kb Bikes 16 Mb/s - Buff 768 kb Table Tennis 1 Figure54:VBVFullnessinIntra-frameOnlyCBREncoding VBV fullness (%)
74 tothesmallvalueofthequantizationparameter(seefigure52).theglobaldistortionlevel Inthe\hockey"sceneat16Mb/sthedimensionofadjacentpicturesvariesverymuchdue Figure55:AmountofBitsEncodingEachPicture. T 2T 3T 4T 5T 6T Time I Frame Figure55andconrmedbytheexperimentalresultsshowninFigure2.Thus,ifpredictive Gisanintegerandisvariedby1;duetothelowvalueofG,therelativevariationislarge Predictivecodingyieldsbettercompressionthanintra-framecoding,asqualitativelyshownin andisreectedinalargevariationofpicturedimension. 5.2Intra-frameandPredictiveCoding P Frame codingisusedtoencodeascenewithagivenvisualquality,thewholenumberofbitsproduced issmallerthanifonlyintra-framecodingisused;thelargerthegop(i.e.,thenumberofpframesperi-frame),thesmallertheamountofbitsproduced13.moreover,theslowerthe predictivecodingmustbeusedtoincreasecompression. scene,thesmallerthedimensionofp-frames;sincevideoconferencingscenesarelikelyslow, thecodingshapingdelayislargerthanwhenusingonlyintra-framecoding.then,weshow slowerthesequence,thehigherthevisualqualityoftheencodedsequence.nevertheless, showthatwhenacbrmpegencoderusespredictivecoding,giventhetargetrate,the ofcodingshapingdelay,werstshowwherepicturesexperienceit.insection5.2.2we unsuitableforvideoconferencingapplications.inordertoprovideabetterunderstanding isstudied.weshowthatcodingshapingdelaymakescbrmpegwithpredictivecoding InthefollowingofthisSection,theimpactofpredictivecodingoncodingshapingdelay howpredictivecodingincreasesthecodingshapingdelaywhenencodingatconstantquality. notdecreasetheamountofbitgeneratedbecausethepredictionerroraccumulatesandrequiresmanybitsto Lastly,theimpactofpredictivecodingonthestartupshapingdelayisconsidered. 13Actually,asshownin[19],thereisamaximumGOPdimensionbeyondwhichenlargingtheGOPdoes beencoded. 74
75 Processed Basic Encoder Output CBR Encoder Output Bits Figure56:NaturalandTargetGenerationofBitsandEncoderandDecoderBuerFullness. (I) T 1 (P) 2T 2 (P) 3T 3 (P) 4T 4 (I) 5T Time (I) 2 (P) 3 (P) 1 (P) buer,asexplainedindetailinthissection. T 2T S c 3T S c +T 4T S c +2T 5T Time byacbrencoder/decodersystemusingbothintra-frameandpredictivecoding.theupper 5.2.1BueringIssuesRelatedtotheCodingShapingDelay diagramqualitativelyshowsthati-framesarelargerthanp-frames.thenaturalrateaveraged amountofbits.picturesexperiencepartofitintheencoderbuerandpartinthedecoder InSection5.1.1ithasbeenshownthataCBRMPEGencoder/decodersystemintroducesa codingshapingdelayinordertoallowpicturestobeencodedatconstantratewithvariable Figure56showshowthebitsofanencodedvideostreamareproducedandbuered Buffer onavideoframeperiodwhilethebasicencoderisintra-framecoding,islargerthanthetarget Buffer rate;thenaturalratewhilepredictivecodingissmallerthanthetargetrate. theirdimensionisthemaximumallowedbythesystem.forexample,picture,whichis assoonastheyarrivebecausetheyexperiencetheprocessingresynchronizationdelayunless correspondingtoaframe.encodedpicturesarenotretrievedfromthebueranddecoded bitsproducedbythebasicencoderforthepreviouspicturesandstillnotsentoutbythecbr encoder.thedecoderbuerlevelisincrementedlinearlyanddecrementedbyretrievalunits (dashedline)buer.p-framesndabacklogintheencoderbuerduetothehighnumberof Thelowerdiagramplotsthefullnessleveloftheencoder(continuousline)andthedecoder 75
76 butitisnotdecodeduntiltheinstantsc,i.e.,untilthecodingshapingdelayiselapsedfrom itscapture CodingShapingDelayatConstantTargetRate Weconsidertheencoderoperatingataxedtargetrateandstudytheeectofthecoding intra-framecoded,fullyentersthedecoderbuer(exitstheencoder)atthetimetagged(i), ordertohaveasimple(eventhoughnotaccurate)measureofthevisualqualitywhichallows dierentcongurationtobecompared,wemakethefollowingassumption. aresmallandmorebitsoutofthegopbudgetareusedinencodingi-frames.ifascene MPEGencodersusuallyhavetheirxedtargetrateandchangetheratiobetweenI-frameand isfast,p-framesrequiremorebitsandthedimensionofi-framesdecreasesaccordingly.in P-framedimensionaccordingtothemotioninthescenebeingencoded.Ifitisslow,P-frames shapingdelayonthevisualqualityoftheencodedstream.thisisarealisticscenarioascbr Assumption4Ifthesamesceneisencodedmorethanoncewithdierentencodingparameters,thevisualqualityoftheencodedstreamsobtainedwiththedierentexperimentscanbe comparedbycomparingthedimensionofi-frames:largeri-framesmeanbettervisualquality. AccordingtothisAssumptionandtowhatstatedabove,giventhetargetrate,thefastmoving encoderproduceslargei-frames.bydoingthisitintroducesalargecodingshapingdelay whichislowerboundbythedimensionofthelargestpictureaccordingtodisequation(17). isascene,thelowerthequality. dimensionandotherparametersofacbrencoderthatexploitspredictivecoding.weassume Inavideoconferencingscenario,scenesareusuallyslowandthus,givenatargetrate,the videoconferencingapplicationsshouldbetternotexploitpredictivecodinginordertoreduce thattheencoderusesaconstantnumberofbitstoencodeeachgop:itmustproducethese bitsinagopperiod,i.e.,eachgopisencodedwithntbbits.actualcbrdonot shapingdelayofanyparticularencoder.nevertheless,itgivestheavorthatcbrencodersfor usuallycomplytothisassumption;thus,theexpressionwedevisedoesnotprovidethecoding WenowdeviseanexpressionthatgivesthecodingshapingdelayasfunctionofP-frame theend-to-enddelay. wherefiisthedimensionofthei-frameinthegop,fp ByextractingFIfromEquation(21),weobtain,foreachGOP, Accordingtotheforegoingassumption,thefollowingequationholdsforeachGOP FI+N?1 Xi=1FP i=ntb 76 iisthedimensionoftheithp-frame. (21)
77 ThesmallerthenumberofbitsusedtoencodeP-frames,thelargerthedimensionofthe I-frameintheGOP. FI=NTB?N?1 Xi=1FP codingisexploited,thelargestpictureisthei-frameinthegopwiththesmallestp-frames. maxseqfisthedimensionofthelargestencodedpictureinthesequence.whenpredictive Equation(18)inSection5.1.1givesthecodingshapingdelaySc=maxseqF=B,where i (22) dimension,i.e.,maxseqf=iasgivenbyequation(22);substitutinginequation(18): Forthesakeofsimplicity(alsointhenotation),weassumethateachI-framehasthesame theencoding/decodingsystemmustintroduce.iftheencodedsceneiscompletelystatic,the PictureDimensionThesmallertheP-frames,thelongerthecodingshapingdelaythat P-framesareencodedwithaverysmallamountofbits;inprinciple.Thus,theI-frame Sc=NTB?PN?1 B i=1fp i=nt?pn?1 i=1fp B i toacodingshapingdelayequaltothegopperiodnt. growsusingallthebitsintendedfortheencodingofthegop,i.e.,ntb;thiscorresponds (23) bitsusedtoencodepicturesisthevbvdimensionvs;adimensionequaltontballows slowlymovingandwouldallowalargeratio.thekeyelementindeterminingthenumberof theratiobetweenthedimensionofi-framesandp-frames,eventhoughthescenetoencodeis theencodertotakefulladvantageofpredictivecodingwhenthesceneisparticularlyslowand tousealargeamountofbitstoencodei-frames.alargerdimensionallowstheencoderto deliverevenmoreuniformqualitybysmoothingsuddenincreaseinthecomplexityofpictures Thus,aCBRencoderwhichaimsatyieldingashortcodingshapingdelaymustbound andinthemotionovermorethanagopperiod.nevertheless,thisrequireslargercoding shapingdelayandbuersinbothencoderanddecoder. P-frames.Thisisparticularlyusefulwhenaparticularlycomplexpicture(i.e.,withlowspatial usedintheencodingofeachgopandapreferredratiobetweendimensionofi-framesand redundancy)isbeingintra-framecoded;iftheencoderusedonlythevbvtodeterminethe bitsusedtoencodepictures.forexample,thesoftwareencoderdvdencbeforeencodinga targetforthepicturedimension,inordertodelivergoodquality,itwouldusethemaximum picturesetsatargetdimension;thisischosenaccordingtoapredenedamountofbitstobe BesidetheVBV,CBRencodersbetterhaveothermeansforcontrollingthenumberof numberofbitsallowedbythesystemtoencodeapicture,i.e.,itwouldllupthevbv. AccordingtoClaim2,thedimensionoffollowingpicture(s)wouldbeboundbyBT;this boundcanbetoosmall,particularlyifthescenebecomessuddenlyfast.infact,p-framesare encodedwithanumberofbitsthatisnotsucienttoshowthesamevisualqualityofthe I-framecorrespondingI-frameandthusthequalityoftheGOPislowered. 77
78 Nevertheless,Equation(22)showsthatincreasingthevideoframeperiodalsoimprovesthe theencodedscene,itshouldbeavoidedtokeepthedelaysmaller14. thetargetrate;eventhoughaccordingtoassumption4thisincreasesthevisualqualityof GOPSizeIncreasingtheGOPsize(i.e.,N)increasesthecodingshapingdelaybecausethe qualityoftheencodedscenebecausei-framesbecomelarger. byequation(23);thelongerthevideoframeperiodt,thelargerthecodingshapingdelay. percentageofsmallpictures(thep-frames)increasesandsoi-framesaremadelargertokeep Conclusion1GiventhetargetrateofaCBRMPEGencoder,predictivecodingincreasesthe visualquality.nevertheless,everyparametersettingaimedatqualityimprovementincreases Usingalowvideoframerate(i.e.,largeT)increasesthecodingshapingdelay,asshown qualitythecbrencodermustdeliver.weassumetoencodethesamescenemorethanonce Wenowstudytheimpactofpredictivecodingonthecodingshapingdelay,giventhevisual thecodingshapingdelay CodingShapingDelayatConstantVisualQuality thani-framesandasmuchgopsizenislarger. I-frames,accordingtoAssumption4;weneedawaytocomparetheeectivenessofpredictive coding.theexploitationofpredictivecodingisasmoreeectiveasmuchp-framesaresmaller exploitedandthevisualqualitydeliveredisthesame. theparametersoftheencoderarechangedsothatpredictivecodingismoreorlessheavily withdierentamountsofcompressionduetopredictivecoding.i.e.,foreachexperiment usingadierentnumberofp-framespergop,thei-framesproducedineachexperimenthave thesamedimensionfi.assumption4isaroughapproximation,butitisclosetorealitywhen AccordingtoAssumption4,ifthesamesceneisencodedwithsamevisualquality,but Thevisualqualityoftheencodedstreamsiscomparedbycomparingthedimensionof withconstantamountofbitspandexploitasmeasureofyieldedcompressiontheratio thecontextoftheanalysiscarriedoninthissection,weassumethatp-framesareencoded dealingwithsimpleslowmovingscenes(suchasatypicalvideoconference);moreover,theaim ofthissectionisonlytogivetheavoroftheimpactofpredictivecodingonthecodingshaping delay,nottoprovideageneralanalyticalrelationshipbetweenthetwo.insection4.1.2we statedthatusuallythedimensionofi-framesisfrom2to4timesthedimensionofp-frames; theslowertheencodedscene,thelargertheratiobetweeni-frameandp-framedimension.in 14IncreasingtheGOPsizealsorenderstheencodedstreammoresensitivetoerrorsandlosses. Therateoftheencodedstreamcanberoughlyexpressedas =FI 78FP
79 wherenisthenumberofpicturespergopandfpisp-framedimension,whichweassume tobeconstantforallthep-frames.equation(24)canberewrittenas BN=FI+(N?1)FP BN=N+?1 NTFI (24) Bymergingthisequationwith(25),thelattercanbewrittenas Tobetterhighlighttheeectofpredictivecodingontherateoftheencoder,wealsoprovide theencoderratewhenonlyintra-framecodingisused: BI=FI T (26) (25) DuetotheapproximationsmadetodevisethisEquation,itdoesnotexactlyreectthereal behavior,butitgivestheavorthatthemoreeectivepredictivecoding(i.e.,theratio),the smallerthetargetrateneededtodeliverthesamevisualquality.also,thelargerthenumber ofp-framespergop(n),thesmallerthetargetrate. BN=BIN+?1 Equation(18)inSection5.1.1givesthecodingshapingdelayasSc=maxseqF=B,where Wenowanalyzetheeectofpredictivecodingatconstantqualityoncodingshapingdelay. N (27) BeingFIconstantwhenthequalityisconstant,thetargetrateoftheencoderBistheonly maxseqfisthemaximumdimensionofframesandbisthetargetrateofthecbrencoder. thevalueofbwithbngivenbyequation(25) factorwhichdeterminesthecodingshapingdelayindierentcongurations.bysubstituting AccordingtoAssumption4,maxseqF=FIandthecodingshapingdelayisexpressedas Sc=NT Sc=FI N+?1 B Themorepredictivecodingiseective(i.e.,),thelargerthecodingshapingdelay.Typical.Inavideoconferencingapplication,itislikelytohave=4;withN=15at15fps, valuesofarebetween2and4;theslowerthemotioninthescene,thelargerthevalueof largerthanthe1msboundessentialforinteraction.similarconsiderationsapplyalsoto Sc=222ms,i.e.,theCBRencoderaloneintroducesinthevideoconferencingsystemadelay theincreaseofn. 79
80 Processed Basic Encoder Output CBR Encoder Output Bits Conclusion2UsingaCBRMPEGencoderwithpredictivecodingtobuildavideoconferencingsystem,reducesthebandwidthrequirement,butitisnotacceptablefromthepointofview (I) T 1 (P) 2T 2 (P) 3T 3 (P) 4T 4 (I) 5T Time Bits (I) 2 (P) 3 (P) 5.2.4StartupShapingDelay oftheend-to-enddelay. Figure57:RealisticBitGeneration. 1 (P) AsshowninFigure57,atypicalMPEGencoderencodesI-frameswithalargeamountofbits T 2T S c 3T S c +T 4T S c +2T 5T Time inasmalltime,withrespecttop-frames.asaconsequence,itisunlikelythatthenatural ratebelowerthanthetargetratewhentheencodingofagopbegins.after,thebuerhas Encoder Buffer Decoder Buffer quantizationstepsizeinordertoincreasethenaturalrate)arevisibleonasmallpercentage thehighestunderowprobabilityisafterthewhenthebuergetsemptyattheendofa GOPwithsmallP-frames.Duringtherestofthetimeabacklogislikelytobepresentin delayisunderdimensioned,theeects(nonuniformqualityduetoasuddendecreaseofthe theencoderbuer,ascanbeseeninfigure56.thus,eventhoughthestartupshaping somebacklogduetothelargeamountofbitsencodingthei-frame. ofthepictures. TheencoderbuercanhappentounderowonlywhenP-framesareparticularlysmall; 8
81 oftheratecontrolfunction.thegopdimensionissetton=15,i.e.,eachi-frameisfollowed valuethatguaranteesthevbvnottobeoverowed,notwithstandingthelowaggressiveness threedierentrates.theratiobetweenthevbvdimensionandtherateiskeptconstanttoa Figures58-61showtheexperimentaldataobtainedbyencodingthefoursamplesequencesat by14p-frames. 5.3ExperimentalData dimensionofi-framesandp-frames.thisisduetothefactthatthecameraispanningover thehockeycourttofollowthegame.picturesaresimple(mostofthescreenisthewhiteice andthedimensionofbothi-framesandp-framesisvariable.especiallyatlowbitratesthe dimensionofi-framesisdoubleormorethandoublethedimensionofp-frames:inorderfor thistobepossiblethecodingshapingdelaymustbelarge. Inthe\hockey"sequenceencodedat16Mb/sthereisalmostnodierencebetweenthe Figure58showsthedimensionofeachpicture.I-framesaretypicallylargerthanP-frames isdecreased;beingitsmall,decreasingitbyoneunithasasignicanteectonthepicture dimension:thesecondp-frameismuchsmallerthantherstone.thiscausesthevbv smallerthanthei-frame.inordertoreducep-framedimensionthequantizationparameter leveltodecrease(figure61)andthequantizationparametertobereducedagaintoavoid thewholeimagesandp-framesdimensionislarge:therstp-frameinthegopisnotmuch asmallquantizationparameter(figure59).sincethecameraispanning,motionconcerns ofthecourt)sothati-framescanbeencodedwithfewbits;thep-framesarequantizedwith fullandemptiesmoreslowly(bottomrightplotinfigure65). underow.thisbehavioriskeptforthewholegopthusleadingtotheoscillationinpframesdimensionandpicturequality(seesnrinfigure6).figure59showstheaveragenceisusuallycharacterizedbylowmotionandpictureshavinglowcomplexity.thus,when whichi-framedimensionincreases(bottomrightplotinfigure62)andthevbvgetsmore arequitesimilartotheoneobtainedwithn=15exceptforthe\tabletennis"sequencein quantizationparametervalueusedoneachframe. compressingthemwithacbrmpegencoderafairlysmallamountofbitscanbesucient Thescenesusedintheseexperimentsarenotvideoconferencingsequences;avideoconfer- Figures62-65showtheexperimentaldataobtainedusingaGOPof3pictures.Theresults toencodei-frameswithgoodquality;whenencodingap-frametheerrorbetweenthemb thatisbeingencodedandthereferencembissmall,andthustheamountofbitsrequiredis lowinordertoemphasizethisbehaviorofacbrmpegencoder,weexploitedtoencodea applicationif,forexample,thecameraispointedatawhiteboardwhilesomebodyisexplaining itscontent.weobtainedtwostaticscenesbyrepeating12timesthesameimageofthe staticscene.thisisanextremecaseofslowmovingscenebutislikelyforavideoconferencing \cheerleaders"and\hockey"scenes,respectively. Figure66showsthedimensionofframesforvarioustargetratesandVBVdimensions. 81
82 Cheerleaders Hockey Picture dimension (Kb) Picture dimension (Kb) Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb 16 Mb/s - Buff 9.6 Mb Bikes Table Tennis Picture dimension (Kb) Figure58:DimensionofPicturesinCBRMPEGEncodingwithN= number number Picture dimension (Kb)
83 Average Quantization Parameter Average Quantization Parameter Cheerleaders Average Quantization Parameter Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 8 Figure59:AverageQuantizationParameterinCBRMPEGEncodingwithN= Average Quantization Parameter Hockey
84 5 Cheerleaders 5 Hockey SNR (db) 4 35 SNR (db) SNR (db) Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 3 5 Figure6:SNRinCBRMPEGEncodingwithN= SNR (db)
85 35 Cheerleaders 35 Hockey 3 3 VBV Fullness (%) VBV Fullness (%) VBV Fullness (%) Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 35 Figure61:VBVFullnessinCBRMPEGEncodingwithN= VBV Fullness (%)
86 Picture dimension (Kb) Picture dimension (Kb) Cheerleaders Picture dimension (Kb) Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 16 Figure62:DimensionofPicturesinCBRMPEGEncodingwithN= number number Picture dimension (Kb) Hockey
87 Average Quantization Parameter Average Quantization Parameter Cheerleaders Average Quantization Parameter Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 8 Figure63:AverageQuantizationParameterinCBRMPEGEncodingwithN= Average Quantization Parameter Hockey
88 5 Cheerleaders 5 Hockey SNR (db) 4 35 SNR (db) SNR (db) Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 3 5 Figure64:SNRinCBRMPEGEncodingwithN= SNR (db)
89 VBV Fullness (%) VBV Fullness (%) Cheerleaders VBV Fullness (%) Hockey Mb/s - Buff 2.4 Mb 8 Mb/s - Buff 4.8 Mb Bikes 16 Mb/s - Buff 9.6 Mb Table Tennis 7 Figure65:VBVFullnessinCBRMPEGEncodingwithN= VBV Fullness (%)
90 25 Cheerleaders - VBV 1.6 Mb 25 Hockey - VBV 1.6 Mb Picture dimension (Kb) Picture dimension (Kb) Mb/s 8 Mb/s Cheerleaders - 16 Mb/s 16 Mb/s Hockey - 16 Mb/s Picture dimension (Kb) Picture dimension (Kb) Picture dimension (Kb) VBV 1.6 Mb VBV 3.2 Mb VBV 6.4 Mb 4 Mb/s - VBV 1.6 Mb 8 Mb/s - VBV 3.2 Mb Figure66:DimensionofPicturesinCBRMPEGEncodingofaStaticScene Cheerleaders 16 Mb/s - VBV 6.4 Mb Hockey number number Picture dimension (Kb)
91 spondingnonstaticsceneisencodedatthesametargetrate.p-framesaresmallbecausethey mustonlyencodethedierencebetweentheirreferencepictureandtherawpicturethatis duetothequantization.thus,thesnrdeliveredbyp-framesishigh,asshowninfigure68. InanyplottheratiobetweenI-frameandP-framedimensionislargerthanwhenthecorre- parameterhastheminimumallowedvalueandcannotbefurtherreduced(seefigure67). dimensions(secondrow,rstcolumninfigure66)showsthatthelargeristhevbvdimension, allowalargeramountofbitstobeproduced,i-framesdonotgrowbecausethequantization thelargestarethei-frames.thisdoesnotholdforthe\hockey"scene(secondrow,second column)because,beingthepictureslessdetailed,eventhoughtheratecontrolfunctionwould Theplotobtainedbyencodingthe\cheerleaders"sceneat16Mb/swithvariousVBV thefullnesslevelisoftheorderofthe2%.nevertheless,whendealingwithreal-time inadvance.ifthevideoconferencingsystemmustbeabletodeliveragoodquality,especially encoding(suchasinvideoconferencingapplications),thescenetobeencodedisnotknown whenthecameraisstaticallysetonsomeimage,thevbvmustbelargeenoughtoallow I-framestogrowandcapturethedetailsoftheimage15(e.g.,secondrow,rstcolumnin Figure69).Whenpicturesarenotdetailed(e.g.,secondrow,secondcolumninFigure69)or Figure69showsthatinmanycasestheVBVis(almost)completelylled,whileinothers themotionishigher(figure61)onlyafractionofthevbvislled.inanycase,thecoding shapingdelayislargebecauseitmustbesetaccordingtothevbvdimensioninorderto 5.4DedicatedLinkbetweenSenderandReceiver guaranteecontinuousplaying. Forthesakeofcompletenessofthisstudy,thesystemcongurationinwhichsenderand receiverareconnectedthroughadedicatedlink(figure7)istakenintoaccount.havingthe advantages.onlyafractionofthelinkcapacity,correspondingtothetargetratebofthe encoderisactuallyexploitedandthecodingshapingdelayprovidesasignicantcontribution totheend-to-enddelay. wholelinkcapacityatdisposalforsendingthecbrmpegstreamdoesnotprovideparticular systemexploitingcbrmpegencoding. theend-to-enddelayofthesystemis lay.thisrepresentalowerboundintheend-to-enddelayobtainablefromavideoconferencing wheredisthedecodingdelay,scisthecodingshapingdelay,andssisthestartupshapingde- GiventhepropagationdelayP,whichdependsonthedistancebetweensenderandreceiver, 15Notethatasthesceneisnotmoving,thehumaneyeismoresensitivetoerrors. Ded CBR=Sc+Ss+P+D+Pd (28) 91
92 Cheerleaders - VBV 1.6 Mb Hockey - VBV 1.6 Mb Average Quantization Parameter Average Quantization Parameter Mb/s 8 Mb/s Cheerleaders - 16 Mb/s 16 Mb/s Hockey - 16 Mb/s Average Quantization Parameter Average Quantization Parameter VBV 1.6 Mb VBV 3.2 Mb VBV 6.4 Mb 4 Mb/s - VBV 1.6 Mb 8 Mb/s - VBV 3.2 Mb Figure67:AverageQuantizationParameterinCBRMPEGEncodingofaStaticScene Cheerleaders 16 Mb/s - VBV 6.4 Mb Hockey Average Quantization Parameter Average Quantization Parameter
93 Cheerleaders - VBV 1.6 Mb Hockey - VBV 1.6 Mb 5 5 SNR (db) 45 4 SNR (db) Mb/s 8 Mb/s Cheerleaders - 16 Mb/s 16 Mb/s Hockey - 16 Mb/s 5 5 SNR (db) 45 4 SNR (db) SNR (db) VBV 1.6 Mb VBV 3.2 Mb VBV 6.4 Mb 4 Mb/s - VBV 1.6 Mb 8 Mb/s - VBV 3.2 Mb Figure68:SNRinCBRMPEGEncodingofaStaticScene Cheerleaders 16 Mb/s - VBV 6.4 Mb Hockey SNR (db)
94 VBV Fullness (%) VBV Fullness (%) VBV Fullness (%) Cheerleaders - VBV 1.6 Mb VBV Fullness (%) Mb/s 8 Mb/s 16 Mb/s Cheerleaders - 16 Mb/s VBV Fullness (%) Hockey - VBV 1.6 Mb Hockey - 16 Mb/s VBV 1.6 Mb VBV 3.2 Mb VBV 6.4 Mb 4 Mb/s - VBV 1.6 Mb 8 Mb/s - VBV 3.2 Mb Figure69:VBVFullnessinCBRMPEGEncodingofaStaticScene Cheerleaders 16 Mb/s Mb Hockey VBV Fullness (%)
95 Figure7:ArchitectureofaVideoconferencingSystemExploitingaCBRMPEGEncoder Figure71:ArchitectureofaVideoconferencingSystemExploitingaCBRMPEGEncoder andadedicatedlinkbetweensenderandreceiver. Frame Network Network Encoder Decoder Grabber Interface Interface Adaptor rateoftheencoder.thecontributionofthenetworktotheend-to-enddelayistheswitching MPEGencoderisusedtobuildavideoconferencingsystem(Figure71),themosteectiveway toconnectsenderandreceiveristhroughacircuitthathasabandwidthequaltothetarget CBRMPEGencodingissuitedfortransmissionovercircuitswitchednetworks:whenaCBR andacircuitswitchednetwork. Frame Encoder receiver.theend-to-enddelayofthesystemis 5.5CircuitSwitching delayswandthepropagationdelaypwhichdependsonthedistancebetweensenderand Decoder Interface Network Grabber Interface Adaptor systemexploitingcbrmpegencoding. wheredisthedecodingdelay,scisthecodingshapingdelay,andssisthestartupshaping representsaswellalowerboundintheend-to-enddelayobtainablefromavideoconferencing receiver:theonlyfurthercontributionistheswitchingdelay.thus,itcanbesaidthatit delay.thisdelayalmostequalstheoneobtainedwithadedicatedlinkbetweensenderand CS CBR=Sc+Ss+Sw+P+D+Pd (29) 5.6PacketSwitchingwithTimeDrivenPriority CBRMPEGencodingisbestsuitedfortransmissionovercircuitswitchednetworks.Nevertheless,inthefollowingtwoSectionsweconsidertheend-to-enddelayobtainedwhenCBR encodedvideoissentthroughapacketswitchednetwork.inthissection,timedrivenpriority senderandreceiverisanalyzedrst;then,theend-to-enddelayisconsidered. isconsideredtobeexploitedinthenetwork.thenetworkshapingdelayintroducedinthe 95
96 Frame Grabber Video Adaptor Encoder Decoder Packetization Packetization Figure72:ArchitectureofaVideoconferencingSystemExploitingaCBRMPEGEncoder andapacketswitchednetworkwithtimedrivenpriority NetworkShapingDelay Whentimedrivenpriorityisusedinthenetwork,thetimecycleissettoTc,thevideoframe period,andbtcbitsmustbereservedineachtimecycle.thebitsexitingthecbrmpeg encoderarebueredinthebuerofthepacketizationfunctiondepictedinfigure72,untilthey canbeincludedinapacket.eachbitexperiencesadierentdelay,butduetorequirement3 ofcontinuousplaying,anetworkresynchronizationdelaymustbeintroducedonthereceiver sidesothateachbitexperiencesthesamewholedelayspack nwhichiscalledthepacketization componentofthenetworkshapingdelay. Thepacketizationfunctiononthereceiversideintroducesthenetworkresynchronization delay;thepacketizationfunctionknowsthedelayexperiencedinthebuerofthesender packetizationfunctionbythebitsofeachreceivedpacketandcancompensateit.thecompensationisdonebybueringthebitsandprovidingtothedecoderabitowattheconstant rateb.ifthetfsreservedtothevideoconferencecallareevenlydistributedinthetime cycle,nonetworkresynchronizationisrequired. ThedimensionofthebuerofbothpacketizationfunctionsmustbeatleastBSPack n. PPack nisthemaximumtimeabitspendsinthesenderbuerbeforebeingretrievedand insertedinapacket;thebuer,whichislledatconstantrateb,doesnotoverowifit canstorethebspack nbitsgeneratedbythedecoderinthemeantime.spack nisaswellthe maximumtimespentbyabitinthereceiverbuer;thebuercannotcontainmorethan BSPack nbitsotherwisethelastonewouldtakemorethanspack ntoexitattheconstantrate B.TheactualvalueofSPack ndependsonhowthetfshavebeenreservedwithinthetime cycleforthevideoconference;thus,itisxedatresourcereservationtimeandisconstant overthewholevideoconferencecall(oruntilthebandwidthisreallocated).if,forexample, asingletfisreserved,spack n=tcbecausetherstbitexitingthecbrencoderaftera packethasbeenassembledandsenthastowaitawholetimecyclebeforebeinginsertedina packet.intuitively,thesmallerandthemoreuniformlydistributedinsidethetimecycleare thepackets,theshorterthenetworkshapingdelayspack n. Exploitationofsmallanduniformlydistributedpacketsisencouragedalsobyotherarguments.InSection4.3.5ithasbeenshownthat,ifthedecoderstartsdecodingassoonassome ofthebitsencodingapictureenteritsbuer,thedecodingtimeisreducedbyusingsmall packets.in[14]isshownthatreservingasmallamountofbitsinmanytfsisconvenient 96
97 provideslowerblockingprobability.usingsmallpacketshasafurtheradvantagewhentime drivenpriorityisexploitedinthetransmissionofcbrmpegencodedvideo. alsofromthepointofviewofthenetworkbecausebalancingtheloadalongthetimecycle encodingasinglepicture.thenetworkshapingdelaycanbeminimizedifthetfsarereserved streamiscomposedofpacketshavingxeddimensionof188bytes;eachpacketcontainsbits ordertomakemorerobustitstransmissionoverpacketswitchednetworks.thetransport producedbyacbrmpegencoderbestructuredasatransportstream(seesectionb.5)in sothatassoonasanmpegpacketisproduced,areservedtfisscheduledandthepacketis MPEGstreammustbetakenintoaccount.TheMPEGstandardspeciesthatthebitstream Toidentifytheschedulethatminimizesthenetworkshapingdelay,thestructureofthe sent16.thisrequirestoreserve188bytesintfsequallyspacedby(1888)=bandhavethe encodersynchronizedwiththenetworkinterfacesothatthelastbitofeachmpegpacketis emittedjustbeforeareservedtfisscheduled17.iftheencoderisnotsynchronizedwiththe networkinterface,thereisanapplicationsynchronizationcomponentofthenetworkshaping delaysas components,i.e., Inthegeneralcase,thenetworkshapingdelayisgivenbythecompositionofthetwo n2[;(1888)=b] ExcessResynchronizationDelay ofthereceiver. anditisexperiencedpartlyinthesenderandpartlyinthenetworkresynchronizationfunction Sn=SAS n+spack Inwhathasbeendiscussedsofar,thenetworkresynchronizationdelayisassumedtobe n introducedbyanadhocfunctionwhichcanbeimplemented,forexample,inthesoftware layersbelowtheapplication.nevertheless,itcanalsobeintroducedinthedecoderbuer; mustbeenlarged.ifthedecoderissynchronizedwiththenetworkinterface,thebuermust bueringisnotrequiredinthereceiversoftwarebelowthedecoder18andthedecoderbuer end-to-enddelaybecauseitisalreadytakenintoaccountbythecodingshapingdelay:thebitswouldbe untilallthe188byteshavebeensentoutoftheencoder.however,thistimedoesnotcontributetothe onlyvariablecomponentofthenetworkdelay. isexploitedinthenetwork,thepacketizationcomponentofthenetworkshapingdelayisthe beenlargedby,atleast,bspack 17Actually,eveninthissituation,thebitsofeachpackethastobebueredinthepacketizationfunction 16BreakinganMPEGpacketandsendingitduringtwoTFsdecreasesrobustnesstolossesanderrors. n.thisstemsfromthefactthatwhentimedrivenpriority anywaykeptinthedecoderbuertointroducetheprocessingresynchronizationdelay.theonlyimpacton theend-to-enddelayisapossibleincreaseofthedecodingtimeifthedecoderhasanaccessunitsmallerthan thempegpacket. notrelevanttothiswork. 18Actually,abuerisneededonlytobuereachincomingpacketwhiletheheaderisprocessed,butthisis 97
98 andthedecoderbuermustbeenlargedby,atleast,bspack partlyinthesenderpacketizationfunction,partlyinthedecoderbuerisactuallyspack accordingly19.iftheassumptionistrue,thenetworkshapingdelayexperiencedbyeachbit thebitshaveexperiencedtheminimumdelayandthedecodingofpicturesmustbedelayed receivedthedecoderdoesnotknowhowmuchtimethebitshavespentinthebuerof thesenderpacketizationfunction.thus,thedecoderusestheconservativeassumptionthat Ifthedecoderisnotsynchronizedwiththenetworkinterface,whentherstpacketis true,aexcessresynchronizationdelayerisintroduced,i.e.,bitsarebueredlongerthan receivedpackethasalreadyexperiencedadelayspack totheexcessbueringtimeer.inthefollowing,themaximumvalueoferandtheminimum necessary;thedecoderbuermustbedimensionedaccordinglysothatitdoesn'toverowdue dimensionofthebuerarecalculated. Thelargestexcessresynchronizationdelayisintroducedwhentherstbitintherst n.iftheassumptionisnot n function.thedecodershouldnotintroduceanynetworkresynchronizationdelay;insteadthe buer,itisnecessarytocomputetheminimumdelayexperiencedinthesenderpacketization decodingisdelayedbecauseitisassumedthatthebitsexperiencedminimumdelayinthe packetizationfunction.inordertocalculatethetimespentbytherstpacketinthedecoder Bitsexperienceminimumdelayduetopacketization,ifapacketofdimensionPfissentas ninthebuerofthesenderpacketization whentherstbitwasproducedbythecbrencoder,thenetworkresynchronizationdelayexperiencedinthedecoderbuer(whichisalsotheupperboundontheexcessresynchronization delayer)is soonasthecbrencoderemitsthebitnumberpf.inthiscase,therstbitinthepackethad beeninthebuerofthesenderpacketizationfunctionforthetimethecbrencodertakes n?pf B nfrom toproducepfbits,i.e.,pf=b.sincedecodingoftherstpacketmuststartafterspack where andexcessresynchronizationdelayisthusgivenby Theoveralltimespentbybitsinthedecoderbuerduetonetworkresynchronizationdelay n+er (3) networks. resynchronizationdelaytocompensatethevariationofthequeueingdelayinasynchronouspacketswitched 19AsexplainedinSection3.4.1,thereplaybuershowsthesamebehaviorwhenintroducingthenetwork Er2;SPack n?pf B 98
99 itmustbeenlargedby thenetworkresynchronizationdelayandberobustagainsttheexcessresynchronizationdelay, Thedecoderbuermustbeoversizedaccordingtotheworstcase,i.e.,inordertointroduce call.thus,spack decoderdoesnotknowtheactualvalueofspack TheactualvalueofSPack n2[;tc]dependsonthetfsreservedforthevideoconference 2SPack casespack withamechanismtocommunicateittothedecoder.ifsuchamechanismisnotavailable,the n=tc;i.e.,decodingisstartedafter nisknownatreservationtimebythenetworkinterface;thiscanbeprovided n?pf nanddelaysdecodingaccordingtotheworst BB excessdelayisintroducedwhenthebitsintherstpackethasexperiencedminimumdelay fromthereceptionoftherstpacket.iftheactualpacketizationcomponentofthenetwork excessresynchronizationdelay.inparticular(31)isthemaximumervalue;theminimum shapingdelayisnull(becausetfshadbeenallocatedoptimally)andtherstpackethas experiencedspack ninthesender,itisunusefultodelaydecodingby(31),i.e.,thisvalueisthe Tc?Pf B anddecodingshouldbedelayedby(3): Thedecoderbuermustthusbeenlargedby Er2Tc?SPack SPack n+tc?pf n;tc?pf BBB tothenetworkinterface(i.e.,itdoesnothaveinformationaboutthescheduleofthereserved TFsandtheTFinwhicheachpacketisreceived),theexcessresynchronizationdelayislarger. eliminatestheneedforanadhocbuer.nevertheless,ifthedecoderisnottightlyconnected 5.6.3End-to-endDelay Thisshowsthatnetworkresynchronizationcanbeperformedinsidethedecoder;this where Thegeneralexpressionfortheend-to-enddelayis TDP?SH CBR=Sc+Ss+LTf+Sn+Er+D+Pd 99 (32)
100 Scisthecodingshapingdelayintroducedbytheencoder/decodersystemtoproduce theencodedstreamattheconstanttargetrate; Ssisthestartupshapingdelayintroducedbytheencodertoavoidtheencoderbuer tooverrunwhenthenaturalrateissmallerthanthetargetrate; LTfisthetimetakenbyapackettotravelthroughthenetworkfromsourcefrom destination,; Sn=SPack n+sas n: {SPack n2[;tc]dependsonthenumber,dimension,andpositionofthetfsreserved tothevideoconferencecallandisconstantoverthedurationofthecall, {SAS n2[;tc]isduetothelackofsynchronizationbetweenencoderandnetwork interface;becauseoftherelativedriftofthetwotimingreferences,thisdelaycan varyinsidethegivenintervalduringthevideoconferencecall; Er2[;Tc?Pf=B]isnotnullwhenthenetworkresynchronizationdelayisintroduced bythedecoderanditisnotsynchronizedwiththenetworkinterface. Ifresourcereservationisoptimal(SPack n=pf=b),theencoderissynchronizedwiththe networkinterface(sas n=),andnetworkresynchronizationisperformedwithinformation fromthenetworkinterface(er=),(32)isverysimilarto(29).thetermssw+pappearing inthelatteraresubstitutedbythetermltfintheformer;allofthesetermsdependon thepropagationdelayandthenumberofnodesonthepathbetweensenderandreceiver. Whenthesenderistopologicallyclosetothereceiver,thecodingshapingdelayScisthemain contributioninbothcs CBRandTDP CBR.Forexample,ifScisaround3Tat3framesper second,andthepropagationdelaypandswitchingdelayswarenegligible,cs CBR'1ms. Ifapacketswitchednetworkwithtimedrivenpriorityisexploitedinthesamescenario,itis likelythatpacketsareforwardedbyonerouter,i.e.,l=3.moreover,ifsmallpacketsare used(pf=188bytes)andtherateofthecbrencoderis1.5mb/s, TDP CBR=CS CBR+SPack n+3tf'1+1+:375'cs CBR Thus,theshortdistancetransmissionofCBRMPEGvideooverapacketswitchednetwork withtimedrivenpriorityyieldsalmostthesameend-to-enddelayasthetransmissionovera circuitswitchednetwork. Ifsenderandreceiverarenotclose(i.e.,thepropagationdelayisnotnegligible),the dierencebetweentdp CBRandCS CBRdependsonthespeedandthenumberofintermediate nodesonthepath.thefasterthepacketswitches,thesmallerthedierence. AsuboptimalscheduleoftheTFsreservedforthevideoconferencecallincreasestheendto-enddelay;nevertheless,suboptimalschedulescanbeacceptedinordertoreducetheprobabilitythatcallsbeblocked. 1
101 Figure73:MPEGEncoderandPacketizationFunction. Encoder Buffer Packetization Depacketization Decoder Base Encoder Network betweensenderandreceiveristakenintoaccount. areconnectedbyadirectlinkisrstconsidered.then,amulti-hoppacketswitchednetwork theissuesrelatedtopacketization,inthissectionacongurationinwhichsenderandreceiver besegmentedinpacketsandthenreconstructedinthereceiver.inordertobetterfocuson 5.7AsynchronousPacketSwitching TransmissionofaCBRMPEGstreamoverapacketswitchednetworkrequiresthestreamto Control 5.7.1Single-HopPacketNetwork Encoder WiththesystemcongurationdepictedinFigure73,senderandreceiverareconnected throughadirectdedicatedlinkonwhichtheysenddatainpackets,asshownbythepacketizationfunctioninfigure73.thiscongurationisnotnecessarilyusedinrealapplications, Assumption5Transmissionofapacketcannotstartuntilallthebitsthataretobeputin butallowsustofocusonthedelayduetopacketization. packetizationfunction.givenapacketsizeps,whenthebuercontainspsbitsitisemptied inthesystem.thebitsproducedbytheencoderarestoredinthebuerofthesender payload.nevertheless,duetothisassumptionthepacketizationfunctionintroducesadelay headerofthepacketachecksequencethatcanbecalculatedonlyfromthewholepacket itspayloadhasbeenproducedbytheencoder. (asshowninfigure74)andapacketissentoverthenetwork. ThisAssumptionconformswithrealitysincemanyexistingprotocolsneedtoinsertinthe thestructureofthempegtransportstreamsothatasinglempegpacketisnotsentinto twopackets.moreover,weassumethatapacketissenteachtimethelastbitencodinga rateoftheencoderandtokenbucketsizea=ps.packetsizemustbechosenaccordingto senderatregularintervalsps=b,asshowninfigure74.thegeneratedtrachasthesame characteristicsofdataexitingaleakybucketwithtokengenerationratebequaltothetarget pictureexitstheencoder,independentlyfromitsdimension: SincebitsareproducedbytheCBRMPEGencoderatconstantrateB,packetsleavethe 11
102 Figure74:FullnessoftheBuerofthePacketizationFunction. Bits P s Time 2 P P s 3 s B B B Encoder Output Transmission Assumption6Apacketcontainsbitsencodingonlyonepicture. Thus,therealbehaviorofthepacketizationbuercanbedierentfromtheonedepictedin Figure74,butthebasicprinciplesdiscussedinthisSectionstillhold. Figure75:GenerationandTransmissionofBits;FullnessLeveloftheDecoderBuer. sender.eachbitofapacketexperiencesadierentdelayfromwhenitisgeneratedbythe P s C NoBueringintheDepacketizationFunctionWerstassumethatpacketsgetdi- CBRencodertowhentheyitisputonthelink. AsshownbyFigure75,packetsaresentatthefullspeedCofthelinkconnectedtothe T 2T 3T Time rectlytothedecoderbueruponarrivalatthereceiver,asshownbyfigure76;thedepacke- 12
103 Decoder Buffer Fullness Bits (I) tizationfunctionhastheonlytaskofstrippingothepacketheader2. P s C 1 (P) togetherwhendecodingstarts.accordingtoassumption6,thelastbitofapictureisthe interestedinthedelayexperiencedbythewholepicture.thesystemtargetdecoderspecied bythempegstandard,thebitsencodingapictureareremovedfromthedecoderbuerall Figure76:FullnessLeveloftheDecoderBuer. P 2 (P) P lastbitinapacket;intheworstcaseatimeps=celapsesfromwhenthislastbitexitsthe s B CBRMPEGencodertowhenitentersthedecoderbuer.Thus,decodingisdelayedbythe packetizationdelaydpthatisthetransmissiondelayofapacket,i.e.: Eachbitofapacketexperiencesadierentdelayduetopacketization;neverthelessweare s T S c +D p 2T S c +D p +T 3T Time buermustnotbeoversized.consideringalsothedelayintroducedbytheencoder/decoder system(sc,ss,andd)andthepropagationdelay,theend-to-enddelayisgivenby Maximumdimensionpacketsexperiencethepacketizationdelayentirelyinthesenderpacketizationfunction;packetsofdimensionP<Psspend(Ps?P)=Cinthedecoderbuer.Since Dp=Ps nofurtherdataarriveduringthistimeandafteritthewholepictureisretrieved,thedecoder ordertopossiblychecktheerrorcontrolcode.thisisnotrelevanttowhatisexplainedinthefollowing:it meansthatfigure76shouldbemodiedbyhavingeachpacketenterthedecoderbuerallatonce. 2Thisassumptionisnotrealisticasthepacketizationfunctionusuallyneedstobuerthewholepacketin Thepacketsizeshallbechosenassmallaspossible(possiblyequaltothedimensionof Async CBR=Sc+Ss+Dp+P+D+Pd (34) 13 C (33)
104 Encoder Output Transmission Figure77:GenerationandTransmissionofBitsandOutputoftheReceiverPacketization Decoder Input Function. MPEGpackets)inordertodecreasethepacketizationdelayandpossiblythedecodingtime ifthedecoderprocessesbitsassoonastheyenteritsbuer. P s B bitsarefeededtothedecoderonlyafterthewholepackethasbeenreceived.thus,bits bueringincomingpacketsandfeedingthedecoderbuerattheconstantrateb.received functioninthereceiverreconstructsthecbrmpegstream,asshowninfigure77,by BueringintheDepacketizationFunctionWeassumenowthatthedepacketization P P s s T 2T 3T Time exitingthecbrmpegencoderarebueredinthebuerofthepacketization(sender)and B C onegivenbyequation(33).thus,ifthedepacketizationfunctionreconstructsacbrmpeg depacketization(receiver)functionsforanoveralltime isdroppedandthelastbitofapicturemustnotbethelastofthepacketinwhichitis stream,theend-to-enddelayisincreased.theps=bincrementisnecessaryifassumption6 sent.infact,thesenderpacketizationfunctiondelaystherstbitofeachpacketbyps=b,as ThepacketizationdelayintroducedinthissystemcongurationisPs=Blargerthanthe Dp=Ps B+Ps underowswhen,forexample,thelastbitofapicturehappenstobetherstinapacket. showninfigure77;ifdecodingisnotdelayedbythesameamountoftime,thedecoderbuer 14 C (35)
105 Figure78:ArchitectureofaVideoconferencingSystemExploitingaCBRMPEGEncoder delay,thenetworkresynchronizationdelay,andtheexcessresynchronizationdelayertothe andanasynchronouspacketswitchednetwork. end-to-enddelaygivenbyequation(34): 5.7.2Multi-HopConguration Figure78showsthearchitectureofavideoconferencingsystemthatexploitsaCBRMPEG encoderandanasynchronouspacketswitchednetwork.thiscongurationaddsthequeueing Async Frame Encoder CBR=Sc+Ss+Dp+P+QM+Er+D+Pd Packetization Packetization Decoder (36) Grabber Adaptor wherepisthepropagationdelayonthelinksonthepathfromsourcetodestination,qm excessresynchronizationdelayintroducedbythereplaybuer(beingitinthepacketization isthemaximumqueueingdelayexperiencedbypacketsinthenetwork,er2[;q]isthe functionorinthedecoder)duetolackofsynchronizationbetweensenderandreceivernetwork delaydpisgivenbyequation(33)orequation(35)dependingonthebehaviorofthedepacketizationfunction(seesection5.7.1). dimensionofthereplaybuermustbe,atleast, Thisexpressionprovidesalsotheincrementrequiredinthedimensionofthedecoderbuer incaseitisusedtocompensatethenetworkdelayvariation. SincebitsareproducedattheconstantrateBandpacketsaresentatconstantpace,the interfaces(seesection3.4.1),qisthevariationofthequeueingdelay.thepacketization Thepacketizationfunctioncanimpactthestartupshapingdelay.Inmanypracticalcases 5.7.3PacketizationandStartupShapingDelay 2QB canbesucienttoproduceapacketworthofbits. timeps instantaneouslowbitproductionrate.ifthepacketizationfunctionisincludedintheclosed controlloopoftheencoder,thestartupshapingdelaycanbereducedoreveneliminated.the themeanbitproductionrateishigherthanthetargetrate;thusthestartupshapingdelay isessentialonlywhileencodingtherstmbsofapictureinordertocompensateapossible controlfunctiontakesintoaccountthatbitsarenotremovedfromtheencoderbuerfora B.Thus,eveniftheinitialbitproductionrateislow,theaverageoverthistimeinterval 15
106 RawVideoDed Raw=Fr Dedicated Link C+P+PdCS Raw=Sn+P+Sw+PdTDP Switching Circuit Sn=SAS Raw=Sn+LTf+Pd TimeDriven Priority n+(nr?1)tfpacketswitching Asynchronous Er+PdEr2[;Q] Async?Sh Raw=Fr Raw=Sn+Ps C+P+QM+ VBRMPEGDed VBR=CM+P+D+PdCS VBR=CM+Sw+P+ P+QM+Er+Pd P+Sw+D+Pd CS?TS VBR=CM+SCS n+ TDP?CxSc SSched n+ltf+d+pd VBR?I=CM+SAS SSched n2[;nt]async n2[;t] =CM+ D+PdC+P+QM+Er+ STS Async?TS QM+Er+D+Pd n+ps VBR=CM+Ps CBRMPEGDed D+Pd CBR=Sc+Ss+P+ P+D+Pd CS CBR=Sc+Ss+Sw+ Sn+Er+D+Pd CBR=Sc+Ss+LTf+ Er2[;Tc?Pf=B]Async Table2:SummaryoftheCongurationsConsideredinthisWork. Sn=SPack SPack SAS n2[;tc] n+sas np+qm+er+d+pd CBR=Sc+Ss+Dp+ Dp=Ps B+Ps C 16
107 keeptheend-to-enddelaybelow1ms.thisrequirementcomesfromthehumanhearing 6Summary Inthisworkweanalyzedtheend-to-enddelayofvideoconferencingoverpacketswitched networks.ourkeyndingsaresummarizedintable2.themaindesignobjectiveisto sensitivityfordelayslargerthan1msandtherequirementforlip-synchronization,i.e.,the needfortheaudioandvideotobesynchronized. (ii)networkand(iii)receiver.thecontrolofthebuersizescanhaveadverseconsequences: 1.Decreasingthebuersinsidethenetworkcanincreasethepacketlossinsidethenetwork Controllingthedelayalsorequirestocontroltheamountofbuersusedatthe(i)sender, Thus,whatwefoundandformulated,inthisstudy,aresometradeobetweentheperception qualityduetodelayandthereceivedpicturequalityduetolossandcompression. 2.LimitingtheMPEGencoderbuersizewilllimitthemaximumI-framesizeanddegrade Wefoundinterestingresultssomeofwhicharecounterintuitive.Thisinturnillustrates thecompressedmpegvideoquality. anddegradethequalityofthereceivedvideo. theimportanceofthissortofstudy. 1.Transmissionofrawvideodoesnotnecessarilyprovidetheshorterdelay.Thisisbecause 2.MPEGCBRencodingofaxedsceneintroduceslongdelay.ThisisbecausetheinterframecodingofP-framesrequiresfewbits,andtherefore,asingleI-framecanuseall thecbrcapacityallocatedtothegroupofpicture(gop).asaresult,thei-frame transmissionwilllasttheentiregopperiod. 3.Usingasynchronouspacketswitchingwithstatisticalmultiplexingischallenging.This ofthetransmissiontimeneededforlargenumberofbitsofhighdenitionpictures. 4.Ifthecapturecardandthedisplaybuerareusingthesamereferenceclockthedelay replaybueranddistortionofthevideoviewedbytheuseratthereceiver. largedelay,andsmallreplaybuerwouldresultinoccasionalunderow/overowofthe isbecausethedistributionofthedelayvariationorjitterinsidethenetworkcanbelarge reductionof1msandfor3framespersecondthedelayreductionis33ms. canbedecreasedbyonevideoframeperiod.for1framespersecondthismeansdelay andwithheavytail.thus,conservativedesignwithlargereplaybuerwouldresultin 5.MPEGVBRvideooverasynchronouspacketswitchednetworkrequireshighequivalent capacityoreectivebandwidth,whichcanbetoomuchtobewastedoverwidearea examplemotion-jpeg. links.therefore,insomecaseitmaybebettertouseonlyi-frames,i.e.,tousefor 17
108 end-to-enddelaybelowhumanperception,therearefourrequirements: 1.Thecapture(framegrabber)cardanddisplay(video)adaptershouldhaveacommon 2.Thepicturesshouldbesentrightafterthecompressioniscompletedasavariablebit Inconclusion,MPEG-basedvideoconferencingispossible,however,inordertokeepthe timereferenceclock. havethefollowingpropertiesforvbrmpeg: 1.Boundof25secondsonthejitter. 3.Thenetworkjittershouldbecontrolledwithawelldenedbound. Wealsoshowedthatwithtimedrivenpriorityandcomplexschedulingitispossibleto rate(vbr)stream. 2.Nolossevenifthelinkisfullyutilized. 3.Theend-to-enddelayisdominatedbythepropagationdelayplusL125seconds(L videoframeperiod.ifthesceneisslow,thisdelaycanbeaslargeasthedurationofa encodermustbedeployedwhichintroducesacodingshapingdelaylargerthanthe obtainedoveracircuitswitchednetwork.onacircuitswitchedconnectionacbr groupofpictures. dependsonthenumberofhops).thisdelayisshorterthanthedelaythatcanbe Acknowledgments WethankPrasoonTiwariforprovidinguswiththesoftwareMPEGencoderdvdencand PeterWesterinkforhiskindandusefulhelpinunderstanding,modifying,andoperatingthe encoder. AListofAchronymsandSymbols bmbmacroblocklevelratecontrolfactorofmacroblockmb. BtargetrateforMPEGCBRencoderorrateofcircuitswitchedconnectionsusedtosend Adimensionofthetokenbucketinaleakybucketshaper. CMmaximumcodingdelay. Ccapacityofphysicallinks. rawandencodedvideo. 18
109 CBRConstantBitRate. DCTDiscreteCosineTransform. ^cmb i;jdctcoecient(i;j)ofmbmb. DTidelayexperiencedinthenetworkbyframei i;jquantizeddctcoecient(i;j)ofmbmb. Ddecodingtimeordecoderdelay. DRMmaximumdelayexperiencedinthereplaybuerormaximumtransmissionsynchronizationdelay. DTmminimumdelayexperiencedbyaframeinthenetwork. DRidelayexperiencedinthereplaybuerortransmissionsynchronizationdelayexperienced byvideoframei. DTMmaximumdelayexperiencedbyaframeinthenetwork. ErExcessresynchronizationdelay Fnumberofbitsencodingaframe; Fmlowerboundonpicturedimension, GOPGroupOfPictures. Gglobaldistortionlevelthatischosenonapicturebypicturebasis FPdimensionofaP-frame. FIdimensionofanI-frame, Frnumberofbitsencodingarawpicture, MBMacroBlock. Mnumberofvideoframeperiodsinthetimecycle. Jnnetworkdelayjitter. Nnumberofvideoframesinagroupofpictures. Lnumberoftimeframesneededtotransferapacketfromsendertoreceiverwithtime drivenpriority. 19
110 Nsnumberoftimeframesinwhichbitshavebeenallocatedtosendaraworencodedvideo pmbmblocalactivityfactorofmbmb. NrnumberoftimeframesbetweentherstandthelastTFreservedforthetransmission Ppropagationdelay. ofapicture. framewithtimedrivenpriority. Pssizeofapacket. Qqueueingdelayinthenetwork; qfijpg i;jelement(i;j)ofquantizationmatrixfori-framesorp-frames. QoSQualityOfService. Qmbquantizationparameterofmacroblockmb. QMmaximumqueueingdelay. Qmminimumqueueingdelay, SCS nnetworkshapingdelayduetolackofsynchronizationbetweenapplicationandnetwork Snnetworkshapingdelay. Sccodingshapingdelay. STS nnetworkshapingdelayduetocircuitbandwidth. nnetworkshapingdelayduetotracshapingattheboundariesofasynchronouspacket interface. Swswitchingdelay. Ssstartupshapingdelay; switchednetworks. Tctimecycleduration. Tvideoframeperiod. Smsminimumstartupshapingdelay. TFTimeFrame. 11
111 VBVVideoBuerVerier. Tfdurationofatimeframe. BTheMPEGEncodingStandard Avideosequenceisdigitalizedbyconvertingintodigitalformpictures(orvideoframes)ata VssizeoftheVBV. Vbmaximumbacklogintheencoderbuer. framespersecondintheusand25framespersecondineurope. bitsusedtoencodeeachpixeldeterminesthepictureresolution.picturesaredescribedby threecomponentswhichareeithertheintensityofthered,green,andblue(rgbformat)or theyhadbeencaptured.forexample,goodqualityvideoisdigitalizedanddisplayedat3 xedpace.digitalvideoisreplayedbydisplayingpicturesatthesamexedpaceatwhich theintensityofluminanceandchrominance(yuvformat)ofthepixels. Eachpictureisdividedinpixels;thenumberofpixelsineachpictureandthenumberof broadcasting(e.g.,tvbroadcastingandvideoondemand). (1)storageandsubsequentretrievalanddisplay(e.g.,ondigitalvideodisks),and(2)oneway todigitallyencodeandcompressvideoandrelatedaudiomainlyfortwoapplicationelds: schemeshavebeenproposedwhichexploittheredundancyinside(spatialredundancy)and among(temporalredundancy)picturesinordertoreducethenumberofbitsneededtoencode avideosequence.themovingpicturesexpertgroupcodingstandard[11,25,8]specieshow Thiscodingformatrequiresahugeamountofbitstoencodesequences.Manycompression ferencingpurposes,eventhoughtheencodingalgorithmiscomputationallyintensiveandit ingandexplainingthecharacteristicswhichareparticularlyrelevanttothiswork. andoutputbitratesthroughthesamecodingprinciples. wasnotdesignedforreal-timeoperation.thempegstandardsupportsvariousresolutions ThisAppendixdescribesthebasicprinciplesofMPEGstandardwiththeaimofhighlight- Nevertheless,theMPEGstandardhasbeenproposedforbeingappliedalsoforvideocon- Compressionschemesarebasedonreductionoftemporalandspatialredundancyandquantizationofvaluesusedtocodeimages.Whileredundancyreductionisalosslessprocess, referenceone.thisintroducesstrongdependencyamongpicturesandpicturescodedby dierencecannotbedecodedanddisplayedpriortodecodingthereferenceimage.thisturns Temporalredundancyiseliminatedbycodingthedierencebetweenthepictureanda B.1GeneralPrinciples quantizationdegradesimagequality. 111
112 outtobeaproblemwhentransmittingacodedsequencebecausethelossof(partof)a referencepicturecausesallthereferencingimagestobecorrupted. temporalredundancyiseliminated: TheMPEGstandarddenesthreecategoriesofpicturesaccordingtowhetherspatialor Figure79:BlockDiagramoftheMPEGEncodingAlgorithmforI-Frames. I-frames(Intra-codedframes)arecodedbyeliminatingspatialredundancyonly.Hence Sequence Entropy of Raw DCT Quantization Images Encoding Stream P-frames(Predictive-codedframes)areencodedwithreferencetothepreviousimage. theyaredecodedbythemselves,withoutreferencetoanyotherpicture. Quantizer B-frames(Bidirectionallypredictive-codedframes)arecodedwithreferencetothepreviousandfollowingI-frameorP-frame.Thisallowssimilaritieswithafutureimage (possiblynotpresentwithinapreviouspicture)tobeexploitedtoreducetemporal redundancy.thiscodingyieldsverygoodcompression,butintroducesalargedelay rstimageisintra-codedandthefollowingpicturesinthesamegoparepredictive-coded21. thelowertheframerate,thelargerthedelayintroduced.sinceinthisworkweare becauseab-framecannotbecodeduntilthefuturereferencepicturehasbeencaptured; B.2Intra-codedPictures Whenavideosequenceisencoded,imagesaregatheredinGroupsofPictures(GOPs):the codingisnotexploitedandfurtherexplained. consideringinteractiveapplicationswhichrequirelowdelays,bidirectionalpredictive RawpictureswhicharetobeencodedwiththeMPEGstandardaredigitalizedinformatsimilartoYUV.Eachimageconsistsofaluminancecomponentandtwochrominancecomponents. Theformerhastwiceasmanypixelsasthelattertwocomponents. B.2.1DiscreteCosineTransformation basicstepsofintra-codingarebrieydescribed. Intra-framecodingyieldscompressionbyeliminatingspatialredundancy.InthisSectionthe 21Ingeneral,theGOPcontainsapatternofB-framesinterleavedbyP-frames,e.g.,IBBPBBPBBPBB. 112
113 inthefollowing)areidentied.thediscretecosinetransformation(dct)isperformed independentlyoneachblockandtherepresentationoftheblockinthefrequencydomainis obtained.thedcttakesasinput648-bitintegervaluessx;yrepresentingthevalueofeach pixelintheblockandproduces6412-bitintegersci;jwhicharetherepresentationoftheblock inthefrequencydomain[8]:ci;j=dct(sx;y)i;j;x;y2[;7] Oneachofthethreecomponentsofapicture8x8blocksofpixels(namedsimplyblocks block.theothercoecients,ac-coecients,representtheseparationoflinesineitheror bothdirections.e.g.,c7;isthehighestfrequencyappearingintheverticaldirectionand representstheclosestseparationofverticallinesintheblock.ci;iisproportionaltothe amountofsquaresintheblockbecausetheyarecharacterizedbythesamespatialfrequency inbothdirections.e.g.,thelargerthenumberofisolatedpixels,thehighestthevalueofc7;7. Thec;coecientiscalledDC-coecientandrepresentsthefundamentalcolorinthe compressionasthevaluestobeencodedarenotuniformlydistributed. groupedaccordingtothelevelofdetailintheblock.lowspatialfrequencycoecientscontaintheinformationontheoverallaspectoftheblock;highfrequencycoecientscontain theinformationconcerningthedetailsoftheblock.lowfrequencycoecientsusuallyhave largervaluesthanhighfrequencyones.theencodingstep(seesectionb.2.3)providesbetter Moreover,frequencydomaincoecientscanbecodedwithdierentprecisionaccording TheDCTprovidesenergycompactionbecausetheinformationcontainedinablockis tohowsensitivethehumaneyeistoeachofthem.lowfrequencyonesaremoreimportant indeterminingtheperceivedqualityofanimage,i.e.,theymustbeencodedwithminimal B.2.2Quantization EachDCTcoecientisquantizedwithadierentquantizerbecauseeachoneofthemweighs quality,andthustheycanbeencodedwithlessaccuracyandhighercompressionratio(coarser informationloss(nequantization).highfrequencycomponentsarelesscriticalfortheimage elementsoftheblockbythecorrespondingelementofthequantizationmatrix.thus,the higheristhevalueofquantizationelements,thecoarseristhequantization,i.e.,thegreater gerscalledquantizationmatrix.eachelementofthematrixindicatestheaggressivenessof quantizationonthecorrespondingdctcoecient:quantizationisperformedbydividingthe dierentlyontheimagequality.thequantizationisdrivenbyan8x8matrixof8-bitinte- isincludedatthebeginningofthempegvideostream. istheyieldedcompression.theresultofthisstepisa1-bitintegervalue[8]. Thequantizationmatrixischosenaccordingtothenatureofthescenetobeencodedand 113
114 c, c Thisstepproducesacompressedstreamofbitsthroughtwosubsteps[7,27]: B.2.3EntropyEncoding 1.Run-length.Thecoecientsobtainedbythequantizationarerun-lengthencodedwith Figure8:EncodingOrderforQuantizedDCTCoecients. asequenceofcouplesofsymbols: therstsymbol,isdividedintwoparts:,7 c 7, c Asaconsequence,foreachnon-zerocoecientanumberofbitsbetween8to18isused. thesecondsymbolisthecoecientvalueexpressedonsizebits;thevaluezero doesnothavetobecodedasitisrun-lengthencoded. (b)size(4bits)isthenumberofbits(betweenand1)usedtoencodethevalue (a)run-length(4bits)representsthenumberofcoecientswithvaluezero, ofthenextnonzerocoecient; 7,7 TheDC-coecientc;isencodedusingapredictivecodingtechnique,i.e.,thedierence oneisencoded.asthetwoquantizedcoecientsarebothrepresentedon1bits,the betweenthevalueofthedc-coecientofthecurrentblockandtheoneoftheprevious resultisencodedonamaximumof11bits. 2.Humanencoding.Theintermediatesymbolsequenceproducedbytherun-lengthencoderistransformedbyreplacingtherstsymbolineachcoupleofsymbolswitha similarbigvalues,whilehighfrequencyoneshavesmallervalues;theprobabilityofzero togetherallowsrun-lengthencodingtodeliverbettercompression. valuedcoecientsishigheramongthehighfrequencyonesandhavingthemgrouped beingconsideredinincreasingfrequencyorder.lowfrequencycoecientstypicallyhave TheAC-coecientsareencodedaccordingtothezig-zagordershowninFigure1,thus 114
115 ApplicationoftheMPEGencodingschemeoftenrequirespicturedimensiontobecontrolled: AsshowninSection4.1(seeFigure2)dimensionofencodedpicturesishighlyvariable. B.2.4ControllingI-frameDimension variablelengthcodeobtainedfromahumantablethathasbeenspeciedforeach e.g.,cbrmpegencoding(section5)andtransmissionofvbrmpegencodingthrough componentofthepicture. whenintra-codingapicture(i-framedimension)dependsonthefollowingfactors: packetswitchednetworkswithtimedrivenprioritysection4.3).thenumberofbitsobtained Resolutionofthedigitalizedimage:itisdenedforeachconferenceanditisnotusually Contentofthedigitalizedimage:iftheimagehasfewdetails,manyhighfrequencyDCT Quantizer:thehigherthequantizationstepsize,thesmallerthevaluesofthequantized changedontheyduringthesession. Varianceoftherstsymbolsproducedbyrun-lengthencoding:Humanencodingisas coecientshavesmallvalues.quantizationreducessmallvaluestozeroandrun-length encodingdelivershighcompression. Amongtheforegoingfactors,onlythequantizercanbechangedonpurposeanddynamicallytocontrolthecompressionratioandhenceI-framedimension.Thequantizationstepsize quantizationisregulatedseparatelyforeachcoecientinablock,thusallowinganetuning overawiderangeofcompressionratios(andimagequalities). ofzerovaluesyieldevenhighercompressionthankstorun-lengthencoding. symbolhasahighoccurrenceprobability. moreeectiveasthenumberofdierentrstsymbolsinthesequenceislowandeach coecients.smallerquantizedvaluesarehumanencodedwithfewerbits;sequences thatallowstheintendednumberofbitstobeproduced,whilekeepingimagequalityuniform. canbepossiblymodiedonablockbyblockbasis.sinceaquantizationmatrixisexploited, ofiterationstheintendeddimensionisobtainedforthei-frame. Theproblemissometimesaddressedwithreiterativeapproachesthatquantizeapicturemore thecoecientsarere-quantizedwithacoarser(ner)stepandre-encoded.afteranumber Ateachiterationthepictureisencoded;iftheyieldedamountofbitsistoobig(small),all thanoncewithdierentquantizersinordertoidentifythemostsuitablequantizationstepsize. OneofthemostdebatedtopicsincontrollingI-framesdimensionisthechoiceofaquantizer bitsthataregoingtobeproducedbycompressingani-framewithouthavingtoperformthe codingprocessuptotheend. beingsuitedtoreal-timeencoding.someheuristicscanbeusedtopredicttheamountof Thisapproachiscomputationallyhardanditdoesnotboundtheencodingtime,thusnot 115
116 1.TheDCTisperformedonthewholepicturebeforestartingquantizingandencoding 2.Duringquantizationsomeverysimpleandcomputationallylightalgorithmisrunin thecoecients.byaswiftanalysisoftheyieldedcoecientsthecompressionfactor providedbyhumanencodingcanberoughlyestimatedandasensiblequantization ordertogetanestimateoftheamountofbitsexpectedasoutcomeoftheencoding stepsizecanbechosen. 3.BlocksaregroupedinsetsandanequalshareofthetargetI-framedimensionisassigned toeachset.afteralltheblocksinasethavebeenprocessed,theyieldednumberofbits systemhasmorethanoneprocessor,morethanonequantizationprocesses,eachwith dierentstepsize,canberuninparallel. withalargerquantizationstepsizebeforeencodingtheoutcomeofquantization.ifthe step.ifthei-frameisexpectedtogrowtoolarge,thecoecientsarequantizedagain whoseblocksareencodedwithasmallamountofbits;morecomplexpartsarecharacterizedbyblocksrequiringahugeamountofbits.duetothepseudo-randomorder iscomparedagainsttheassignedshare.ifitissignicantlygrater(smaller)thanthe Blockgroupingmustbepseudo-randombecauseanimagecanhaveverysimpleparts withwhichblocksareencoded,theimagesendingcannotstartbeforethewholepicture hasbeenencoded. target,thecoecientsarere-quantizedwithalarger(smaller)quantizerandre-encoded. B.3Predictive-codedPictures Constraintsmustbeimposedonthevariabilityofthequantizationstepsizewithineachimage inordertopreventnon-uniformquality. Predictive-codingreducesbothspatialandtemporalredundancy.Picturesareencodedby Theproposedheuristicscanbeusedsingularlyorincompositiontogetbetterresults. thersttwoallowtemporalredundancytobereducedbeforegoingthroughtheverystepsof referencepictureinthefollowing.thissectiondescribesthebasicstepsofpredictive-coding; intra-coding. B.3.1MotionEstimation referencetothepreviousone(havingitbeenintra-orpredictive-coded)whichiscalledthe thetwochrominancecomponents).thereferencepictureissearchedforamb\similar"to (MBs)whichconsistof6correspondingblocks(4ontheluminancecomponentandoneon composedof4blocks;oneblockoneachofthechrominancecomponentscorrespondstothe 16x16-pixelsquareontheluminancecomponent.Motionestimationoperatesonmacroblocks Ontheluminancecomponentofthedigitalimage,16x16-pixelsquaresareidentied,each 116
117 theonebeingencoded;thepossiblyfoundmbiscalledapredictor.thedierencebetween thegivenmbandthepredictorisencodedasarepresentationoftheformer. theareaofthereferencepicturearoundthelocationcorrespondingtothembbeingencoded. Thealgorithmbehavioriscontrolledbytwoparameterswhichdetermineitsperformancein termsofrunningtimeandcontributiontotheoverallpicturecompression. 1.ThesearchrangeidentiestheareaaroundthecurrentMBpositioninwhichthereferencepictureissearchedforthepredictor.Thelargerthesearcharea,thehigherthe Analgorithm,notspeciedbytheMPEGstandard,isruninordertoidentifyapredictorin 2.ThesimilaritycriteriaaimsatchoosingaspredictortheMBwhichisgoingtoprovide complexthesimilaritycriteria,thebetterthecompressionobtained,buttheharderthe thehighestcompressionwhenthedierencefromtheactualmbisencoded.themore thesearch.thesearchrangecanbechangedonapicturebypicturebasis. probabilityofndingaverywellmatchingmb,thusyieldinggoodcompression.onthe computation. otherhand,thelargeristhesearcharea,thelongerittakestothealgorithmtocomplete wholeencodingprocess. B.3.2MotionCompensation WhenapredictorisfoundfortheMB,thedierencebetweeneachpixelandthecorresponding oneinthepredictoriscomputed.sincetwo8-bitintegersaresubtracted,theresultisa9-bit Motionestimationisthemostcomputationallyintensiveandtimeconsumingstepofthe block,i.e.,themotioncompensationstepisskipped. integer.ifambsimilarenoughisnotfound,eachblockofthembisencodedasani-frame sentationwhichallowsthepredictortobeidentied.motionisrepresentedthroughamotion previousmb. B.3.3DCT MBbeingencoded.Themotionvectorisencodedasdierencefromthemotionvectorofthe vector,i.e.,thebidimensionalosetofthepredictorfromthepositioninthepictureofthe ThecompleteencodingofamotioncompensatedMBencompassesalsoamotionrepre- predictor.ifnopredictorhasbeenfound,thedctisappliedonthepixelsofthembitself. thedctisperformedonthedierencesbetweenthepixelsofthegivenmbandthoseofthe TheDCTisperformedontheoutputofthepreviousstep.Ifapredictorhasbeenfound, 117
118 thembhasbeenfound)thembisnofurtherprocessedanditisrepresentedinthempeg besmallerthanthequantizationstepsize. thequantizermusthavenodeadzone,i.e.,therangeofvaluesthatarequantizedtozeromust andintra-codedmbs.themotioncompensatedmbslikelyhavesmallcoecientsandthus B.3.4Quantization TheresultoftheDCTisquantizedusingdierentquantizersformotioncompensatedMBs AllthecoecientsofmotioncompensatedMBsareencodedusingrun-lengthencodingand B.3.5EntropyEncoding streambyaspecial6-bitcode. IfthecoecientsofamotioncompensatedMBareallzero(i.e.,apredictoridenticalto Humanencoding(i.e.,theDC-coecientisnottreateddierently).Blocksofnonmotion compensatedmbsareencodedaccordingtotheintra-codingprocess. Thenumberofbitsobtainedwhenpredictive-codingapicture(P-framedimension)depends onthefollowingfactors: B.3.6ControllingP-frameDimension Dynamicsofscenes:ifscenesarestatic,subsequentpicturesdonotchangetoomuch, Searchrangeandsimilaritycriteriausedtondthepredictor.Bothparameterscouldbe Resolutionofimages:seeSectionB.2.4. motioncompensationishighlyeective,andp-framesaresmall. Quantizer:seeSectionB.2.4. usedtocontrolthecompressionratio,buttheyareemployedtooearlyinthecompression Varianceoftherstsymbolsproducedbyrun-lengthencoding:seesectionB.2.4. process.thus,ononeside,reiterationswithdierentvalueswouldbeimpracticabledue tothelargeamountofcomputationrequiredbymotionestimation.ontheotherside, ThesameactionsproposedinSectionB.2.4forcontrollingthesizeofI-frames,canbe isnottrivial. therelationshipbetweenchangingtheseparametersandthenumberofgeneratedbits motioncompensatedmbs,itispossibletoroughlyestimatetheamountofbitsthataregoing tobeproducedandconsequentlychoosethesearchrangeandthequantizerstobeused. bemotioncompensatedcanberoughlyestimatedbyestimatingtheoverallsimilarityofthe twoimages.havingsomeknowledgeorstatisticsaboutthenumberofbitsneededtoencode takenforp-frames.inaddition,beforeencodingap-frame,thepercentageofmbswhichcan 118
119 B.4SignaltoNoiseRatio reconstructedfromthempegstream.thesignaltonoiseratioisscaledaccordingtothe wheresiisthevalueoftheithpixelbeforeencoding,while^siisthevalueofthesamepixel Thelossduetotheencodingprocesscanbequantitativelymeasuredbythepeak-to-peak maximumvalueofthepixel(peak-to-peak)whichis255. SignaltoNoiseRatio(SNR)whichiscalculatedas SNR=1log12552 B.5PacketizationandStreamingPi(si?^si)2 (37) stampandadecodingtimestampwhichindicatethetimeatwhichtherstaccessunit22 streamtowhichthepacketbelongs.moreover,theheadercancontainapresentationtime TheMPEGstandard[11]denesanelementarystreamforcarryingeachmedia:video,audio, elementarystreamwiththempegstandardischeckedbyfeedingasystemtargetdecoder (STD)withthestreamandverifyingthatitsbuerdoesnotoveroworunderow. inthepacketisintendedtobepresentedanddecoded,respectively.thecomplianceofan ordata.asystemstreamisdesignedtocombineanumberofelementarystreams. Eachelementarystreamispacketized;eachpackethasaheaderidentifyingtheelementary fromthesystemstream. Thebueroverowsifthereisnotenoughspacetostoreawholepacketwhenitisextracted astheygettothedecoder.thebuerisemptiedbyretrievingawholeaccessunitatthe underowsifthecompleteaccessunitisnotyetinthebuerbeforeitsretrievalisscheduled. timespeciedbythedecodingtimestampcontainedinthepacketheader.thestdbuer Packets,possiblybelongingtodierentstreams,aregroupedinpacks,eachprecededby TheSTDbuerislledbythepacketsofthecorrespondingelementarystreamassoon atthedecoder. timeofarrivalofthelastbyteofthetimestampitself.itisusedtorecovertheencoderclock repeatedinsomeotherpacks.thesystemheadercarriesinformationthatisrelevantto apackheaderwhichcontainsinformationabouttherateofthestream.moreover,thepack elementarystream.thecurrentsizeofthestdbueroptionallyincludedinpacketheaders headercontainsatimestamp,calledthesystemclockreference,whichindicatestheintended thewholestreamandcontainsthemaximumsizeofthestdbuertobeusedwitheach mustbesmallerthanthemaximumvaluepresentinthesystemheader. 22Forexample,thetheaccessunitinavideostreamisapicture. Therstpackofthesystemstreamcontainsasystemheaderthatcanbeoptionally TheMPEG-2standardprovidestwokindsofsystemstream: 119
120 References 1.TheProgramStreamisdesignedforerror-freeenvironments,e.g.,storageandretrieval 2.TheTransportStreamisintendedforexploitationinlossyenvironments(e.g.,transmissionovercomputernetworks)andpacketshavexedlength(188bytes). ofvideoscenesfromdigitalvideodisks.itusesvariablelengthpackets. [1]M.Baldi,Y.Ofek,andB.Yener.Adaptiverealtimegroupmulticast.Submittedto [2]M.Butto,E.Cavallero,andA.Tonietti.Eectivenessofthe`leakybucket'policing [3]A.Demers,S.Keshav,andS.Shenker.Analysisandsimulationofafairqueueingalgorithm.ACMComputerCommunicationReview(SIGCOMM'89),pages3{12,1989. mechanisminatmnetworks.ieeejournalonselectedareasincommunications, IEEEINFOCOM'97. 9(3):355{342,April1991. [5]W.DingandB.Liu.RatecontrolofMPEGvideocodingandrecordingbyratequantizationmodeling.IEEETransactionsonCircuitsandSystemsforVideoTechnology, [4]W.DingandB.Liu.JointencoderandchannelratecontrolofVBRvideooverATM networks.invisualcommunicationsandimageprocessing,volume2668,pages392{ 47,1996. [7]B.Fufht.Asurveyofmultimediacompressiontechniquesandstandards.PartI:JPEG [6]J.Feng,K.-T.Lo,H.Mehrpour,andA.E.Karbowiak.Celllossconcealmentmethodfor standard.realtimeimaging,(1):49{67,1995. MPEGvideoinATMnetworks.InGLOBECOM'95,pages192{1924, (1):12{2,February1996. [1]C.HorneandA.Puri.Videocodingwithadaptivequantizationandratecontrol.In [8]D.LeGall.MPEG:Avideocompressionstandardformultimediaapplications.CommunicationsoftheACM,34(4):47{58,April1991. [9]MovingPicturesExpertsGroup. [11]ISO/IEC.Informationtechnology-Codingofmovingpicturesandassociatedaudiofor JTC1/SC29/WG11/N4,April1993. VisualCommunicationsandImageProcessing,volume1818,pages798{86,1992. digitalstoragemediauptoabout1.5mbit/s.internationalorganizationforstandardization,1993. MPEG-2testmodel5. 12
121 [12]S.JungandJ.S.Meditch.AdaptivepredictionandsmoothingofMPEGvideoinATM [13]G.Karlsson.Asynchronoustransferofvideo.IEEECommunicationsMagazine,pages [14]C-S.Li,Y.Ofek,A.Segall,andK.Sohraby.Pseudo-isochronouscellswitchinginATM networks.inieeeinternationalconferenceoncommunications,pages832{836,1995. [15]C-SLi,Y.Ofek,andM.Yung.\Time-drivenpriority"owcontrolforreal-timeheterogeneousinternetworking.InIEEEINFOCOM'96, {126,August1996. networks.inieeeinfocom'94,pages428{437,1994. [17]E.Linzer.ArobustMPEG-2ratecontrolalgorithm.Unpublishedtechnicalreport,IBM- [16]L.-J.Lin,A.Ortega,andC.-C.J.Kuo.Agradientbasedratecontrolalgorithmwith [18]W.LuoandM.ElZarki.AdaptivedatapartitioningforMPEG-2videotransmission applicationstompegvideo.pages392{395,1995. [19]P.PanchaandM.ElZarki.MPEGcodingforvariablebitratevideotransmission.IEEE T.J.WatsonResearchCenter,department924A. [2]D.Reininger,G.Ramamurthy,andD.Raychaudhuri.VBRMPEGvideocodingwithdynamicbandwidthrenegotiation.InIEEEInternationalConferenceonCommunications, pages1773{1777,june1995. overatmbasednetworks.ininternationalconferenceonimageprocessing,volume1, pages17{2,october1995. [21]I.E.G.RichardsonandM.J.Riley.UsageparametercontrolcelllosseectsMPEG CommunicationsMagazine,pages54{66,May1994. [22]R.M.Rodriguez-Dagnino,M.R.K.Khansari,andA.Leno-Garcia.Predictionofbitrate [23]M.Simon,P.Villegas,J.Caballero,andM.Roser.Ageneralapproachtooutputrate 9(3):35{313,April sequancesofencodedvideosignals.ieeejournalonselectedareasincommunications, video.inieeeinternationalconferenceoncommunications,pages97{974,june [24]S.SinghandS-S.Chan.Amulti-levelapproachtothetransportofMPEG-codedvideo controlinvideocoding.invisualcommunicationsandimageprocessing,volume193, pages246{254,1993. overatmandsomeexperiments.inieeeglobecom'95,pages192{1924,
122 [27]G.K.Wallace.TheJPEGstillpicturescompressionstandard.Communicationsofthe [25]R.SteinmetzandK.Nahrstedt.Multimedia:computing,communications&applications. [26]A.SultanandH.A.Latchman.AdaptivequantizationschemeforMPEGvideocoders volume2668,pages181{188,1996. PrenticeHall,UpperSaddleRiver,NJ7458,1995. [28]L.Wang.RatecontrolforMPEGvideocoding.InVisualCommunicationsandImage Processing,volume251,pages53{63,1995. ACM,34(4):3{44,April1991. basedonhvs(humanvisualsystem.invisualcommunicationsandimageprocessing, 122
Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol
Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol 1 TCP/IP protocol suite A suite of protocols for networking for the Internet Transmission control protocol (TCP) or User Datagram protocol
WAN Technology. Heng Sovannarith [email protected]
WAN Technology Heng Sovannarith [email protected] Introduction A WAN is a data communications network that covers a relatively broad geographic area and often uses transmission facilities provided
CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering
Islamic University of Gaza Faculty of Engineering Computer Engineering Department Networks Discussion ECOM 4021 Lecture # 2 CH1 Computer Networks and the Internet By Feb 2013 (Theoretical material: page
Voice over Internet Protocol (VoIP) systems can be built up in numerous forms and these systems include mobile units, conferencing units and
1.1 Background Voice over Internet Protocol (VoIP) is a technology that allows users to make telephone calls using a broadband Internet connection instead of an analog phone line. VoIP holds great promise
CSE3214 Computer Network Protocols and Applications. Chapter 1 Examples and Homework Problems
CSE3214 Computer Network Protocols and Applications Chapter 1 Examples and Homework Problems Example 1 (review question 18) (1) How long does it take a packet of length 1000 bytes to propagate over a link
Ring Protection: Wrapping vs. Steering
Ring Protection: Wrapping vs. Steering Necdet Uzun and Pinar Yilmaz March 13, 2001 Contents Objectives What are wrapping and steering Single/dual fiber cut Comparison of wrapping and steering Simulation
WAN Data Link Protocols
WAN Data Link Protocols In addition to Physical layer devices, WANs require Data Link layer protocols to establish the link across the communication line from the sending to the receiving device. 1 Data
Internet structure: network of networks
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure and s 1.6 Delay & loss in packet-switched networks 1.7 Protocol
Computer Networks Homework 1
Computer Networks Homework 1 Reference Solution 1. (15%) Suppose users share a 1 Mbps link. Also suppose each user requires 100 kbps when transmitting, but each user transmits only 10 percent of the time.
Exam 1 Review Questions
CSE 473 Introduction to Computer Networks Exam 1 Review Questions Jon Turner 10/2013 1. A user in St. Louis, connected to the internet via a 20 Mb/s (b=bits) connection retrieves a 250 KB (B=bytes) web
Interconnection Networks
Advanced Computer Architecture (0630561) Lecture 15 Interconnection Networks Prof. Kasim M. Al-Aubidy Computer Eng. Dept. Interconnection Networks: Multiprocessors INs can be classified based on: 1. Mode
Voice over IP. Demonstration 1: VoIP Protocols. Network Environment
Voice over IP Demonstration 1: VoIP Protocols Network Environment We use two Windows workstations from the production network, both with OpenPhone application (figure 1). The OpenH.323 project has developed
Chapter 3 ATM and Multimedia Traffic
In the middle of the 1980, the telecommunications world started the design of a network technology that could act as a great unifier to support all digital services, including low-speed telephony and very
Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross
Introduction Abusayeed Saifullah CS 5600 Computer Networks These slides are adapted from Kurose and Ross Roadmap 1.1 what is the Inter? 1.2 work edge end systems, works, links 1.3 work core packet switching,
VOICE OVER IP AND NETWORK CONVERGENCE
POZNAN UNIVE RSITY OF TE CHNOLOGY ACADE MIC JOURNALS No 80 Electrical Engineering 2014 Assaid O. SHAROUN* VOICE OVER IP AND NETWORK CONVERGENCE As the IP network was primarily designed to carry data, it
Chapter 11: WAN. Abdullah Konak School of Information Sciences and Technology Penn State Berks. Wide Area Networks (WAN)
Chapter 11: WAN Abdullah Konak School of Information Sciences and Technology Penn State Berks Wide Area Networks (WAN) The scope of a WAN covers large geographic areas including national and international
Introduction to Quality of Service. Andrea Bianco Telecommunication Network Group [email protected] http://www.telematica.polito.
Introduction to Quality of Service Andrea Bianco Telecommunication Network Group [email protected] http://www.telematica.polito.it/ QoS Issues in Telecommunication Networks - 1 Quality of service
VOIP Security Essentials. Jeff Waldron
VOIP Security Essentials Jeff Waldron Traditional PSTN PSTN (Public Switched Telephone Network) has been maintained as a closed network, where access is limited to carriers and service providers. Entry
COMP 361 Computer Communications Networks. Fall Semester 2003. Midterm Examination
COMP 361 Computer Communications Networks Fall Semester 2003 Midterm Examination Date: October 23, 2003, Time 18:30pm --19:50pm Name: Student ID: Email: Instructions: 1. This is a closed book exam 2. This
Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers
Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers Oxford University Press 2007. All rights reserved. 1 OSI (open systems interconnection)
DigiPoints Volume 1. Student Workbook. Module 4 Bandwidth Management
Bandwidth Management Page 4.1 DigiPoints Volume 1 Module 4 Bandwidth Management Summary This module will cover Time Division Multiplexing (TDM). TDM technology allows many users to access a particular
Introduction, Rate and Latency
Introduction, Rate and Latency Communication Networks Why communicate? Necessary to support some application. Example Applications Audio communication Radio, Telephone Text communication Email, SMS (text
Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network
Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network Jianguo Cao School of Electrical and Computer Engineering RMIT University Melbourne, VIC 3000 Australia Email: [email protected]
Goal We want to know. Introduction. What is VoIP? Carrier Grade VoIP. What is Meant by Carrier-Grade? What is Meant by VoIP? Why VoIP?
Goal We want to know Introduction What is Meant by Carrier-Grade? What is Meant by VoIP? Why VoIP? VoIP Challenges 2 Carrier Grade VoIP Carrier grade Extremely high availability 99.999% reliability (high
1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.
Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because routers are receiving packets faster than they can forward them, one
ANALYSIS OF LONG DISTANCE 3-WAY CONFERENCE CALLING WITH VOIP
ENSC 427: Communication Networks ANALYSIS OF LONG DISTANCE 3-WAY CONFERENCE CALLING WITH VOIP Spring 2010 Final Project Group #6: Gurpal Singh Sandhu Sasan Naderi Claret Ramos ([email protected]) ([email protected])
Online course syllabus. MAB: Voice over IP
Illuminating Technology Course aim: Online course syllabus MAB: Voice over IP This course introduces the principles and operation of telephony services that operate over Internet Protocol (IP) networks
Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.
Delay Need for a Delay Budget The end-to-end delay in a VoIP network is known as the delay budget. Network administrators must design a network to operate within an acceptable delay budget. This topic
www.careercert.info Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
2007 Cisco Systems, Inc. All rights reserved. DESGN v2.0 3-11 Enterprise Campus and Data Center Design Review Analyze organizational requirements: Type of applications, traffic volume, and traffic pattern
Interconnection Network Design
Interconnection Network Design Vida Vukašinović 1 Introduction Parallel computer networks are interesting topic, but they are also difficult to understand in an overall sense. The topological structure
Strategies. Addressing and Routing
Strategies Circuit switching: carry bit streams original telephone network Packet switching: store-and-forward messages Internet Spring 2007 CSE 30264 14 Addressing and Routing Address: byte-string that
10CS64: COMPUTER NETWORKS - II
QUESTION BANK 10CS64: COMPUTER NETWORKS - II Part A Unit 1 & 2: Packet-Switching Networks 1 and Packet-Switching Networks 2 1. Mention different types of network services? Explain the same. 2. Difference
ARIB STD-T64-C.S0042 v1.0 Circuit-Switched Video Conferencing Services
ARIB STD-T-C.S00 v.0 Circuit-Switched Video Conferencing Services Refer to "Industrial Property Rights (IPR)" in the preface of ARIB STD-T for Related Industrial Property Rights. Refer to "Notice" in the
TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX 75701 1.800.298.5226 www.tjc.edu/continuingstudies/mycaa
TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX 75701 1.800.298.5226 www.tjc.edu/continuingstudies/mycaa Education & Training Plan CompTIA N+ Specialist Program Student Full
VoIP QoS. Version 1.0. September 4, 2006. AdvancedVoIP.com. [email protected] [email protected]. Phone: +1 213 341 1431
VoIP QoS Version 1.0 September 4, 2006 AdvancedVoIP.com [email protected] [email protected] Phone: +1 213 341 1431 Copyright AdvancedVoIP.com, 1999-2006. All Rights Reserved. No part of this
Chapter 1. Introduction
Chapter 1 Introduction 1.1. Motivation Network performance analysis, and the underlying queueing theory, was born at the beginning of the 20th Century when two Scandinavian engineers, Erlang 1 and Engset
Analog vs. Digital Transmission
Analog vs. Digital Transmission Compare at two levels: 1. Data continuous (audio) vs. discrete (text) 2. Signaling continuously varying electromagnetic wave vs. sequence of voltage pulses. Also Transmission
Analysis and Simulation of VoIP LAN vs. WAN WLAN vs. WWAN
ENSC 427 Communication Networks Final Project Report Spring 2014 Analysis and Simulation of VoIP Team #: 2 Kadkhodayan Anita ([email protected], 301129632) Majdi Yalda ([email protected], 301137361) Namvar Darya
Clearing the Way for VoIP
Gen2 Ventures White Paper Clearing the Way for VoIP An Alternative to Expensive WAN Upgrades Executive Overview Enterprises have traditionally maintained separate networks for their voice and data traffic.
VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet
VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet 1 Outlines 1. Introduction 2. QoS in VoIP 3. H323 4. Signalling in VoIP 5. Conclusions 2 1. Introduction to VoIP Voice
The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback
The network we see so far CSE56 - Lecture 08 QoS Network Xiaowei Yang TCP saw-tooth FIFO w/ droptail or red Best-effort service Web-surfing, email, ftp, file-sharing Internet Best Effort Service Our network
Combining Voice over IP with Policy-Based Quality of Service
TechBrief Extreme Networks Introduction Combining Voice over IP with Policy-Based Quality of Service Businesses have traditionally maintained separate voice and data networks. A key reason for this is
Introduction to Metropolitan Area Networks and Wide Area Networks
Introduction to Metropolitan Area Networks and Wide Area Networks Chapter 9 Learning Objectives After reading this chapter, you should be able to: Distinguish local area networks, metropolitan area networks,
Communication Networks. MAP-TELE 2011/12 José Ruela
Communication Networks MAP-TELE 2011/12 José Ruela Network basic mechanisms Introduction to Communications Networks Communications networks Communications networks are used to transport information (data)
Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:
Quality of Service 1 Traditional Nonconverged Network Traditional data traffic characteristics: Bursty data flow FIFO access Not overly time-sensitive; delays OK Brief outages are survivable 2 1 Converged
COMMUNICATION NETWORKS WITH LAYERED ARCHITECTURES. Gene Robinson E.A.Robinsson Consulting 972 529-6395 [email protected]
COMMUNICATION NETWORKS WITH LAYERED ARCHITECTURES Gene Robinson E.A.Robinsson Consulting 972 529-6395 [email protected] 9 March 1999 IEEE802 N-WEST STANDARDS MEETING FOR BROADBAND WIRELESS ACCESS SYSTEMS
Mobile. Analyzing, Planning and Optimizing Heterogeneous Mobile Access and Core Networks
Mobile Analyzing, Planning and Optimizing Heterogeneous Mobile Access and Core Networks The Features NetWorks Mobile is a tool for analyzing, planning and optimizing the fixed-line part of your (mobile)
IP-Telephony Quality of Service (QoS)
IP-Telephony Quality of Service (QoS) Bernard Hammer Siemens AG, Munich Siemens AG 2001 1 Presentation Outline End-to-end OoS of VoIP services Quality of speech codecs Network-QoS IntServ RSVP DiffServ
Troubleshooting Common Issues in VoIP
Troubleshooting Common Issues in VoIP 2014, SolarWinds Worldwide, LLC. All rights reserved. Voice over Internet Protocol (VoIP) Introduction Voice over IP, or VoIP, refers to the delivery of voice and
Network Technologies
Network Technologies Telephone Networks IP Networks ATM Networks Three Network Technologies Telephone Network The largest worldwide computer network, specialized for voice ing technique: Circuit-switching
Effects of Filler Traffic In IP Networks. Adam Feldman April 5, 2001 Master s Project
Effects of Filler Traffic In IP Networks Adam Feldman April 5, 2001 Master s Project Abstract On the Internet, there is a well-documented requirement that much more bandwidth be available than is used
Interconnection Networks. Interconnection Networks. Interconnection networks are used everywhere!
Interconnection Networks Interconnection Networks Interconnection networks are used everywhere! Supercomputers connecting the processors Routers connecting the ports can consider a router as a parallel
Call Admission Control and Traffic Engineering of VoIP
Call Admission Control and Traffic Engineering of VoIP James Yu and Imad Al-Ajarmeh [email protected] [email protected] DePaul University Chicago, Illinois, USA ABSTRACT. This paper presents an extension
Choosing the Right Audio Codecs for VoIP over cdma2000 Networks:
Choosing the Right Audio Codecs for VoIP over cdma2000 Networks: System capacity, Voice quality, Delay, and Transcoding issues Dr. Sassan Ahmadi NOKIA Inc. [email protected] February 8, 2005 1 2005
920-803 - technology standards and protocol for ip telephony solutions
920-803 - technology standards and protocol for ip telephony solutions 1. Which CODEC delivers the greatest compression? A. B. 711 C. D. 723.1 E. F. 726 G. H. 729 I. J. 729A Answer: C 2. To achieve the
TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION
TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION (Please read appropriate parts of Section 2.5.2 in book) 1. VOICE DIGITIZATION IN THE PSTN The frequencies contained in telephone-quality
Region 10 Videoconference Network (R10VN)
Region 10 Videoconference Network (R10VN) Network Considerations & Guidelines 1 What Causes A Poor Video Call? There are several factors that can affect a videoconference call. The two biggest culprits
Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream
Article VoIP Introduction Internet telephony refers to communications services voice, fax, SMS, and/or voice-messaging applications that are transported via the internet, rather than the public switched
How To Test Video Quality With Real Time Monitor
White Paper Real Time Monitoring Explained Video Clarity, Inc. 1566 La Pradera Dr Campbell, CA 95008 www.videoclarity.com 408-379-6952 Version 1.0 A Video Clarity White Paper page 1 of 7 Real Time Monitor
Earliest Due Date (EDD) [Ferrari] Delay EDD. Jitter EDD
Earliest Due Date (EDD) [Ferrari] Based on EDF Delay-EDD vs. jitter-edd Works for periodic message models (single packet in period): (pi,, Di) Partition end-to-end deadline D i into local deadlines D i,k
Three Key Design Considerations of IP Video Surveillance Systems
Three Key Design Considerations of IP Video Surveillance Systems 2012 Moxa Inc. All rights reserved. Three Key Design Considerations of IP Video Surveillance Systems Copyright Notice 2012 Moxa Inc. All
PERFORMANCE OF THE GPRS RLC/MAC PROTOCOLS WITH VOIP TRAFFIC
PERFORMANCE OF THE GPRS RLC/MAC PROTOCOLS WITH VOIP TRAFFIC Boris Bellalta 1, Miquel Oliver 1, David Rincón 2 1 Universitat Pompeu Fabra, Psg. Circumval lació 8, 83 - Barcelona, Spain, boris.bellalta,
R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?
Chapter 1 Review Questions R1. What is the difference between a host and an end system? List several different types of end systems. Is a Web server an end system? 1. There is no difference. Throughout
White paper. Latency in live network video surveillance
White paper Latency in live network video surveillance Table of contents 1. Introduction 3 2. What is latency? 3 3. How do we measure latency? 3 4. What affects latency? 4 4.1 Latency in the camera 4 4.1.1
Keywords Wimax,Voip,Mobility Patterns, Codes,opnet
Volume 5, Issue 8, August 2015 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Effect of Mobility
Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.
Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic. A Network and Data Link Layer infrastructure Design to Improve QoS in Voice and video Traffic Jesús Arturo Pérez,
Introduction to WAN Technologies
CHAPTER 3 Chapter Goals Become familiar with WAN terminology. Learn about different types of WAN connections. Become familiar with different types of WAN equipment. This chapter introduces the various
Quality of Service in ATM Networks
Quality of Service in ATM Networks Components of a QoS Network 1. At network entrance: Policing and Shaping 2. Somewhere in the network: Admission Control 3. At switches: Classification, Scheduling 4.
Computer Networks CS321
Computer Networks CS321 Dr. Ramana I.I.T Jodhpur Dr. Ramana ( I.I.T Jodhpur ) Computer Networks CS321 1 / 22 Outline of the Lectures 1 Introduction OSI Reference Model Internet Protocol Performance Metrics
Quality of Service (QoS) on Netgear switches
Quality of Service (QoS) on Netgear switches Section 1 Principles and Practice of QoS on IP networks Introduction to QoS Why? In a typical modern IT environment, a wide variety of devices are connected
Solutions to the Sample Questions on Introduction
Solutions to the Sample Questions on Introduction NOTE: Pay close attention to units. A byte of storage is 8-bits, and 1 kilobits of storage is1024 bits. By convention, the rules are different between
An Analysis of Error Handling Techniques in Voice over IP
An Analysis of Error Handling Techniques in Voice over IP Martin John Lipka ABSTRACT The use of Voice over IP (VoIP) has been growing in popularity, but unlike its wired circuit-switched telephone network
Synchronization Essentials of VoIP WHITE PAPER
Synchronization Essentials of VoIP WHITE PAPER Synchronization Essentials of VoIP Introduction As we accelerate into the New World of VoIP we assume we can leave some of the trappings of wireline telecom
Solution. (Chapters 5-6-7-8) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department
The Islamic University of Gaza Faculty of Engineering Computer Engineering Department Data Communications ECOM 4314 Solution (Chapters 5-6-7-8) Dr. Hasan Qunoo Eng. Wafaa Audah Eng. Waleed Mousa 1. A cable
Fundamentals of VoIP Call Quality Monitoring & Troubleshooting. 2014, SolarWinds Worldwide, LLC. All rights reserved. Follow SolarWinds:
Fundamentals of VoIP Call Quality Monitoring & Troubleshooting 2014, SolarWinds Worldwide, LLC. All rights reserved. Introduction Voice over IP, or VoIP, refers to the delivery of voice and multimedia
Education & Training Plan IT Network Professional with CompTIA Network+ Certificate Program with Externship
Testing Services and Programs 1200 N. DuPont Highway Dover, DE 19901 https://www.desu.edu/academics/mycaa Contact: Amystique Harris-Church 302.857.6143 [email protected] Education & Training Plan IT Network
Education & Training Plan IT Network Professional with CompTIA Network+ Certificate Program with Externship
University of Texas at El Paso Professional and Public Programs 500 W. University Kelly Hall Ste. 212 & 214 El Paso, TX 79968 http://www.ppp.utep.edu/ Contact: Sylvia Monsisvais 915-747-7578 [email protected]
Applications. Network Application Performance Analysis. Laboratory. Objective. Overview
Laboratory 12 Applications Network Application Performance Analysis Objective The objective of this lab is to analyze the performance of an Internet application protocol and its relation to the underlying
VoIP Glossary. Client (Softphone client): The software installed in the userâ s computer to make calls over the Internet.
VoIP Glossary Analog audio signals: Analog audio signals are used to transmit voice data over telephone lines. This is done by varying or modulating the frequency of sound waves to accurately reflect the
Video Conference System
CSEE 4840: Embedded Systems Spring 2009 Video Conference System Manish Sinha Srikanth Vemula Project Overview Top frame of screen will contain the local video Bottom frame will contain the network video
Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements
Outline Lecture 8 Performance Measurements and Metrics Performance Metrics Performance Measurements Kurose-Ross: 1.2-1.4 (Hassan-Jain: Chapter 3 Performance Measurement of TCP/IP Networks ) 2010-02-17
Guidelines on International Gateway Access and Voice over Internet Protocol (VoIP) Issued by the Nigerian Communications Commission
Guidelines on International Gateway Access and Voice over Internet Protocol (VoIP) Issued by the Nigerian Communications Commission 1. Background (1) The Nigerian Communications Commission ( the Commission
51-10-50 Circuit-Switched Router Connections Nathan J. Muller
Previous screen 51-10-50 Circuit-Switched Router Connections Nathan J. Muller Payoff LAN managers will find that routers supporting dial backup, bandwidth-on-demand, and dial-on-demand enable more flexible
Introduction to WAN Technologies
CHAPTER 3 Introduction to WAN Technologies This chapter introduces the various protocols and technologies used in wide- area network (WAN) environments. Topics summarized here include point-to-point links,
Voice over IP: RTP/RTCP The transport layer
Advanced Networking Voice over IP: /RTCP The transport layer Renato Lo Cigno Requirements For Real-Time Transmission Need to emulate conventional telephone system Isochronous output timing same with input
CPNI VIEWPOINT 03/2007 HOSTED VOICE OVER IP
HOSTED VOICE OVER IP AUGUST 2007 Abstract Voice over IP (VoIP) is the term used for a set of technologies that enable real time voice or video conversations to take place across IP networks. VoIP devices
QoS issues in Voice over IP
COMP9333 Advance Computer Networks Mini Conference QoS issues in Voice over IP Student ID: 3058224 Student ID: 3043237 Student ID: 3036281 Student ID: 3025715 QoS issues in Voice over IP Abstract: This
QoS in VoIP. Rahul Singhai Parijat Garg
QoS in VoIP Rahul Singhai Parijat Garg Outline Introduction The VoIP Setting QoS Issues Service Models Techniques for QoS Voice Quality Monitoring Sample solution from industry Conclusion Introduction
Architecture and Performance of the Internet
SC250 Computer Networking I Architecture and Performance of the Internet Prof. Matthias Grossglauser School of Computer and Communication Sciences EPFL http://lcawww.epfl.ch 1 Today's Objectives Understanding
Introduction to EDGE. 2.1 What Is EDGE?
2 Introduction to EDGE This chapter is the first of a series dedicated to EDGE. It introduces the different EDGE concepts from a global point of view, explaining how they have been introduced into the
Computer Networks: LANs, WANs The Internet
1 Computer Networks: LANs, WANs The Internet Required reading: Garcia 1.1 and 1.2 CSE 3213, Fall 2010 Instructor: N. Vlajic History of Computers 2 Computer a machine that manipulates data according to
INTERNATIONAL TELECOMMUNICATION UNION
INTERNATIONAL TELECOMMUNICATION UNION )454 6 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU $!4! #/--5.)#!4)/. /6%2 4(% 4%,%0(/.%.%47/2+ ")43 0%2 3%#/.$ $50,%8 -/$%- 34!.$!2$):%$ &/2 53% ). 4(% '%.%2!,
Application Note 132. Introduction. Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ8842-16MQL/MVL
Application Note 132 Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ42-16MQL/MVL Introduction The IP-Telephony market is booming, due to the ease of use of the technology
Computer Networks and the Internet
? Computer the IMT2431 - Data Communication and Network Security January 7, 2008 ? Teachers are Lasse Øverlier and http://www.hig.no/~erikh Lectures and Lab in A126/A115 Course webpage http://www.hig.no/imt/in/emnesider/imt2431
Performance Management for Next- Generation Networks
Performance Management for Next- Generation Networks Definition Performance management for next-generation networks consists of two components. The first is a set of functions that evaluates and reports
