ASMR Programming - Video to ASCII C++ - No Talking

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • Hi all,
    Hope you like the video to ASCII converter! PRs are welcome on github.
    👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻
    Source code : github.com/servetgulnaroglu/v...
    Live a star on github, if you enjoy!
    👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻
    ⌨️ Keyboard: IQUNIX Q66 Fluorescence Wireless Mechanical Keyboard with Holy Panda Switches (5% discount)
    iqunix.store/servetgulnaroglu
    00:00 Set up the environment
    00:38 "Hello, World" test
    01:31 Write compile_commands.json (for vim autocompletion)
    02:07 Create build.sh file
    03:01 Include opencv
    04:38 Start to write main.cpp
    04:59 Search for a sample video
    05:59 Capture video with opencv
    08:35 Get fps of the video
    10:34 Read video frame by frame
    11:22 Turn the matrix into gray format
    11:52 Resize the matrix
    13:02 Iterating over matrix pixels
    13:59 Creating a function that returns a char corresponding to a pixel
    14:50 Adding delay between frames
    16:04 Completing the pixelToASCII function
    18:08 Try to solve the bug
    20:26 Finding the bug (convert char into uchar)
    22:03 Calculate width and height based on video
    28:10 First successful run
    28:40 Run with a traffic video
    29:08 Run with a dog video
    31:17 Run with a drifting video
    33:07 Reversing ASCII string to get different results
    33:58 Run with a flying birds video
    36:03 Run with a monkey video
    37:19 Run with a cat video
    38:57 Run with another drifting video
    40:22 Run with a nature video
  • Розваги

