NVlabs / neuralangelo

Official implementation of "Neuralangelo: High-Fidelity Neural Surface Reconstruction" (CVPR 2023)
https://research.nvidia.com/labs/dir/neuralangelo/
Other
4.27k stars 383 forks source link

Reduce target frames #166

Open davidceka opened 7 months ago

davidceka commented 7 months ago

Hi, I have a video with 8000 frames and i would like to process it. Is it possible to set a target frames max? 8000 it's way too big for the model to process.

zhj1013 commented 7 months ago

Hi, I have a video with 8000 frames and i would like to process it. Is it possible to set a target frames max? 8000 it's way too big for the model to process.

You can change the DOWNSAMPLE_RATE , in the command ffmpeg -i ${2} -vf "select=not(mod(n\,$3))" -vsync vfr -q:v 2 ${image_path}/%06d.jpg, use a larger value for the $3 parameter, such as 20.

davidceka commented 7 months ago

Hi, I have a video with 8000 frames and i would like to process it. Is it possible to set a target frames max? 8000 it's way too big for the model to process.

You can change the DOWNSAMPLE_RATE , in the command ffmpeg -i ${2} -vf "select=not(mod(n\,$3))" -vsync vfr -q:v 2 ${image_path}/%06d.jpg, use a larger value for the $3 parameter, such as 20.

Doesn't the down sample rate only change the number of down samples? I need less frames not less quality; Anyways I'll try as soon as I can