SoftwareManual2Word格式文档下载.docx
《SoftwareManual2Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《SoftwareManual2Word格式文档下载.docx(115页珍藏版)》请在冰豆网上搜索。
1.3BuildingtheJSVMsoftware6
1.3.1Windows32/64bitplatformwithMicrosoftVisualStudio6
1.3.2Linuxplatformwithgcccompilerversion
47
1.4Informationonbinariesandlibraries8
2UsageandconfigurationoftheJSVMsoftware9
2.1Resampler“DownConvertStatic”10
2.1.1Commonparameters11
2.1.2Resamplingmethods11
2.1.2.1Upsampling11
2.1.2.2Downsampling11
2.1.3Specificfeatures12
2.1.3.1Croppingwindow12
2.1.3.2Chromaphaseshiftmanagement13
2.1.3.3Resamplingmode13
2.2Encoder“H264AVCEncoderLibTestStatic”13
2.2.1Single-layercodingmode14
2.2.1.1Configurationfile14
2.2.1.2Sequenceformatstring19
2.2.1.3Commandlineoptions24
2.2.2Scalablecodingmode24
2.2.2.1Mainconfigurationfile24
2.2.2.2Layerconfigurationfile30
2.2.2.3Commandlineoptions41
2.3Decoder“H264AVCDecoderLibTestStatic”44
2.4SVCtoAVCBit-streamRewriter44
2.5Bitstreamextractor“BitStreamExtractorStatic”44
2.6Qualitylevelassigner“QualityLevelAssignerStatic”49
2.7MCTFpre-processingtool“MCTFPreProcessorStatic”50
2.8PSNRtool“PSNRStatic”51
2.9FixedQPencoder“FixedQPEncoderStatic”52
2.10SIPAnalysertool“SIPAnalyser”55
3UseExamplesasabrieftutorial56
3.1Originalsequencesgeneration56
3.1.1CIFscenario56
3.1.1.1Originalsequences56
3.1.1.2Howtogeneratedowsampledversions57
3.1.1.3Howtoconsiderthedownsamplingintheencoderconfiguration57
3.1.24CIFscenario57
3.1.2.1Originalsequences57
3.1.2.2Howtogeneratedowsampledversions57
3.1.2.3Howtoconsiderthedownsamplingintheencoderconfiguration58
3.2Singlelayercoding58
3.3Spatialscalability61
3.4SNRscalability64
3.5Combinedscalability68
4InformationforSoftwareIntegration71
4.1Softwareintegrationguidelinesandrules72
4.2Informationtobeprovidedtothesoftwarecoordinatorsgroup72
4.3Validationscripts72
4.3.1Structure72
4.3.2Beforerunningthescripts73
4.3.2.1Generalsettings73
4.3.2.2Interlaced73
4.3.2.3AVC_Conformance73
4.3.2.4ErrorConcealment74
4.3.3Runningvalidationscripts74
4.3.3.1Whichscripts?
74
4.3.3.2Howto?
1GeneralInformation
TheJSVM(JointScalableVideoModel)softwareisthereferencesoftwarefortheScalableVideoCoding(SVC)projectoftheJointVideoTeam(JVT)oftheISO/IECMovingPicturesExpertsGroup(MPEG)andtheITU-TVideoCodingExpertsGroup(VCEG).SincetheSVCprojectisstillunderdevelopment,theJSVMSoftwareasisalsounderdevelopmentandchangesfrequently.
TheJSVMsoftwareiswritteninC++andisprovidedassourcecode.Section
1.1describeshowtheJSVMsoftwarecanbeobtainedviaaCVSserver.InformationaboutthestructureoftheCVSrepositoryispresentedinsection
1.2.Section
1.3describeshowtheJSVMsoftwarecanbebuildonWin32andLinuxplatforms,andsection1.4givesbasicinformationaboutthebinariesthatarecontainedintheJSVMsoftwarepackage.
1.1AccessingthelatestJSVMSoftware
Inordertokeeptrackofthechangesinsoftwaredevelopmentandtoalwaysprovideanup-to-dateversionoftheJSVMsoftware,aCVSserverfortheJSVMsoftwarehasbeensetupattheRheinisch-Westfä
lischeTechnischeHochschule(RWTH)Aachen.TheCVSservercanbeaccessedusingWinCVSoranyotherCVSclient.TheserverisconfiguredtoallowreadaccessonlyusingtheparametersspecifiedinTable1.WriteaccesstotheJSVMsoftwareserverisrestrictedtotheJSVMsoftwarecoordinatorsgroup.
Table1:
CVSaccessparameters
authentication:
pserver
hostaddress:
garcon.ient.rwth-aachen.de
path:
/cvs/jvt
username:
jvtuser
password:
jvt.Amd.2
modulename:
jsvmorjsvm_red
Example1showshowtheJSVMsoftwarecanbeaccessedbyusingacommandlineCVSclient.
Example1:
AccessingtheJSVMsoftwarewithacommandlineCVSclient
cvs–d:
pserver:
jvtuser:
jvt.Amd.2@garcon.ient.rwth-aachen.de:
/cvs/jvtlogin
jvtuser@garcon.ient.rwth-aachen.de:
/cvs/jvtcheckoutjsvm
InExample2,itisshownhowaspecificJSVMsoftwareversion–specifiedbyatag(JSVM_4_5inExample2)–canbeobtainedusingacommandlineCVSclient.Notethatcorepresentsanabbreviationforthecommandcheckout,whichwasusedinExample1.
Example2:
AccessingtheJSVMsoftwareversionwiththetagJSVM_4_5withacommandlineCVSclient
/cvs/jvtco–rJSVM_4_5jsvm
ItispossibletocheckoutonlyareducedJSVMsoftwarepackagebyusingthealiasjsvm_redinsteadofjsvm.Inthiscase,thedirectoriesJSVM0-config-sampleandMVC-Configsareommittedinthecheckout,seeExample3.
Example3:
AccessingtheJSVMsoftwarewithouttheJSVM0andMVCdirectories.
/cvs/jvtcojsvm_red
1.2StructureoftheCVSRepository
AfteraccessingtheJSVMsoftwareasdescribedinsection1.1,afolderjsvmiscreated.ThedirectorystructureofthisfolderissummarizedinTable2.Notethatthefoldersbinandlibarecreatedduringbuildingthesoftwareasdescribedinsection1.3.ThefolderJSVMcontainsallfilesthatarerequiredforbuildingandrunningthesoftware.
ThefolderJSVM/H264Extension/srcisstructuredintosub-foldersforlibraries,testprojects,andtools.ItcontainsallsourceandincludefilesfortheJSVMsoftware,withexceptionoftheincludefilesthatneedtobesharedbydifferentlibrariesand/ortestprojects.TheseincludefilesarelocatedinthefolderJSVM/H264Extension/include.
Alogfiledescribingthe(main)changesfromoneJSVMsoftwareversiontothenextisgivenbychanges.txt.NotethatthislogfilesstartswiththeJSVMversion4.0(CVStagJSVM_4_0).Earlierchangeshaven’tbeentracked.
Table2:
StructureoftheCVSrepositoryfortheJSVMsoftware
folder
content
bin
locationofbinariesafterbuildingthesoftware
Moreinformationaboutthebinariesaregiveninsection1.4.
lib
locationoflibrariesafterbuildingthesoftware
Moreinformationregardingthelibrariesaregiveninsection1.4.
JSVM
sourcecodeandprojectfilesfortheJSVMsoftware
AllfilesthatarerequiredforbuildingandusingtheJSVMsoftwarearecontainedinthisfolder.
JSVM/H264Extension/build
workspacesandmakesfiles
WorkspacesareprovidedforMicrosoftVisualStudio.NET.MakefilesareprovidedforLinux.
JSVM/H264Extension/data
basicexamplesofencoderconfigurationfiles
Theseexamplesarenotguaranteedtobecompleteortocontainallavailableconfigurationparameters.Theexamplesonlyserveasabasisforwritingencoderconfigurationfiles.
JSVM/H264Extension/include
includesfilesthatarerequiredbyotherlibrariesinsidetheJSVMproject
Onlyincludefilesforclassesthatarerequiredbyotherlibrariesortestprojectsshouldbeplacedintothisfolder.ThisfoldercontainsasubfolderforthefrequentlyusedlibraryH264AVCCommonLib.IncludefilesofclassesthatareonlyrequiredinsidealibraryortestprojectarecontainedinthelibraryortestprojectfolderinJSVM/H264Extension/src.
JSVM/H264Extension/src
includeandsourcefilesforalllibrariesandtestprojects
Thisfoldercontainsallsourcefilesandtheincludefilesthatareonlyrequiredinsidealibraryortestproject.Thisfolderisorganizedinappropriatesub-folders.
JSVM0-config-samples
usageexamples
Thisfoldercontainsusageexampleswithconfigurationfiles,scriptsaswellassometextdescriptions.TheseusageexamplesarenotupdatedwitheachchangeoftheJSVMsoftware,andhencetheyarenotguaranteedtobeup-to-date.Ifthesoftwarewascheckedoutusingthealiasjsvm_red,thisdirectoryisommitted.
MVC-Configs
configurationexamplesforMulipleViewCoding
ThisfoldercontainsexamplesincludingconfigurationfilesandscriptsforusingtheJSVMsoftwareforMultiViewCoding(MVC).Ifthesoftwarewascheckedoutusingthealiasjsvm_red,thisdirectoryisommitted.
Validation
validationscriptsforcheckingtheJSVMsoftware
PerlscriptsforvalidatingtheJSVMsoftwareareprovidedinthisfolder.ThesescriptsshallberunaftereachmodificationoftheJSVMsoftware.Theyhavebeendesignedtocheckthefunctionalityofintegratedtools.Moreinformationonhowtorunthesescriptsaregivenin4.3.
changes.txt
changeslogfile
Thisfiledescribedthe(main)changesfromoneCVSversiontothenext.ItstartswithJSVMversion4.0(CVStag:
JSVM_4_0).
SoftwareManual.doc
softwaremanual
Thisdocument.
1.3BuildingtheJSVMsoftware
ItshallbepossibletobuildtheJSVMsoftwareonaWindows32/64bitplatformwithMicrosoftVisualStudio.NETandonaLinuxplatformwithgccversion
4.ForinformationonhowtobuildthesoftwareonaWin