КОМЕНТАРІ • 107

  • @ServetGulnaroglu
    @ServetGulnaroglu  Рік тому +15

    ⌨ Keyboard: IQUNIX Q66 Fluorescence Wireless Mechanical Keyboard with Holy Panda Switches (5% discount)
    iqunix.store/servetgulnaroglu

    • @thisguyisnotable
      @thisguyisnotable Рік тому

      wasnt the best sounding, but the coding was enjoyable :)

  • @mateusmelo2659
    @mateusmelo2659 Рік тому +47

    I love your channel. Please never stop posting your videos, they make me so happy.

  • @outtabubblegum7034
    @outtabubblegum7034 Рік тому +50

    The Force is strong with this one.

    • @Nunya58294
      @Nunya58294 Рік тому +1

      I feel a disturbance in the force....
      Now you get a dislike for not liking my comment.

  • @floatx86
    @floatx86 3 місяці тому +2

    What a godly switch sound!

  • @David_xrl8
    @David_xrl8 Рік тому +3

    That was absolutely crazed wicked bro, fking insane fr

  • @hardundware
    @hardundware Рік тому +3

    Sehr cool. Du hast es echt drauf dude 🎉 danke für das Video

  • @Twapupauqi
    @Twapupauqi 2 місяці тому

    your creativity is out of this world!

  • @nikitanartov2597
    @nikitanartov2597 11 місяців тому +2

    The man is simply genius

  • @TheGrrson
    @TheGrrson Місяць тому

    Goodness! This is incredible.

  • @dvillalva21
    @dvillalva21 Рік тому +1

    inspiring man love it.

  • @ltony9417
    @ltony9417 Рік тому +1

    Nice job bro~ really like it😃

  • @multiarray2320
    @multiarray2320 Рік тому +19

    i love these type of videos from you i hope you do more programming instrad of designing :)

  • @abdujalilabdurakhmonov960
    @abdujalilabdurakhmonov960 Рік тому +18

    Could you make a video about your vim settings (keymaps, cmp, colorscheme, include as possible as all features) It would be really beneficial)))

  • @user-zs3by6wq2p
    @user-zs3by6wq2p Рік тому +1

    Perfect👌

  • @cawkcheck
    @cawkcheck Рік тому

    finally someone who uses the same naming convention as me

  • @natasamuel6838
    @natasamuel6838 Рік тому

    you are incredible.

  • @29tringuyen134
    @29tringuyen134 Рік тому

    Nice!

  • @OT-tn7ci
    @OT-tn7ci Рік тому

    very satisfying mouse click, what mouse

  • @DeanCaseyMusic
    @DeanCaseyMusic Рік тому +4

    More C++ please:)

  • @ZakariaHABRI
    @ZakariaHABRI Рік тому

    You need a tiling window manager. Ty for the content.

  • @nateschreiner827
    @nateschreiner827 Рік тому +8

    Would you want to share your dot files for bash/zsh and vim? I particularly like your font / color highlighting in vim.

  • @passionate4645
    @passionate4645 Рік тому +1

    Is it weird that we just covered this in my object oriented class? The algorithm didn’t even recommend this. You just happened to upload. The universe is weird

  • @hartajsingh1554
    @hartajsingh1554 Рік тому

    That is so , fucking dope

  • @croissantboss6502
    @croissantboss6502 13 днів тому

    Круто

  • @맹꽁2
    @맹꽁2 Рік тому

    cool!

  • @HaNguyen-bq5fp
    @HaNguyen-bq5fp Рік тому +2

    Your keyboard operation looks amazing, almost no mouse is used

  • @yusufberkaygirgin9694
    @yusufberkaygirgin9694 Рік тому

    Servet selamlar. Takip etmeye basladigimdan beri cok iyi gidiyorsun. Bu arada vim icin bir dotfiles reposu mevcut mudur? Github profilinde goremedim ama.

  • @gorkemsever4690
    @gorkemsever4690 Рік тому

    Selam, Windows'taki gibi pencereleri masaustu uzerinde konumlandirma olayini nasil yapiyorsunuz acaba? iTerm'i de klavye kisayollariyla sol tarafa ekrani ortalayarak hizaladiniz. Mouse ile de yaptiniz onu ariyordum... :)

  • @Chyppitau2
    @Chyppitau2 6 місяців тому

    the first step to the recreation of UA-cam has been taken

  • @pe_w
    @pe_w Рік тому

    it really feels like im programming with you lol

  • @art_forever_32
    @art_forever_32 Рік тому

    May the force be with you kanka ! 😂

  • @lampham2024
    @lampham2024 Рік тому

    what is the theme that you used in your terminal ? Sorry, my english is bad .

  • @-sh
    @-sh Рік тому

    Can you do a video with how you setup your vim or post your dotfiles

  • @ThatOneProFloppaTheBest
    @ThatOneProFloppaTheBest 6 місяців тому

    bro i was panicking until you added #include 😂😭😭

  • @carnaqe1154
    @carnaqe1154 2 місяці тому +1

    25:37 proceeds with the neck break

  • @luxosgamer1998
    @luxosgamer1998 Рік тому

    Where did you buy that keyboard ?

  • @untitledoficcial1
    @untitledoficcial1 10 місяців тому

    what plugins for vim do you use

  • @br0ncan0
    @br0ncan0 Рік тому +11

    I really need to know what your shortcuts are and your VIM settings. If possible, also how I could set it up on Windows with NeoVim. I love your videos :D

    • @ServetGulnaroglu
      @ServetGulnaroglu  Рік тому +16

      In what format should I take a video about it? Do you have any idea? I can make a video that gives step by step instructions

    • @emirhankoz931
      @emirhankoz931 Рік тому

      @@ServetGulnaroglu Çok iyi olur öyle bir video yaparsan.

    • @AlizJaytay
      @AlizJaytay Рік тому +2

      @@ServetGulnaroglumaybe just a video of a clean install with all the plugins and settings you normally use. Would be appreciated!

    • @fotoh1589
      @fotoh1589 Рік тому

      ​@@ServetGulnaroglu yes please and the debugging part and these command gcc ++ .exe /build all these stuff

  • @redditshorts4946
    @redditshorts4946 8 місяців тому

    I died emotionally when i seen you use namespace std man and you also flushed 😢😢

  • @b1-rogr470
    @b1-rogr470 8 місяців тому +1

    Nice, I remember doing one in python, it wasn't optimized at all and would take tens of seconds before the ASCII would show up on the terminal, but I am still very proud of myself. Now I am learning C and I might do it again.

    • @b1-rogr470
      @b1-rogr470 8 місяців тому +1

      I retried it and turns out it don't take that much time do load the ascii, maybe I optimized it a little afterwards ahah.

    • @eralife7
      @eralife7 8 місяців тому

      @@b1-rogr470 I guess that C is just more faster than python, decades sometimes for thousands more

    • @dpt5531
      @dpt5531 6 місяців тому

      @@b1-rogr470 C is just faster and more optimized than python

  • @arabindabanerjee8841
    @arabindabanerjee8841 Рік тому

    What code editor do u use

  • @while_1_action
    @while_1_action Рік тому

    Take brightness of some pixels, translate to ascii symbol. Show symbols in console. Looks good.

  • @ucieltech4358
    @ucieltech4358 Рік тому

    Hello Server, I have a question ¿ Which is the code editor that you used in your terminal ? Sorry, my english is bad .

  • @clarke1274
    @clarke1274 Рік тому

    Hi , I really like your video clean coding! I have a question what u use to link opencv, I'm getting stuck at linking part,cuz cmake is really hard to operate

  • @knowntraveller
    @knowntraveller Рік тому

    Next is relaxing 6502 Assembly programming!

  • @mertgultekin444
    @mertgultekin444 Рік тому

    Fare olarak ne kullanıyorsun?

  • @ranjitbouri1124
    @ranjitbouri1124 Рік тому

    How do I do this project in VS Code editior, please help.

  • @psMens
    @psMens Рік тому +3

    Bro it really helps me how you managed yourself to learn very things like, modening, programing, assembly language, game dev, app dev, web dev, you solve 150+ leet code problems, and also liner algebra classes, 😅😅how ? And also which year you code first time i really want to know bro please 🥺🥺

    • @ServetGulnaroglu
      @ServetGulnaroglu  Рік тому +5

      I've been trying to do those for many years. Consistency is the key. I've started at 2019.

    • @psMens
      @psMens Рік тому +1

      @@ServetGulnaroglu Hey bro wow, you really define the consistency word, but why you code so fast, you look so damm, and impressive bro while you code like this, really impressive, hey and i am 15 years old and currently in 9th grade and i know html, css, js, java, node. js, and trying to learn advance dsa to solve, advance dynamic problems on leet code, can i like you in future, i really want to be like you, you are superman coder bro, DC definitely hire you for main character, if the movie title is this, power of programming, really have fun to write this comment, i hope you read this thank you my dear big brother 💞💞

    • @samuelkerg5184
      @samuelkerg5184 Рік тому

      ​@@psMens wtf

    • @psMens
      @psMens Рік тому

      @@samuelkerg5184 Why, what i said wrong

  • @100v1
    @100v1 Рік тому

    You need inverted color, because its look like negative filter.

  • @kalvenshen1696
    @kalvenshen1696 Рік тому

    Would you please share your vim config?

  • @Wtfman123
    @Wtfman123 Рік тому

    What is that interface?

  • @heyyou4686
    @heyyou4686 Рік тому

    Why not cmake or a makefile?

  • @devarsh5317
    @devarsh5317 Рік тому

    json settings?

  • @sopmodosu
    @sopmodosu Рік тому +1

    isn't it better to use namespace std inside functions instead of globally?

    • @DeanCaseyMusic
      @DeanCaseyMusic Рік тому

      For big projects, it is frowned upon to use 'using namespace std'. In this context where the program is small, you can use it without worrying. The issue arises when you have different include libraries which have the same function names. NEVER use 'using namespace std' in a header file.

  • @Med_Yassin_._.
    @Med_Yassin_._. Рік тому

    What's your os?

  • @mnlog9074
    @mnlog9074 Рік тому

    funny how that keyboard is more expensive than my whole setup lol

  • @cristiand4426
    @cristiand4426 Рік тому

    Estas re loco amigo, terrible.

  • @Damonsalvatire
    @Damonsalvatire Рік тому

    Bro i want to ask you i am a window user should i switch to linux linux everytime attracts me whats your opinion?

    • @LeastUnhingedYoutubeUser
      @LeastUnhingedYoutubeUser 11 місяців тому

      use linux in a vm, just like me
      im a windows user but i have arch on a vm

  • @jermpoz2971
    @jermpoz2971 Рік тому +1

    bro do you have to memorise all this code in your mind?

  • @jakestbu8692
    @jakestbu8692 2 місяці тому

    Why do you use C++11 instead of C++20?

  • @SUN1210
    @SUN1210 6 місяців тому

    Can I use my vim like your vim?

  • @myrrrca
    @myrrrca 10 місяців тому

    what is your os? would really like to know

  • @sbqolmods200
    @sbqolmods200 Рік тому

    Why vim?

  • @ranjitbouri1124
    @ranjitbouri1124 Рік тому

    I really wanna know the objective of this project, what's the benefit of it, please explain, please let me know, please help me with my queries.

  • @ugurben
    @ugurben Рік тому

    sorry but I dont have mac os, please do it in windows os

  • @SoulDaMeep
    @SoulDaMeep Рік тому

    Bro is speedrunning

  • @Frost_gaming_yt
    @Frost_gaming_yt 7 місяців тому

    which os is this

  • @Roberto-py1kk
    @Roberto-py1kk 2 місяці тому

    ¿Cómo realizas eso? o ¿más bien, cómo sabes que esa idea se puede realizar?

  • @haliboss3911
    @haliboss3911 Рік тому

    Klavye satış linki açılmıyor...

    • @ServetGulnaroglu
      @ServetGulnaroglu  Рік тому

      Hala acilmiyorsa internetten klavyenin adini aratabilirsiniz

  • @wuxianggujun979
    @wuxianggujun979 Рік тому

    Good video but no sound

  • @bloodlust8328
    @bloodlust8328 Рік тому

    Please do it using python

  • @art_forever_32
    @art_forever_32 Рік тому

    Abee Nasılsın!

  • @vremiavremiavremiavremiaclock
    @vremiavremiavremiavremiaclock 4 місяці тому

    😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊

  • @AlperenGNL
    @AlperenGNL Рік тому

    İlk yorum❤❤

  • @Med_.artist
    @Med_.artist 4 місяці тому

    Hillo friend can you help me to lerning programmer please

  • @user-jt3wi5kp8z
    @user-jt3wi5kp8z 5 місяців тому

    Sen türk müsüb abi

  • @rinzler749
    @rinzler749 Рік тому

    never seen apple users use vim

  • @mansurecin2871
    @mansurecin2871 Рік тому

    first comment

  • @legendarys2
    @legendarys2 11 місяців тому

    Go get c you no c++

  • @BreezeTalk
    @BreezeTalk Рік тому +1

    how tf did you learn to program like this... you only went to a bachelor's level...

    • @ServetGulnaroglu
      @ServetGulnaroglu  Рік тому +4

      Imagining is much harder compared to coding. These videos come from my imagination, not my coding skills. You can search and find anything you want to learn these days

  • @nivalis1946
    @nivalis1946 3 місяці тому

    а нахуя это?

  • @ardawanx
    @ardawanx Рік тому

    How you get so many views by not showing your face or even talk ??? hahah WOW...

  • @kurcinadlakava
    @kurcinadlakava Рік тому

    really good

  • @vremiavremiavremiavremiaclock
    @vremiavremiavremiavremiaclock 4 місяці тому

    😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