lightfield icon indicating copy to clipboard operation
lightfield copied to clipboard

Encoding failed

Open binorchen opened this issue 4 years ago • 2 comments

Thanks a lot for the contribution to the community! I followed the instruction and installed the software successfully. But when I run node encoder.js -i {input_folder} -o {output_folder} -w {images_x} -h {images_y} -q {jpeg_quality}, there is an error as below:

[info] Progress: 2.04 %
[info] Progress: 4.08 %
[info] Progress: 6.12 %
[info] Progress: 8.16 %
[info] Progress: 10.20 %
[info] Progress: 12.24 %
[info] Progress: 14.29 %
[info] Progress: 16.33 %
[info] Progress: 18.37 %
[info] Progress: 20.41 %
[info] Progress: 22.45 %
[info] Progress: 24.49 %
[info] Progress: 26.53 %
[TypeError: Cannot read property '1' of null] 'TypeError: Cannot read property \'1\' of null\n    at /..../lightfield/scripts/encoder/tasks.js:75:68\n    at process._tickCallback (node.js:368:9)'
[error] Encoding has failed.

Can you help with it? I am running on Ubuntu16.04

binorchen avatar Jun 28 '20 08:06 binorchen

Hi, What is the content of input folder, output folder and other parameters? Please share!

theCodes7 avatar Sep 04 '20 03:09 theCodes7

Okay so this is strange, I was running into the same issue. I ran the script a second time and it made further progress, I ran a third time and it made less. After about 10 attempts one run completed successfully. Not sure why this is yet, but maybe this info is helpful to someone!

PWhiddy avatar Jan 04 '21 10:01 PWhiddy