Code Monkey home page Code Monkey logo

ffmpymedia's People

Contributors

flaviocpontes avatar

Watchers

 avatar  avatar  avatar

ffmpymedia's Issues

Bug no parser.py

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.