question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jumpcutter can't handle inputs with spaces

See original GitHub issue

./jump --input_file filename\ with\ spaces will try to load from filename

Definitely seems like a problem in argparse, but there might be an easy way to make it still work.

Obviously there is an easy workaround of naming a file without spaces, but it would be nice to allow it.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
abhiTronixcommented, Apr 12, 2019

@abhiTronix That’s a hacky solution. We need to replace shell invocations with pure argument-list ones.

This is actually the correct way to do it: https://github.com/balsoft/jumpcutter/blob/5a5adddd14cf4242cfb54ec26ae6a043f77b202c/jumpcutter.py#L116

@balsoft No its a problem with Unix systems, as they fail to take filename/ foldername with space(s) as input on the terminal. Here’s the more insight into this problem: https://askubuntu.com/questions/516772/how-to-access-files-directories-with-spaces-in-the-name , Your solution will not work on the terminal, and the algorithm will fail before it even starts. Here is an example, try this: python jumpcutter.py --input_file abc/filename with space.mp4 Output: no such file or directory Hope that clears your doubt.

3reactions
Bottersnikecommented, Apr 11, 2019

Does --input_file "filename with spaces" not work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatic on-the-fly video editing tool! - YouTube
Go here for my friend and I's most-polished version of this project: https:// jumpcutter.com/More up-to-date version of this video: ...
Read more >
How prevent whitespace in input field with plain javascript
Use event.preventDefault to prevent its default behavior. var field = document.querySelector('[name="username"]'); field.addEventListener('keypress' ...
Read more >
VWRT: Automatically cut out low volume clips with ffmpeg
Run with vwrt [-i "INPUT"] [-t REG_SPEED] [-s LOWVOL_SPEED] [-o "OUTDIR"] . ... However it does take up a TON of space while...
Read more >
Top 8 Video Silence Removers to Remove Silence from Video
Your browser can't play this video. ... However, the silence remover tool in Jump Cutter might take some time, depending on the video...
Read more >
Top 10 Quotes: Redskins-Titans Practice Week
"He's got to handle the progressions, the snap counts, the formations, ... he makes plays in space [and] he's a good jump cutter....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found