Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [0.0.7](https://github.com/JumpCutter/JC-render/compare/v0.0.6...v0.0.7) (2021-11-30)


## Bug Fixes
- __ascii__ : stderr from WHAT IS THIS now decoded with utf8 so decode doesn't throw with
non ascii characters in video file name

## [0.0.6](https://github.com/JumpCutter/JC-render/compare/v0.0.5...v0.0.6) (2021-07-23)

Expand Down
2 changes: 1 addition & 1 deletion render.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def has_stream(self, file_name, stream='v'): # NOQA
probe_all = ffmpeg.probe('{}'.format(file_name), cmd=self.ffprobe_path)
except Exception as e:
self.logger.warning("WHAT IS THIS") # FIXME: @JUL14N this one's for you buddy:)
stderr = e.stderr.decode('ascii').replace('\n', '\n\t')
stderr = e.stderr.decode('utf8').replace('\n', '\n\t')
self.logger.warning(f"ffprobe stderr:\n\t{stderr}")
if stream == 'v':
self.logger.debug("probe result -\n" + json.dumps(probe_all, indent=2))
Expand Down