django-video-encoding icon indicating copy to clipboard operation
django-video-encoding copied to clipboard

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position ...: invalid start byte

Open ayushin opened this issue 2 years ago • 1 comments

When a video has a non utf-8 metadate the encoding breaks. This is the output of ffmpeg:

    com.apple.quicktime.artwork: ����

And here is where the encoding breaks:

video_encoding/backends/ffmpeg.py", line 97, in encode
line = reader.readline()

I think there should be no problem to ignore invalid characters of ffmpeg is happy to process the file?

ayushin avatar Apr 06 '22 08:04 ayushin

@escaped any chance for some feedback on this?

ayushin avatar Jun 22 '22 16:06 ayushin