composite-video-simulator icon indicating copy to clipboard operation
composite-video-simulator copied to clipboard

SECAM

Open chezsick opened this issue 6 years ago • 8 comments

You Can Add Secam in The Software? In The Option -tvstd Please The Documentation At ::::: http://www.radios-tv.co.uk/Pembers/World-TV-Standards/Colour-Standards.html#SECAM

Thank Sick!

chezsick avatar Dec 24 '18 21:12 chezsick

Why you do not want add secam? i waiting for 6 mounth :/

chezsick avatar Aug 03 '19 11:08 chezsick

@chezsick I'm not interested in doing so, however you or anyone else is free to do so, especially someone who is experienced with the look and feel of SECAM. Unfortunately as an American I have never seen a SECAM signal.

joncampbell123 avatar Aug 03 '19 15:08 joncampbell123

@chezsick If you want a good example how to emulate SECAM, look at ffmpeg_ntsc.cpp which contains color subcarrier modulation and demodulation, and RGB to YIQ conversion.

Then, modify the code to convert RGB to SECAM's colorspace and back again, and modify based on what you know about SECAM.

joncampbell123 avatar Aug 03 '19 15:08 joncampbell123

https://github.com/svofski/CRT/tree/master/SECAM this is secam write in python

i hope you read the python?

chezsick avatar Aug 04 '19 11:08 chezsick

@chezsick I believe ffmpeg_ntsc.cpp can be easily modified to incorporate SECAM emulation from the python script. Would you like to give it a go?

joncampbell123 avatar Aug 04 '19 14:08 joncampbell123

I try this script in python, is work. and i not a greate coder i can't to help, i no code in c++

chezsick avatar Aug 04 '19 14:08 chezsick

Copy ffmpeg_ntsc.cpp to ffmpeg_secam.cpp

Then edit Makefile.am.

Locate bin_PROGRAMS = and add to the list: ffmpeg_secam

Then down below you'll find pairs of Makefile vars for ffmpeg_ntsc. Copy them, and change in the copy ffmpeg_ntsc_ to ffmpeg_secam_

Good luck! C++ pointers and inline functions are used in this code. The video processing is done at a stage where the frame is 32-bit XRGB (RGB colorspace), 4 bytes per pixel.

joncampbell123 avatar Aug 04 '19 15:08 joncampbell123

I think secam is not same as ntsc since it should not has Rainbow and Dot Crawl and when bad recorded in VHS it will give bad color over saturated

see https://www.youtube.com/watch?v=L6-eT66pr-E or worst https://www.youtube.com/watch?v=uqfZuP4Og5U and here PAL vs SECAM https://www.youtube.com/watch?v=tZKBIM6cFNw (not damaged)

I used to record it in Modified SECAM in JVC (SECAM in PAL encoding) to not make it worst

realfinder avatar Oct 01 '20 20:10 realfinder