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

'utf-8' codec can't decode byte 0x8c in position 1708: invalid start byte #3

Open
SamueledelVescovo opened this issue Feb 26, 2021 · 2 comments

Comments

@SamueledelVescovo
Copy link

Hi Karol,
I am trying to use this library.
When i call "videos_to_frames_pipe()" function i got this error : "'utf-8' codec can't decode byte 0x8c in position 1708: invalid start byte" on my own dataset (which includes some videos of Ucf-101 datasets).

I suppose there is some error in some videos, but I can't figure out which one.
I thank you for your availability.

Bests
Samuele

@karolzak
Copy link
Owner

Hi @SamueledelVescovo
Yeah, I would guess there's something wrong with one of the files.
You can try modifying that videos_to_frames_pipe() function to add something like below to the begining of the pipe:

...
| mp.iter('filename', lambda fn: print('Processing: ', fn))
...

That way you would at least print the filename before it throws exception maybe.

@SamueledelVescovo
Copy link
Author

Hi Karol,
thanks for your advice.
I wish you good work.

Bests
Samuele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants