3 ms·
I know what NTSC is, but what exactly is it encoding to/from? ADC-sampled composite video (at what samplerate?) to/from RGB/YCbCr?
by userbinator 4y ago
I know what NTSC is, but what exactly is it encoding to/from? ADC-sampled composite video (at what samplerate?) to/from RGB/YCbCr?
- Dwedit 4y agoThe first step for any NTSC decoder is to go to YIQ. From there, you go to any other color space of your choice. This is mainly for decoding the composite video signal generated by a computer or console. For example, the NES generates a 12-step square wave for its video output, and you'd decode that to YIQ then convert that to RGB.
- tenebrisalietum 4y agoI am confused about this myself. On the surface it seems to just be NTSC-izing (adding artifacts to) an existing image in PPM format. Cool I guess. usage: ./a.out -m|o|f|p|h outwidth outheight noise infile outfile sample usage: ./a.out -op 640 480 24 in.ppm out.ppm sample usage: ./a.out - 832 624 0 in.ppm out.ppm -- NOTE: the - after the program name is required ------------------------------------------------------------ m : monochrome o : do not prompt when overwriting files f : odd field (only meaningful in progressive mode) p : progressive scan (rather than interlaced) h : print help
- anyfoo 4y agoIt appears to encode and decode in one go, optionally adding noise. Should be easy to pull it apart and do either, in which case it looks like it would be able to produce sampled composite video, or process sampled data respectively.