Color PAL Encoding

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2024
  • This video demonstrated how the color signal is modulated and corrected on PAL. The composite signal is generated using the ESP32 and displayed on a TV.
    Project page with code, demo tool and more:
    bitluni.net/esp32-color-pal/
    Web page on video signals:
    www.radios-tv.co.uk/Pembers/W...
    The complete playlist for this series is here: • ESP32 Game Console
    plz share :-)
    Consider supporting our work on Patreon for some extras:
    / bitluni
    We are also thankful for any donation on PayPal:
    paypal.me/bitluni
    ..or use our affiliate links:
    LOLIN 32 board for $6.90
    s.click.aliexpress.com/e/jYvJIEi
    Twitter: @bitluni
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 123

  • @gregclare
    @gregclare 6 ปีที่แล้ว +59

    Amazing work! What you have achieved, using just an ESP32 with no external components, is actually quite outstandingly impressive! Sir, you represent the epitome of creative technical expertise!

  • @bassome3000ify
    @bassome3000ify 6 ปีที่แล้ว +22

    There are not adequate good words in English to describe how good and informative are your videos

  • @7tkh
    @7tkh 6 ปีที่แล้ว +30

    Awesome work! It was already surprising to me that composite video is possible with the DAC. But that you got PAL working is just amazing!

  • @NoahFect
    @NoahFect 5 ปีที่แล้ว +7

    Not only a very nice hack, but an exceptionally sharp presentation to go with it!

  • @StephanEdelman
    @StephanEdelman 6 ปีที่แล้ว +6

    Absolutely marvellous. This is no small feat. I'm surprised you can feed the DAC at that rate and have time for application/game processing.

  • @EricFergusonCinema
    @EricFergusonCinema 2 ปีที่แล้ว +2

    This is so impressive, and very useful for ESP-32 projects because small TFT displays sold as automotive "backup camera" displays seem to be about the same price as just buying the bare LCD, which then of course requires a zillion pins and headaches to use. And they're basically all PAL/NTSC right out of the box. What a relief to be able to use them with with just ONE microcontroller pin! I have a few on the way and am excited to get started with this.

  • @user-ex3kz9bw5b
    @user-ex3kz9bw5b ปีที่แล้ว +1

    I can't believe it took me four years to see this video…Amazing!!!!!

  • @lit2021
    @lit2021 6 ปีที่แล้ว +2

    Wow, thank you for the simple explanation of PAL color :D So basically, two lines carry the same color but one line has inverted phase (180 deg). I can draw the analogy with the XLR balanced audio lines that all stage microphones and mixers use (three wires - positive, inverted and ground), except that here the same color information is delayed exactly one line and inverted. I finally understand why old color TVs used ultrasonic delay lines.

  • @Alacritous
    @Alacritous 6 ปีที่แล้ว +8

    Dude. You do amazing work.

  • @dr_jaymz
    @dr_jaymz 2 ปีที่แล้ว +1

    Excellent work! I was wondering about this and here it all is. This, makes me very happy.

  • @cali-co6428
    @cali-co6428 6 ปีที่แล้ว +3

    i just looking for this 8 hours ago, now you got it, coincidence? i think not.

    • @bitluni
      @bitluni  6 ปีที่แล้ว +2

      The webz is a scary mind controlling organism. Thoughts of others are imprinted in all the small messages of social media and ripple trough all the unnoticed channels syncing your mind. Then you wake up in the morning having an idea, but it was already sneaking in your mind unnoticed for days and weeks influenced by the collective.
      Seriously... It's sometimes scary

  • @xcruell
    @xcruell 6 ปีที่แล้ว

    Hammer Video :)
    Freue mich auf die nächsten !

  • @John_Ridley
    @John_Ridley 6 ปีที่แล้ว +1

    Amazing work. You are a madman and I love it.

  • @AjinkyaMahajan
    @AjinkyaMahajan 5 ปีที่แล้ว

    outstanding explanation. Simply love it

  • @charlesdorval394
    @charlesdorval394 6 ปีที่แล้ว +2

    Definitely an appropriate ending hehehe
    Great stuff, as always :)

  • @mobluse
    @mobluse 6 ปีที่แล้ว

    Very impressive! I got it working on my HUZZAH32 using a portable DVD-player with video in (A1). Press reset if you don't hear any sound (A0), because it's only in the beginning. This image was better than the earlier monochrome programs.

  • @SzDavidHUN
    @SzDavidHUN 6 ปีที่แล้ว +20

    When you make a 128Hz 8Bit wav player and you're proud of it, and this guy came and makes -b/w video- *-color-* -video- *color game console* .
    Btw take your well earned bell icon :)

    • @bitluni
      @bitluni  6 ปีที่แล้ว +5

      What counts is that you had a great feeling accomplishing it!

  • @hollensted
    @hollensted 6 ปีที่แล้ว

    Thats so awesome! Cant wait to get home and upload the code. Now i have to order the gamepad. :)

  • @fsphil
    @fsphil 6 ปีที่แล้ว +1

    Excellent work! The colour fringing on sharp edges probably isn't due to the DAC. A sharp edge in the luminance signal will produce high frequency energy that gets added to the colour subcarrier. It's a common problem with composite signals. S-Video solves this by physically separating the two signals.
    (Sorry if you already know all this, I've been working on a project to generate TV signals and it's all fresh in my head :-)

  • @dl8cy
    @dl8cy 6 ปีที่แล้ว +5

    awesome - just awesome!

  • @ChunkySteveo
    @ChunkySteveo 6 ปีที่แล้ว

    ...tips hat in direction of bitluni.... good work, sir!!

  • @TheJay6621
    @TheJay6621 6 ปีที่แล้ว

    great work.. what i was waiting for.. through whole video is at Outro..

  • @theengineer9910
    @theengineer9910 4 ปีที่แล้ว

    Im gonna try to dive deep into ESP AV with these beautiful videos i love everything composite video

    • @theengineer9910
      @theengineer9910 4 ปีที่แล้ว

      Im taking a break from Video to try to port a WAV player library to my PIC32 but I got your PAL to work its beautiful SNES looking graphics ! But the program memory kept filling up so i had to get rid of all the audio code sadly maybe its my ESP board but your code is really easy to read ill do something big with it in the future i gotta

  • @OliNorwell
    @OliNorwell 5 ปีที่แล้ว +1

    For anyone getting the error about the program being too large - comment out the audio/music parts and recompile. It'll then fit fine.
    I have it working here in front of me, really awesome stuff!! Original composite example failed after a couple of seconds but this is still working great after 5 mins.

    • @TopoAndyGigio
      @TopoAndyGigio 4 ปีที่แล้ว

      select under: tools->partition scheme->huge app

  • @electronash
    @electronash 6 ปีที่แล้ว

    Awesome work. :D
    I knew you couldn't resist attempting colour at some point. lol

  • @bubbathemaster
    @bubbathemaster 6 ปีที่แล้ว

    Absolutely amazing

  • @Philip8888888
    @Philip8888888 5 ปีที่แล้ว

    Awesome work!

  • @JohnoScott
    @JohnoScott 6 ปีที่แล้ว

    Wow you did it. Awesome !!!

  • @avejst
    @avejst 6 ปีที่แล้ว

    Thanks for sharing 😀👍
    Well done 👍

  • @CrazyA9999
    @CrazyA9999 6 ปีที่แล้ว

    Wow! Awesome stuff!

  • @Brausepaul123
    @Brausepaul123 6 ปีที่แล้ว

    Hut ab, das ist echt genial.

  • @mohammedaris2338
    @mohammedaris2338 6 ปีที่แล้ว

    Great work

  • @KuzmanZs
    @KuzmanZs 3 ปีที่แล้ว

    Very nice work and awesome presentation :)
    Y is the absolute averaged brigthness and U and V values are X and Y axis in order.
    I do not understand one thing, on the video I have noticed that V is not like big that the calculated value on your graph, Y and U look fine.
    Is it some miscalculation on vector display?

  • @rofo88
    @rofo88 6 ปีที่แล้ว

    Great Job!

  • @ronaldvislao7456
    @ronaldvislao7456 3 ปีที่แล้ว +1

    Hi Bitluni, excellent work, but how could I change the resolution to a lower one? Thank you.

  • @northshorepx
    @northshorepx 6 ปีที่แล้ว +1

    Absolutely bloody amazing. I was wondering what could you achieve if you added added an extra flash memory chip? Is 16bit colour possible?

    • @bitluni
      @bitluni  6 ปีที่แล้ว +1

      PSRAM can't be accessed by DMA and is too slow.. it could work with much and god work with the caches. 16 bit can fit in the current memory but there will not be much left for your program

  • @alexis2k233
    @alexis2k233 ปีที่แล้ว

    Awesome projects man, congrats! Can you make a supergun project to be able to connect an old jamma arcade board and get interface with usb controllers and out composite video and maybe some other video out options. Thanks for sharing all the knowledge

  • @MartinEKoch
    @MartinEKoch 6 ปีที่แล้ว

    cool, thx for sharing!

  • @ronnetgrazer362
    @ronnetgrazer362 6 ปีที่แล้ว

    Picture Always Lovely.

  • @judgeguilty
    @judgeguilty 6 ปีที่แล้ว +1

    Enjoy your videos and projects. Looks as if you have used both the Rigol DS1054 and Siglent SDS1104X-E DSO. Which one do you prefer and why? Thank you!

    • @bitluni
      @bitluni  6 ปีที่แล้ว

      I will continue to use the siglent because it also comes with the digital probes. Both are comparable. What I like more about the Siglent ist that it utilizes more of the screen for the signal. Both displays are same size. I will recieve the digital probes for the Siglent soon and post a full review

  • @teejay872
    @teejay872 3 ปีที่แล้ว

    Never The Same Color... Perfect At Last 😁

  • @shafik80
    @shafik80 6 ปีที่แล้ว

    you are genius👍👍👍

  • @mexykanu
    @mexykanu 5 ปีที่แล้ว

    Awesome!

  • @Mike.Garcia
    @Mike.Garcia 5 ปีที่แล้ว

    Stupid questions but does the colour, controller and audio work together?

  • @serj112
    @serj112 6 ปีที่แล้ว +25

    No, you got NTSC right... that's how it's supposed to look, it stands for "Never Twice the Same Color", you know? ;)

    • @xcruell
      @xcruell 6 ปีที่แล้ว

      Hahahaha :D
      Good one

    • @gregclare
      @gregclare 6 ปีที่แล้ว +5

      Yes, and to all in the NTSC world, serj112's comment is not a joke. This is indeed the definition of NTSC that we in the PAL world have used for as long as I can remember (that's at least going back to the 70's). :)

    • @kissingfrogs
      @kissingfrogs 6 ปีที่แล้ว +6

      I always liked "Never The Same Colour"

    • @procactus9109
      @procactus9109 6 ปีที่แล้ว

      NTTSC ? that means nothing.

    • @gregclare
      @gregclare 6 ปีที่แล้ว +4

      @ProCactus Relatively normal abbreviation forming convention. Based on your abbreviation interpretation, I guess you would say "United States of America" should be USOA? That means nothing (to me). :)
      But if you prefer, we can clarify that NTSC always stood for "Never Twice Same Color" (then choose to say it with or without "the" inserted).

  • @paulstubbs7678
    @paulstubbs7678 2 ปีที่แล้ว

    Crazy, simpler than a regular composite connection, where one typically uses a few resistors to mix the sync and video signals together.

  • @johnchild61
    @johnchild61 5 ปีที่แล้ว

    I think your colour fringing is caused by a bandwidth problem namely that the luminance signal needs to be delayed by, about 1.5 micro seconds whilst the chroma/colour is decoded they should then register on the screen correctly . The analog TV decoder, used a delay line, which consisted of a coil wound on a tube, with a copper strip down the centre, forming a ladder network, coil /capacitor in the luminance path this delayed the signal whilst the chroma was processed . great video but a bit fast for us old timers!

  • @_a.z
    @_a.z 6 ปีที่แล้ว

    That's quite amazing considering there is no other hardware!

  • @TopoAndyGigio
    @TopoAndyGigio 4 ปีที่แล้ว

    Audio works well, video too except that I see in B/W on a PAL tv. Where is the problem? thanks

  • @aimless3827
    @aimless3827 5 ปีที่แล้ว

    Is it possible to read PAL signal from camera with esp32?
    This would be really cool then display it on the Webserver.

  • @annasarahkramerfazendeiro8030
    @annasarahkramerfazendeiro8030 3 ปีที่แล้ว

    This is wild, thanks for making everything possible. I am attempting to connect an FPV camera (PAL camera, leftovers from drones, 800 TVL) to an ESP32 and stream the video over wifi. Is such a thing even possible, or am I completely misjudging any parameters here? Using the camera instead of the Nintendo, what would I have to adjust?

    • @annasarahkramerfazendeiro8030
      @annasarahkramerfazendeiro8030 3 ปีที่แล้ว

      Also, if anyone knows of similar youtube channels or sites (anything about connecting obsolete image players/recorders to modern tech especially), I'd be thankful!

  • @CAPTAINCAPSLOCK111
    @CAPTAINCAPSLOCK111 4 ปีที่แล้ว

    Would it be a big deal to overlay color pal onto an existing video stream? I know, it needs to be synchronized, but could it be done without additional hardware? I am thinking of an affordable color OSD for FPV drones and fixed wing, which is stuck on BW overlay for years now since everybody uses an ultra-old OSD chip which is the only existing affordable part... Have a look at betaflight OSD for example. Please help a whole community!!

  • @bubbathemaster
    @bubbathemaster 6 ปีที่แล้ว

    Would a simple 640*480 DVI signal be easier to implement? What made you go composite instead of something else?

    • @bitluni
      @bitluni  6 ปีที่แล้ว +1

      I read the specs.. dvi has different challanges like the minimal data rate. But I think I'll try it some time to have a modern solution too

  • @smallmoneysalvia
    @smallmoneysalvia 6 ปีที่แล้ว +3

    I don’t even know why I try coding, this is just ridiculous, I thought my LED controller was pretty neat but god damn dude, this is fucking incredible.

    • @bitluni
      @bitluni  6 ปีที่แล้ว +3

      Your LED controller is neat! It's not the absolute value that counts it the feeling it gives you. If you had a feeling of accomplishment and pride creating your project then it was challenging and you grew a bit. That's being alive. I've been coding for 25years now. I suck at so many other things 😅

    • @smallmoneysalvia
      @smallmoneysalvia 6 ปีที่แล้ว

      Thanks man, that’s really thoughtful and nice of you to say. I’m still completely blown away at both yours and this board’s capabilities. If you don’t mind me asking, what do you do to stay motivated working on such a complex (and I assume many times frustrating) project?

    • @bitluni
      @bitluni  6 ปีที่แล้ว +1

      Not really sure. I like to test limits.. my own and those of the hardware. This project was indeed a lot of work and the only frustrating part is that I can't release more projects since I can't resist to try get the best possible result. Quality over quantity. Bad for me that YT is all about quantity these days. But it's really rewarding to see people like you appreciating it.

  • @educationempirebygagandeep342
    @educationempirebygagandeep342 5 ปีที่แล้ว +4

    Do you dare to make FM esp32 transmitter

  • @WacKEDmaN
    @WacKEDmaN 5 ปีที่แล้ว +2

    could you please take a look at the code for this again please.. i cannot get any color just black and white.. also the sketch as is wont fit on the ESP32 (101%).. removing controllers and sound helps, but still no color :(

  • @lemailpoubel6210
    @lemailpoubel6210 3 ปีที่แล้ว

    Hello, Is the esp32 (or 8266) in tvout/vga is usable as a kind of "GPU" with some integrated basic draw functions and a data bus link for external mcu (other microcontroler) ?

  • @seanabsher5577
    @seanabsher5577 5 ปีที่แล้ว

    Has anyone figured out what would be necessary to get NTSC output on this thing? You'd think it'd be possible, with all the other stuff that's been done

  • @JerryEricsson
    @JerryEricsson 6 ปีที่แล้ว

    Been dreaming of finding a way to build a duel screen that I can put out on two SPI devices that will fit my VR device so I could push HULU or Netflix on those two screens and get the big screen almost 3d experience. This is getting close...

  • @Doomer170
    @Doomer170 3 ปีที่แล้ว

    Hey Bitluni, I am using a heltec wifi 32 kit and I cannot get your tetrisspaceX to display anything.. I got your simple composite sketch to work but not this one. I have video attached to pin 25 and ground attached to ground of course.. Any Ideas?

  • @ruchirahasaranga8076
    @ruchirahasaranga8076 4 ปีที่แล้ว

    Is it possible to create a teletext generator using esp32?

  • @gn0st1c
    @gn0st1c 6 ปีที่แล้ว +5

    amazing :)

  • @querovernatv
    @querovernatv 2 ปีที่แล้ว

    have the PAL-M version?

  • @JoopMedia
    @JoopMedia 6 ปีที่แล้ว +6

    Love your vids - thanks for sharing - ESP32 as Colour OSD overlay possible?

    • @SianaGearz
      @SianaGearz 6 ปีที่แล้ว +1

      You mean on top of existing colour video signal? Unfortunately i don't think so - you would need to adapt to existing colour burst. I think the only way you can do this is with lots of additional circuity. Maybe dig up an old genlock circuit, see how they worked - such modifications were available for some classic computers for example the Amiga.

    • @bitluni
      @bitluni  6 ปีที่แล้ว +3

      hmmmmm.. not sure about that.. a fast mux could do it but syncing the current phase of the color carrier would be a challenge.
      At least BW overlay, lighten or darken the color signal should be possible.

    • @helmut666kohl
      @helmut666kohl 6 ปีที่แล้ว

      Haha all for it. I always wanted a genlock back in the days, but seriously who had that kind of money?
      How about making an Atari ST or Amiga where you just replace every single original IC with an ESP? :-)

    • @SianaGearz
      @SianaGearz 6 ปีที่แล้ว

      Actually i just ran into a piece of trivia. Euro-SCART has an RGB overlay feature foreseen in it! Assuming TVs actually support it, it's possible to override S-Video/Composite signal pixelwise with RGB signal.

    • @77dab77
      @77dab77 5 ปีที่แล้ว

      Hi, Thanks for your very impressive work. I reproduced that, and played with the simple video composite graphics to draw lines, and control those points via a processing sketch over serial. Wonderful. Now what I need is to draw this lines on a video camera signal. Monochromatic is enough for me. But I don't know where to start. Will you please point me on the right direction, or maybe is there already something you did to achieve OSD with the ESP32? thanks, again..

  • @hermannpaschulke1583
    @hermannpaschulke1583 6 ปีที่แล้ว +1

    Why did i Miss this? It wasn't in my subbox

  • @yashasgogna6171
    @yashasgogna6171 3 ปีที่แล้ว

    How to display gif with this ?
    Please help!

  • @marioalday5966
    @marioalday5966 ปีที่แล้ว

    I ported the code to ESP32 D0WDQ6-V3 and, atlhough it mostly works(the signal is generated) the timing is not working. Apparently the hack to increate sampling rate is not working.

  • @Unknown-vb1ul
    @Unknown-vb1ul 4 ปีที่แล้ว +1

    How to find script?

  • @futfatal5941
    @futfatal5941 5 ปีที่แล้ว

    hi sir. can you make Color PAL Encoding for arduino uno please.

  • @tiagomerces6325
    @tiagomerces6325 3 ปีที่แล้ว

    Is it possible to stop sending data?
    I ask because there is no composite.end ()

  • @ajaybnl
    @ajaybnl 6 ปีที่แล้ว +2

    I enjoy watching your videos. but why going backwards? *Something that helps our daily life!*

    • @bitluni
      @bitluni  6 ปีที่แล้ว +5

      But who else will do all the silly projects?
      Useful projects next... promised 😅

  • @Blueyzachary
    @Blueyzachary 3 ปีที่แล้ว

    I almost have NTSC working with what you've got, but, I ruined my esp32....

  • @Unfinished_Projects
    @Unfinished_Projects 6 ปีที่แล้ว

    When will the Livestream happen?

    • @bitluni
      @bitluni  6 ปีที่แล้ว

      30th April .. it should be displayed in your subscription feed

    • @Unfinished_Projects
      @Unfinished_Projects 6 ปีที่แล้ว

      bitluni's lab Haven't yet seen it... Can't wait for the stream 👍

  • @freakysuwin
    @freakysuwin 4 ปีที่แล้ว

    please do a project about an IP camera using composite CCTV camera and ESP32!!!!!!!!!!!!!

  • @GGames4K
    @GGames4K 6 ปีที่แล้ว

    I'm going to buy a led tape ws2812b please help me set up to change colors for wifi if I need to pay I pay pls♥

  • @scamgood442
    @scamgood442 6 ปีที่แล้ว +1

    Hi BitLunni What happened to the Scope you got for Banggood? I ordered one and was defective tried to return and get a refund. Finally got a refund for the defective scope but not for the shipping, Oh well lesson learned. Bannggod Has return my money for the defective scope so all is ok.

    • @bitluni
      @bitluni  6 ปีที่แล้ว +2

      Darn! I'll ask my BG contact immediately on that issue. I'm so sorry. I've used the Siglent this video to get familiar with it. There will be a review with giveaway as soon the digital probes arrive. You might be lucky and win the higher tier Siglent after all. Just be sure to be a subscriber at the time the review comes online.

    • @bitluni
      @bitluni  6 ปีที่แล้ว +2

      You may also send me your real name and address over the contact form on the homepage or email. This way I can maybe help directly solving your issue

    • @bitluni
      @bitluni  6 ปีที่แล้ว +1

      It's probably a dummy account but got response from banggood they like to solve the issue a different way if you give your email address...

  • @4.0.4
    @4.0.4 6 ปีที่แล้ว

    I wonder if you're friends with CNLohr. He has some similar interests and skill sets, you two could probably do collabs on cool stuff.

  • @cabeloDoPardal2
    @cabeloDoPardal2 6 ปีที่แล้ว

    Outstading

  • @aabhassenapati2702
    @aabhassenapati2702 6 ปีที่แล้ว

    can you make a video about esp32 analog video transmission

    • @bitluni
      @bitluni  6 ปีที่แล้ว

      Not sure... many viewers are sick of this topic already 😅

  • @leberkassemmel
    @leberkassemmel 5 ปีที่แล้ว +1

    NTSC: Never the same color.

  • @user-iy9lb5jk6b
    @user-iy9lb5jk6b 6 ปีที่แล้ว

    мужик молодец, очень интересные вещи делает, жалко английский не понимаю

    • @SianaGearz
      @SianaGearz 6 ปีที่แล้ว

      Используйте автоматические субтитры с машинным переводом.

    • @user-iy9lb5jk6b
      @user-iy9lb5jk6b 6 ปีที่แล้ว

      Siana Gearz а как их в мобильном приложении включить? подскажите пож.

    • @SianaGearz
      @SianaGearz 6 ปีที่แล้ว

      Субтитры есть на кнопке меню в правом верхнем углу; но перевода нет :( должен быть доступен через Google Chrome, даже мобильный, если запросить полную версию сайта.

  • @cts7683
    @cts7683 6 ปีที่แล้ว

    May I bring the idea of a basic (microPython?) interpreter to your attention - again ;)

  • @luizvision478
    @luizvision478 7 หลายเดือนก่อน

    HELLO. HOW ARE YOU ?
    MANY TIME ...
    THE YOUTIUBE NOT INFORM ABOUT YOUR CHANNEL
    BEST 73
    LUIZ
    RJ