ofxVideoRecorder icon indicating copy to clipboard operation
ofxVideoRecorder copied to clipboard

ofxVideoRecorder seems to fail when the path to app (and ffmpeg) has spaces in it

Open ofZach opened this issue 4 years ago • 2 comments

I noticed a couple of issues -- it's all a little hazy but some notes if helpful

a) open(...) used to get the file handle for the pipes, seems unhappy when the path has spaces b) the commands for ffmpeg seem unhappy when there is spaces in the path to ffmpeg

about (a) I am not 100% certain but I think it's an issue. the solution for me for (a) was to use a relative path without spaces -- since I'm doing something kind of funky and having ffmpeg inside the app bundle and for (b) the solution was to modify how the command is put together and wrap the path to ffmpeg in some quotes.

I'll investigate this some more before a PR but in case it's helpful, just writing some notes here.

ofZach avatar May 07 '21 16:05 ofZach

(ps: what a great add-on. ridiculously helpful...)

ofZach avatar May 07 '21 16:05 ofZach

Hi Zach!

Thanks for the bug report. There have been issues in the past with spaces in filenames, and ffmpeg seems to be extra finicky in that regard. I'll take a look soon, and happy to accept a PR if you're able to pin it down in the meantime.

timscaffidi avatar May 11 '21 14:05 timscaffidi