mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2025-01-22 12:29:57 +00:00
kris
c00300147e
Integrated audio + video player!
- Introduce a new Movie() class that multiplexes audio and video. - Every N audio frames we grab a new video frame and begin pulling opcodes from the audio and video streams - Grab frames from the input video using bmp2dhr if the .BIN file does not already exist. Run bmp2dhr in a background thread to not block encoding - move the output byte streaming from Video to Movie - For now, manually clip updates to pages > 56 since the client doesn't support them yet The way we encode video is now: - iterate in descending order over update_priority - begin a new (page, content) opcode - for all of the other offset bytes in that page, compute the error between the candidate content byte and the target content byte - iterate over offsets in order of increasing error and decreasing update_priority to fill out the remaining opcode
Description
Streaming video and audio for Apple II
Languages
Python
71.4%
Assembly
14.5%
Makefile
7.2%
Shell
4.9%
AppleScript
2%