flaviocpontes / ffmpymedia Goto Github PK
View Code? Open in Web Editor NEWPython 3.3+ FFMPEG wrapper
License: MIT License
Python 3.3+ FFMPEG wrapper
License: MIT License
Flávio,
A biblioteca está apresentando um erro no módulo parser.py, como descrito abaixo.
Traceback (most recent call last):
File "/opt/transcoder/transcoder/pipemanager.py", line 221, in <module>
main(sys.argv)
File "/opt/transcoder/transcoder/pipemanager.py", line 201, in main
pipemanager.start()
File "/usr/local/lib/python3.5/dist-packages/daemonator/daemonator.py", line 108, in start
self.run()
File "/opt/transcoder/transcoder/pipemanager.py", line 77, in run
mainloop(self.config)
File "/opt/transcoder/transcoder/pipemanager.py", line 144, in mainloop
config.get('encoding'))
File "/opt/transcoder/transcoder/encoder.py", line 182, in encode
config.get('input-layout')):
File "/opt/transcoder/transcoder/encoder.py", line 52, in validate_media_layout
ffmpymedia.MediaFileTemplate(**layout))
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/media.py", line 53, in validate_with_template
descriptor = probe.MediaProbe.get_media_file_input_params(media_file)
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/probe.py", line 57, in get_media_file_input_params
return MediaProbe.get_params_from_ffprobe(MediaProbe._ffprobe_media_file(filename, path))
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/probe.py", line 66, in get_params_from_ffprobe
resultado = MediaProbe._parse_ffprobe_output(ffprobe_output)
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/probe.py", line 43, in _parse_ffprobe_output
return ctx.process()
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/parser.py", line 123, in process
self.subcontext.process()
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/parser.py", line 252, in process
self.state.process(self)
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/parser.py", line 553, in process
parser.state.process(parser)
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/parser.py", line 186, in process
self.state.process(self)
File "/usr/local/lib/python3.5/dist-packages/ffmpymedia/parser.py", line 868, in process
parser.root.update({'bitrate': str(int(values.groups()[0])*1000)})
AttributeError: 'NoneType' object has no attribute 'groups'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.