nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

ffmpeg required for images (custom dataset)

Open tonyyu0822 opened this issue 1 year ago • 1 comments

Hi, I am trying to use colmap on custom image dataset and specified in command: ns-process-data images ......... and also commented the check_install.py file However, ffmpeg is still required when running command ( ● ) Copying images...────────────────────────────────────────────── 💀 💀 💀 ERROR 💀 💀 💀 ─────────────────────────────────────────────── Error running command: ffmpeg -y -noautorotate -i "/home/by12/Datasets/OMMO/05/After/images/frame_%05d.jpg" -q:v 2 -vf crop=iw-0:ih-0 "/home/by12/Datasets/OMMO/05/After/images/frame_%05d.jpg" ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── /bin/sh: 1: ffmpeg: not found

tonyyu0822 avatar Feb 08 '23 23:02 tonyyu0822

It looks like ffmpeg isn't installed. Can you try installing it and rerun the script.

tancik avatar Feb 09 '23 00:02 tancik

Hello,

Whether you managed yourself to figure out the solution or not. I would give you my solution after had spent a few hours on struggling to install colmap and ffmpeg as well. you can manually download the packages and put them in external folder, for example: externals\ffmpeg\ffmpeg-master-latest-win64-gpl\bin Then you append the location to Path Env: image

trungswat avatar Mar 04 '23 08:03 trungswat

Thanks for the additional pointers @trungswat

tancik avatar Apr 15 '23 00:04 tancik

could anyone tell me how to solve this problem? I m trouble in it Ubuntu 22.04 python 3.8 FFmpeg 4.4

Gloamirror avatar Dec 12 '23 16:12 Gloamirror

@Gloamirror apt install ffmpeg or sudo apt install ffmpeg not working?

maturk avatar Dec 12 '23 16:12 maturk

? ohhh~ you're so quick. no,suddenly, I found the OS system FFmpeg 's. version is 4.4 . but it appeared same problem

Gloamirror avatar Dec 12 '23 16:12 Gloamirror