11-19-2025, 08:55 PM
@madscijr
MP3 is subject to a license. MP2 and MP1 have expired licenses, but there are tables that are part of the standards and still require payment. Although these values can be found on GitHub, I think it could be considered problematic content here, and I don't want to cause any issues. I haven’t worked on this yet anyway.
As for this format, it’s quite simple. Think of it this way: if you want to store audio in a video file (even in your own format, it doesn’t have to be just AVI), you need to synchronize the image and the sound. That’s why you need an encoder, so you can “cut” the audio data into parts that match the video frames. Then you have options: uncompressed WAV 8-bit, 16-bit, 24-bit, 32-bit, mono or stereo, and you can set the bitrate. But the resulting audio files are gigantic, even though compared to video files they’re still tiny.
For audio in video, you have the option of MP2 (ideally inspired by the C parser from GitHub). No one has written this in BASIC, and as far as I know, OGG doesn’t work well with AVI.
MP3 is subject to a license. MP2 and MP1 have expired licenses, but there are tables that are part of the standards and still require payment. Although these values can be found on GitHub, I think it could be considered problematic content here, and I don't want to cause any issues. I haven’t worked on this yet anyway.
As for this format, it’s quite simple. Think of it this way: if you want to store audio in a video file (even in your own format, it doesn’t have to be just AVI), you need to synchronize the image and the sound. That’s why you need an encoder, so you can “cut” the audio data into parts that match the video frames. Then you have options: uncompressed WAV 8-bit, 16-bit, 24-bit, 32-bit, mono or stereo, and you can set the bitrate. But the resulting audio files are gigantic, even though compared to video files they’re still tiny.
For audio in video, you have the option of MP2 (ideally inspired by the C parser from GitHub). No one has written this in BASIC, and as far as I know, OGG doesn’t work well with AVI.

