dunnjm814 / audioconverter

6 stars 0 forks source link

Corrupted file #9

Closed dunnjm814 closed 3 years ago

dunnjm814 commented 3 years ago

test case with 141mb MOV file converted to unplayable mp3 file... Possible issues:

  1. In addition to file type, we also need to account for codec on the file.
  2. The current python timer thread is too short to stream that file size back.
dunnjm814 commented 3 years ago

This issue has been resolved by reformatting flask server to leverage global app context to run cleanup methods after_request is made, in tandem with overriding default gunicorn timeout.