I have an idea for how to transfer audio in a video file without an explicit audio stream.There is a method for converting .wav audio files to .png images and back.https://github.com/directmusic/wav2pnghttps://direct.wtf/wav2png/It works quickly, with some quality loss, but it still works and maintains time synchronization with the video.The tasks are as follows:1. How to transfer a video file along with a .png file?copy /b "video-noaudio.mp4" + "image-png.zip" "video.mp4"If you open such a video file in an archiver, you can extract the .png.2. Decode the .png to .wav.3. And run it all simultaneously in the browser.4. PROFIT!So, we need to create a browser plugin.Get to work.
>>108732183
>>108732183>Get to work.Use AI to vibe code it
>>108732183No.What you want is reserve a band at top or bottom of your image and slap the frequency graph of the audio for this frame.Yeah, it will be compressed, and yeah, it will move along the video.But you both keep the sync and reduce the step needed.And if you really want to go the image route, then, again, go with frequency, and slap the image at the end (or beginning) of the video.
>anons reinventing SSTV
You really going to keep spamming this shitty thing? Really?
>>108732203fpbp
>>108732183Why would you bother with the png if you're zipping it anyway? Just zip the wab.
>>108732183How are you even getting quality loss bro.You just have to encode the .png as a .wav file with pcm8 and then decode it back.You can send any binary file in a .flac form that way.You just need to rawvideo input and output and pipe it as a pcm8 into the flac/wav format and decode it back.Okay that's backend-less.You need to figure out how to use a different PCM format in JS if it even is possible.One of the problems is you export the .wav as float32array, PCM8/PCM16 will operate on INT8\16/UINT8\16.And if you can encode just a single channel, though you will be the one defining how the interleave is done.Is it even possible in the JS api to set .wav as PCM8 or do you just provide it with a ByteArray and it detects the format?
>>108732516>What you want is reserve a band at top or bottom of your image and slap the frequency graph of the audio for this frame.if you want to retain legible audio after compression it will bloat the video size. you don't just need to store the audio band, you need to keep the entire frame at a higher bitrate to retain all features with the same spatial+temporal frequency resolution because your codec doesn't know you only care about the top few pixels.
>>108734938>>108734884>>108732203qrd?
>>108732183>copy /b "video-noaudio.mp4" + "image-png.zip" "video.mp4"windows
>>108732183>what is 4chan sounds
>>108732203doesn't work with 7z for this filealso I remember 4chan removes embeds, especially easy ones like you are suggesting
>>108736325Yes, data is removed from MP4 and WebM files when sending messages. These formats contain metadata about the length and size of the video stream, and everything unnecessary is removed. I even tried inserting data into the middle of the file.