Hint #1
To configure with eclipse for c/c++ :
- Download the HEVC reference software version using subversion (First check if files such as .cproject, .project, etc exist) and later zip the file
- Open Eclipse and select file and select import. Select the zipped file and give a name to your Project.
- The Zip file will be unzipped at the workspace location.Goto the build linux location i.e. ‘Project Space’/build/linux/ and enter the terminal command “make”. This will create the binaries and object files.
- After that go to the project properties,select c/c++ build,select builder settings ensure that the “Use default build command”is unchecked and type “<Project Space>/build/linux/makefile”. Ensure the Build Location is also in the same directory
- Since there are many project you have to first select the project of interest e.g. TAppEncoderStatic Check the projects name as well
- In the Arguements section type the necessary arguments e.g. configuration files -c [config file] (Note ensure that they are in the bin directory along with the YUV file of choice ). Also ensure the workspace is also the same directory
Hint #2
Depending on various factors such as number of frames and resolution of the input video the processing time may vary (usually an hour). To effectively utilize the system and time, simply open multiple command prompts(on windows)/terminals (on linux). This is called High Throughput Computing (HTC) where the same program is executed but with different parameters.Bash programming can also be used to automate processes. Literally making a bash script is easy by adding the bang line #!/bin/bash
Python is also an alternative to bash scripts as it can have problems while defining arrays. Utilize HTC wherever possible but do not push it as PCs have certain capacities and capabilities.
No comments:
Post a Comment