flat assembler
Message board for the users of flat assembler.
Index
> Main > How does sound,video, and png work? |
Author |
|
zutokaza 15 May 2015, 06:45
Wondering how sound, videos, and
png work in fasm. ogg sound, ogv video, png, and bmp. |
|||
15 May 2015, 06:45 |
|
zutokaza 15 May 2015, 07:02
revolution wrote: Work in what way? Do you mean the file format? fasm doesn't specifically deal with any media formats but you can write code (for fasm to assemble) to decode and play/display media content in your chosen OS. How would decoding it work? Do I study the formats source code? |
|||
15 May 2015, 07:02 |
|
revolution 15 May 2015, 11:00
If it was me I would start with reading the file format specs. Probably only when all else fails would you want to read some source code to extract the algorithms and file layouts.
|
|||
15 May 2015, 11:00 |
|
zutokaza 15 May 2015, 11:03
revolution wrote: If it was me I would start with reading the file format specs. Probably only when all else fails would you want to read some source code to extract the algorithms and file layouts. Thank you Dr.Revolution. |
|||
15 May 2015, 11:03 |
|
TheRaven 23 May 2015, 07:28
You'll have to research the file format (media format in this case) then interpret/translate the algorithm into assembler essentially creating more commonly a decoder. Ogg and mp4 files (as examples) are read using decoders then output in the native format (Ogg or mp4 in this case) or transcoded and output. Transcoding is generally unnecessary except in situations where media is streamed to a device that does not or cannot support the original format/algorithm.
Regardless, you will have to do background research on the format optionally getting pre-existing examples (generally in C and/or C++) then develop your assembler media development libraries from there. You could also investigate using third party libraries in the desired operating system by including the DLL/SO executables instead of writing your own. |
|||
23 May 2015, 07:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.