xmar / 360Transformations

68 stars 16 forks source link

Error while parsing in configuration file the CubeMap layout: No such node (CubeMap.width) #28

Closed hirwaam closed 5 years ago

hirwaam commented 5 years ago

Scenario 1: Run inside the example folder (or inside the /vagrant folder inside the VM): trans -c Config_1.ini This scenario reads the input.mp4 equirectangular video and transforms it into a 3x2 Cubemap video. Outputs: output1_1CubeMap.mp4 -> an HEVC 3x2 cubemap 360-degree video

The trans executable is created in the following path: bitnami@ip-172-31-41-171:~/360Transformations/transformation/build/MainProject$ ls -l total 6212 drwxrwxr-x 3 bitnami bitnami 4096 Feb 4 18:52 CMakeFiles -rw-rw-r-- 1 bitnami bitnami 1021 Feb 4 17:59 cmake_install.cmake -rw-rw-r-- 1 bitnami bitnami 29677 Feb 4 17:59 Makefile -rwxrwxr-x 1 bitnami bitnami 6320040 Feb 4 18:54 trans

I get the following error upone executing the command in examples folder: bitnami@ip-172-31-41-171:~/360Transformations/transformation/examples$ ../build/MainProject/trans -c Config_1.ini Path to the ini file: Config_1.ini

Error while parsing in configuration file the CubeMap layout: No such node (CubeMap.width) Uncatched exception: std::exception Options: -h [ --help ] arg Produce this help message. Giving layout id return configuration parameters accepted by this layout. -c [ --config ] arg Path to the configuration INI file

bitnami@ip-172-31-41-171:~/360Transformations/transformation/examples$

The examples folder listing is as follows: bitnami@ip-172-31-41-171:~/360Transformations/transformation/examples$ ls -l total 1700 -rwxrwxr-x 1 bitnami bitnami 3394 Feb 5 09:35 Config_1.ini -rwxrwxr-x 1 bitnami bitnami 3145 Feb 4 17:57 Config_2.ini -rwxrwxr-x 1 bitnami bitnami 3119 Feb 4 17:57 Config_3.ini -rwxrwxr-x 1 bitnami bitnami 15420 Feb 4 17:57 Config_4.ini -rwxrwxr-x 1 bitnami bitnami 4125 Feb 4 17:57 Config_5.ini -rwxrwxr-x 1 bitnami bitnami 3167 Feb 4 17:57 Config_6.ini -rwxrwxr-x 1 bitnami bitnami 5450 Feb 4 17:57 Config_7.ini -rwxrwxr-x 1 bitnami bitnami 4147 Feb 4 17:57 Config_8.ini -rw-rw-r-- 1 bitnami bitnami 583327 Feb 4 17:57 input.mp4 -rw-rw-r-- 1 bitnami bitnami 5134 Feb 4 17:57 README.rst -rw-rw-r-- 1 bitnami bitnami 1087877 Feb 4 17:57 Timelapse-CIw8R8thnm8_0.txt bitnami@ip-172-31-41-171:~/360Transformations/transformation/examples$

hirwaam commented 5 years ago

Issue is resolved after Xavier updated example configuration to the new Init file format