Commit d36c8223 authored by Priscila Manhaes's avatar Priscila Manhaes

added extra information for using FFMPEGHandler

parent 25c1b6cf
...@@ -110,3 +110,15 @@ Getting information of file: ...@@ -110,3 +110,15 @@ Getting information of file:
>>> metadata >>> metadata
{ 'ENCODER': 'Lavf52.64.2'} { 'ENCODER': 'Lavf52.64.2'}
NOTE
In case of importing FFMPEGHandler library is needed to import its used libraries
as well and set its enviroment for handler.
Example
>>> from cloudooo.handler.ffmpeg import Handler
>>> self.kw = dict(env=dict(PATH="../software/parts/ffmpeg/bin"))
>>> handler = Handler('my_path_data', open(test.ogv).read(), 'ogv', **self.kw)
>>> converted_data = handler.convert('mpeg')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment