FFMpegConvertError when running setup.py test
Opened this issue · 0 comments
wpmccormick commented
Running on freebsd. Compiled ffmpeg from source.
root@cringe:/usr/local/share/python-video-converter # python setup.py test
running test
.E........
======================================================================
ERROR: test_converter (__main__.TestFFMpeg)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/share/python-video-converter/test/test.py", line 297, in test_converter
self.assertTrue(verify_progress(conv))
File "/usr/local/share/python-video-converter/test/test.py", line 22, in verify_progress
li = list(p)
File "../converter/__init__.py", line 213, in convert
timeout=timeout):
File "../converter/ffmpeg.py", line 495, in convert
total_output, line, pid=p.pid)
FFMpegConvertError: <FFMpegConvertError error="video:0kB audio:10kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.264493%", pid=60621, cmd="/usr/local/bin/ffmpeg -i test.aac -acodec libmp3lame -ac 1 -ab 32k -vn -sn -f mp3 -y /usr/local/share/python-video-converter/test/H6CUK34E50P1LGDCIV13/output.mp3">
----------------------------------------------------------------------
Ran 10 tests in 21.516s
FAILED (errors=1)
Traceback (most recent call last):
File "setup.py", line 51, in <module>
packages=['converter'],
File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 20, in run
raise Exception('tests failed')
Exception: tests failed