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

seem it cant not prevent data loss from video encoder #1

Open
undefine-man opened this issue Sep 25, 2023 · 2 comments
Open

seem it cant not prevent data loss from video encoder #1

undefine-man opened this issue Sep 25, 2023 · 2 comments

Comments

@undefine-man
Copy link

hi, i first came up with this idea few months ago.
Recently , i want to finish this idea. I cant believe i find this was a six years old project.
I read the README, it seems it only encodes or converts data to a series of images ,then plays the images,
but not prevent the data loss from compress when video is in video encoding .
As i know , a video not only a series of images, a lost of data will be droped after a series of images being VIDEO ENCODER encoded in order to compress the storage consumption.
I wonder whether you have any thought of keeping it from data loss in encoding process.

@bfaure
Copy link
Owner

bfaure commented Sep 28, 2023

Hey @undefine-man , cool to hear you had a similar idea. So in terms of losing data during video encoding, I think my idea was to increase the size of the white and black squares. So for example at the moment I think in the original code the squares are 1x1, but if you increase that to like 10x10 or 20x20, resulting in larger squares, there’s less of a chance they’ll be removed during the video encoding process simply because they’re a larger part of the picture. Not sure if that actually makes sense, but I only really got to the point of making the pictures and turning them into a .gif which is lossless at least in this case so I didn’t run into the encoding problem. Although with normal video formats you would of course.

@bfaure bfaure closed this as completed Sep 28, 2023
@bfaure
Copy link
Owner

bfaure commented Sep 28, 2023

Didn’t mean to close the issue :/

@bfaure bfaure reopened this Sep 28, 2023
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