mpk / lightfield

Light field WebGL viewer
MIT License
70 stars 11 forks source link

Encoding failed #4

Open binorchen opened 4 years ago

binorchen commented 4 years ago

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

theCodes7 commented 4 years ago

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

PWhiddy commented 3 years ago

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!