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

Too many or few errors? #2

Closed
Deepesh9620 opened this issue Jun 11, 2024 · 5 comments
Closed

Too many or few errors? #2

Deepesh9620 opened this issue Jun 11, 2024 · 5 comments

Comments

@Deepesh9620
Copy link

Screenshot_20240611-193538_Parsec
Can you please help me resolve this

@karaketir16
Copy link
Owner

Did you run with default parameters, I mean did you changed anything in code?

Did you upload the video to youtube and download, or just encode and decode?

@Deepesh9620
Copy link
Author

I didn't change any code.
I encoded the file, uploaded it to youtube waited for the processing and pasted the link in the command.

@karaketir16
Copy link
Owner

You can try downloading the video with another tool (there are many tools for downloading videos from YouTube).

Then, try decoding the downloaded video. I am not sure if this will make any difference.

It is likely that YouTube's video compression creates more errors than Reed-Solomon can fix.

If you lose any data, sorry for that. I didn't expect that to happen. I should add a warning to the readme.

The best I can do is add an option for creating a file even if errors exist. This will create the corrupted file, and maybe you can recover some data from it.

If you have the original generated video file, can you try to decode it without uploading it to YouTube?

@Deepesh9620
Copy link
Author

No data was lost I didn't delete the original file was just testing of this script. Thanks

@karaketir16
Copy link
Owner

Thanks for reporting. I added a warning to README.

If you want to try, you can increase the global_reedEC value in common.py that should be reduce the risk of corruption. Same values must be used for encoding and decoding.

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