Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg infos crash on non utf8 data #800

Closed
alexzach opened this issue May 22, 2018 · 1 comment
Closed

ffmpeg infos crash on non utf8 data #800

alexzach opened this issue May 22, 2018 · 1 comment
Labels
bug Issues that report (apparent) bugs. lib-misc Issues pertaining to misc. 3rd-party libraries.

Comments

@alexzach
Copy link

I got some files that crashes on ffmpeg_reader trying to decode the infos as 'utf8'.
Adding

    infos = proc.stderr.read()
    try:
        infos = infos.decode('utf8')
    except:
        infos = infos.decode('latin-1')

solved it for me.

@keikoro keikoro added bug Issues that report (apparent) bugs. lib-misc Issues pertaining to misc. 3rd-party libraries. labels Dec 16, 2018
@tburrows13
Copy link
Collaborator

Fixed in #959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs. lib-misc Issues pertaining to misc. 3rd-party libraries.
Projects
None yet
Development

No branches or pull requests

3 participants