liquidbrain
14th February 2006, 16:08
I had a couple questions about avi/wmp. It spans a few categories, but this seemed the best place for the topic (mods, please move it if you disagree):
The avi standard is 8-bits maximum for grayscale (8-bits per color channel), right? So does using codecs like mjpeg or mj2k work around that to save 16 bits of gray into a single channel? Do they get saved to an "AVI" file, or some sort of proprietary format file. I understand the codec treats each frame as a picture file, but wasn't sure about the universal function of this format:
I have heard that WMP & some other viewers cannot play anything but 8-bit (gray) video. Is this true even with codecs like mjpeg or mj2k? Is the file itself a 16-bit gray .avi, but the player limiting it to 8-bit gray on display?
On that note, are there any better options/tools to get 16-bit gray lossless video and stills from a 16-bit RAW file (consisting merely of <width>*<height>*<2 bytes gray>*<# frames)>)? I haven't coded in ages (and that only at the assembler level), so I'm looking for tools that may already be in existence - or at least routines to work from.
One final, unrelated question: Is there a way to specify a relative time when playing a video in WMP? Rather than a 3:20 video going from 0:00 to 3:20, can I tag the video to start at say 3:05, and thus run to 6:25?
Thanks much.
The avi standard is 8-bits maximum for grayscale (8-bits per color channel), right? So does using codecs like mjpeg or mj2k work around that to save 16 bits of gray into a single channel? Do they get saved to an "AVI" file, or some sort of proprietary format file. I understand the codec treats each frame as a picture file, but wasn't sure about the universal function of this format:
I have heard that WMP & some other viewers cannot play anything but 8-bit (gray) video. Is this true even with codecs like mjpeg or mj2k? Is the file itself a 16-bit gray .avi, but the player limiting it to 8-bit gray on display?
On that note, are there any better options/tools to get 16-bit gray lossless video and stills from a 16-bit RAW file (consisting merely of <width>*<height>*<2 bytes gray>*<# frames)>)? I haven't coded in ages (and that only at the assembler level), so I'm looking for tools that may already be in existence - or at least routines to work from.
One final, unrelated question: Is there a way to specify a relative time when playing a video in WMP? Rather than a 3:20 video going from 0:00 to 3:20, can I tag the video to start at say 3:05, and thus run to 6:25?
Thanks much.