aizvorski / scikit-video

Video processing routines for SciPy
Other
138 stars 21 forks source link

VideoWriter cannot write file #2

Closed agiantwhale closed 9 years ago

agiantwhale commented 9 years ago
(env)jae@tesla ~/D/s/s/examples> python test_writer.py test_video 1280 720
Traceback (most recent call last):
  File "test_writer.py", line 21, in <module>
    wr.open()
  File "/home/jae/Development/pigeon/env/local/lib/python2.7/site-packages/skvideo/io/__init__.py", line 150, in open
    self.proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
aizvorski commented 9 years ago

skimage uses avconv for video I/O. Please try installing avconv (and make sure it is in your path).

On Ubuntu: sudo apt-get install libav-tools

On other linux: get from http://johnvansickle.com/libav/ unpack and put in path

ffmpeg may work as well but is untested (change avconv/avprobe to ffmpeg/ffprobe in skvideo/io/initpy source)

agiantwhale commented 9 years ago

Confirmed. Thank you.