senko / python-video-converter

Python Video Converter (ffmpeg wrapper)
468 stars 191 forks source link

Unicode Error while calling convert function #50

Open MurthyAvanithsa opened 10 years ago

MurthyAvanithsa commented 10 years ago

When i was trying to covert a WMV file it shows this error

Traceback (most recent call last): File "/virtualenvs/celery/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task R = retval = fun(_args, _kwargs) File "/virtualenvs/celery/local/lib/python2.7/site-packages/celery/app/trace.py", line 437, in protected_call return self.run(_args, _kwargs) File "/virtualenvs/celery/inviterjobs/workers/finalvideo/tasks.py", line 38, in finalvideo for timecode in converter_convert: File "/virtualenvs/celery/local/lib/python2.7/site-packages/converter/ffmpeg.py", line 453, in convert ret = ret.decode(console_encoding) File "/virtualenvs/celery/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 9: unexpected end of data

mauricioabreu commented 9 years ago

Show what you have done. What was the command you issued?