python-ffmpeg icon indicating copy to clipboard operation
python-ffmpeg copied to clipboard

fix decode of stderr lines

Open chadawagner opened this issue 8 months ago • 0 comments

Encountered a case where non-utf8 ID3 tags in normal stderr output will cause exceptions in an otherwise successful process. Telling decode() to ignore or replace errors fixes the issue. This PR uses "backslashreplace" as the codec error handler, rather than the default which is "strict".

Opened https://github.com/jonghwanhyeon/python-ffmpeg/issues/57

chadawagner avatar May 30 '24 22:05 chadawagner