Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_video_resolution uses ffprobe, which is not going to be on everyone's client #105

Open
youralien opened this issue Apr 26, 2017 · 6 comments
Labels

Comments

@youralien
Copy link

File "app.py", line 201, in open_feature_video
    self.feature_tracking_video_player.openFile(video_path)
  File "/Users/scope/SantosGUI/application/custom/videographicsitem.py", line 136, in openFile
    res_orig = get_video_resolution(fileName)
  File "/Users/scope/SantosGUI/application/video.py", line 21, in get_video_resolution
    out = subprocess.check_output(['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_streams', videopath])
  File "/Users/scope/miniconda2/envs/santosguiqt5/lib/python2.7/subprocess.py", line 212, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/Users/scope/miniconda2/envs/santosguiqt5/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/Users/scope/miniconda2/envs/santosguiqt5/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
@youralien youralien added the bug label Apr 26, 2017
@runnersaw
Copy link
Member

ffprobe is installed with ffmpeg in the install_conda_deps script.

@runnersaw
Copy link
Member

At least I'm pretty sure that was the case. When I tested on a fresh Ubuntu system that didn't have ffprobe, when I activated the environment, ffprobe existed.

@runnersaw
Copy link
Member

Have you activated your environment? If so, what is your OS and have you run install_conda_deps.sh recently?

@youralien
Copy link
Author

Thanks for that reminder about ffprobe being installed with install_conda_deps

I don't know what happened to my own install, but I did have the environment activated and ffprobe was not there. I'm trying install_conda_deps.sh with a fresh env and seeing what's happening

@youralien
Copy link
Author

With a fresh env, the ffprobe binary is there, but now I have a permission denied error.

@runnersaw
Copy link
Member

Did you put sudo before either the anaconda install or the environment install? Don't do either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants