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

Zero byte output file and pure white png #80

Open
cbusillo opened this issue Jun 16, 2024 · 2 comments
Open

Zero byte output file and pure white png #80

cbusillo opened this issue Jun 16, 2024 · 2 comments

Comments

@cbusillo
Copy link

Hi! When using pgsrip with a BD3D, Walk, the output files are 0 bytes. After a bit of digging, it appears the PgsImage class is creating an object of all 255. The rle_data appears to contain data (I don't know how to interpret it). The pgs in the mkv appear fine since the subtitles work in a player and SubtitleEdit.

I'm stuck on troubleshooting at this point. I would appreciate any help! I use pgsrip in my 3D Blu-ray to MV-HEVC (Apple Vision Pro) converter and would love to figure out why this one (and possibly others) do not work. This issue happens across different machines and with a clean macOS install. This is running on Python 3.12 on the latest macOS.

Thank you!

@ratoaq2
Copy link
Owner

ratoaq2 commented Jun 22, 2024

You have the file. Did you try debugging in an IDE?

@cbusillo
Copy link
Author

cbusillo commented Jun 22, 2024

I tried to step through the code, but I got lost. The sup extracted does convert to text, you can see that below. I have a zip of the .pgsrip temp folder if you would like me to send that to you for testing. So far I have only encountered the issue on "Walk". All of the languages produce the same blank white png and zero byte srt. If you are interested at looking at the temp folder, let me know how to send them. I think posting it here would be bad since it contains copy written subtitles.

Screenshot 2024-06-22 at 3 58 30 PM

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