test
This commit is contained in:
commit
dbb7950ef6
9
.gitignore
vendored
9
.gitignore
vendored
@ -6,4 +6,11 @@
|
||||
/output.txt
|
||||
/src/tests/morbius.webm
|
||||
/yt-dlp
|
||||
/test.mp4
|
||||
<<<<<<< HEAD
|
||||
/test.mp4
|
||||
=======
|
||||
/src/demo
|
||||
/src/tests/demo.zip
|
||||
/.DS_Store
|
||||
/src/.DS_Store
|
||||
>>>>>>> 463b110dde30173b32b4390f65df0e26aa264976
|
||||
|
@ -4,12 +4,14 @@ I was working on this instead of my finals, hope you appreciate it
|
||||
|
||||
WIP
|
||||
|
||||
[add gif of an embed here]
|
||||
[add gif of an embed here, don't forget tags]
|
||||
|
||||
AKA ISG (written entirely in Rust my beloved) lets you embed files into video and upload them to youtube as storage.
|
||||
|
||||
YouTube has no limit on amount of video that you can upload. This means that it is effectively infinite cloud storage if you were able to embed files into video with some kind of tool. ISG is the tool.
|
||||
|
||||
This has been quite heavily inspired by suckerpinch's [Harder Drive](https://www.youtube.com/watch?v=JcJSW7Rprio) video and [discord as a filesystem](https://github.com/pixelomer/discord-fs). Unfortunately no filesystem functionality as of right now
|
||||
|
||||
# Now, you might be asking yourself:
|
||||
|
||||
<details>
|
||||
|
BIN
src/.DS_Store
vendored
BIN
src/.DS_Store
vendored
Binary file not shown.
@ -171,7 +171,7 @@ fn etch_pixel(frame: &mut EmbedSource, rgb: Vec<u8>, x: i32, y: i32) -> anyhow::
|
||||
|
||||
fn etch_bw(source: &mut EmbedSource, data: &Vec<bool>, global_index: &mut usize)
|
||||
-> anyhow::Result<()> {
|
||||
let _timer = Timer::new("Etching frame");
|
||||
// let _timer = Timer::new("Etching frame");
|
||||
|
||||
let width = source.actual_size.width;
|
||||
let height = source.actual_size.height;
|
||||
@ -208,7 +208,7 @@ fn etch_bw(source: &mut EmbedSource, data: &Vec<bool>, global_index: &mut usize)
|
||||
|
||||
fn etch_color(source: &mut EmbedSource, data: &Vec<u8>, global_index: &mut usize)
|
||||
-> anyhow::Result<()>{
|
||||
let _timer = Timer::new("Etching frame");
|
||||
// let _timer = Timer::new("Etching frame");
|
||||
|
||||
let width = source.actual_size.width;
|
||||
let height = source.actual_size.height;
|
||||
@ -239,7 +239,7 @@ fn etch_color(source: &mut EmbedSource, data: &Vec<u8>, global_index: &mut usize
|
||||
}
|
||||
|
||||
fn read_bw(source: &EmbedSource, current_frame: i32, final_frame: i32, final_bit: i32) -> anyhow::Result<Vec<bool>>{
|
||||
let _timer = Timer::new("Dislodging frame");
|
||||
// let _timer = Timer::new("Dislodging frame");
|
||||
|
||||
let width = source.actual_size.width;
|
||||
let height = source.actual_size.height;
|
||||
@ -273,7 +273,7 @@ fn read_bw(source: &EmbedSource, current_frame: i32, final_frame: i32, final_bit
|
||||
}
|
||||
|
||||
fn read_color(source: &EmbedSource, current_frame: i32, final_frame: i32, final_byte: i32) -> anyhow::Result<Vec<u8>>{
|
||||
let _timer = Timer::new("Dislodging frame");
|
||||
// let _timer = Timer::new("Dislodging frame");
|
||||
|
||||
let width = source.actual_size.width;
|
||||
let height = source.actual_size.height;
|
||||
|
Loading…
Reference in New Issue
Block a user