uyitroa / osr2mp4-core

A program to convert osu replay file osr to mp4. Sample: https://www.youtube.com/watch?v=5ugu_9yDSg0
MIT License
118 stars 14 forks source link

Use a package-specific logger #67

Closed christopher-dG closed 3 years ago

christopher-dG commented 3 years ago

Closes #65

The output of ffmpeg commands are still printed to stdout/stderr even when using a file or null logger, so it's not entirely silent, but it's a big improvement IMO. Maybe I'll work on putting the ffmpeg output into the log stream later in a separate branch.

edit: it actually wasn't very hard

I also removed one place where sys.excepthook is set, since it's already set in the Osr2mp4 constructor.