[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]

/hob/ - Hobbies

Video game related hobbies go on /games/
Password (For file deletion.)

  [Go to bottom]   [Catalog]   [Return]   [Archive]

File: 1613143570126.jpg (515.77 KB, 1196x1178, 598:589, frog.jpg) ImgOps iqdb

 No.56871[View All]

230 posts and 47 image replies omitted. Click reply to view.


similar boat, i get an idea for something and quickly throw it together and then im done for like a month because i have no more ideas. and people say idea guys are worthless… once you know how to do something, new ideas are crucial. maybe i need to write down my thoughts throughout the day.


Little update on my situation.
Nothing has change and I'm still in the same place. I'll try to comeback with something next week.


used chatgpt for some video editing today. what i wanted was for a list of fiels and videos to be overlaid such that 1.png goes onto 1.mkv, and so on, with adjustable transparency and duration for the overlaid image. it took maybe 5 minutes to get what i wanted which is very cool. im not a fan of windows batch script syntax so this is nice

>I have a list of video files, named 1.mkv, 2.mkv, etc.

>I also have a list of images, named 1.png, 2.png, etc.
>All the files are located in the same folder.
>I need a FFmpeg command that will overlay the image files onto the video files, with transparency.
>1.png will be overlaid onto 1.mkv, 2.png will be overlaid onto 2.mkv, and so on.
>I am using Windows 10 and the command and syntax should work for Windows 10.

>for %%a in (*.mkv) do ffmpeg -i "%%a" -i "%%~na.png" -filter_complex "overlay" -codec:a copy "output/%%a"

this works but the image just completely replaces the video. i ask for a duration for the overlay, as well as a transparency amount for the overlaid image

>for %%a in (*.mkv) do ffmpeg -i "%%a" -i "%%~na.png" -filter_complex "[1]format=rgba,colorchannelmixer=aa=0.5[trans];[0][trans]overlay=duration=5" -codec:a copy "output/%%a"

this seems like it should work but it seems windows doesn't have this duration option so i ask it for something else

>for %%a in (*.mkv) do ffmpeg -i "%%a" -i "%%~na.png" -filter_complex "[1]format=rgba,colorchannelmixer=aa=0.5[trans];[0][trans]overlay=enable='between(t,0,5)'[out]" -map "[out]" -codec:a copy "output/%%a"

this works, each video begins with the respective overlaid image, and the transparency/duration is adjustable. however the audio was discarded

>for %%a in (*.mkv) do ffmpeg -i "%%a" -i "%%~na.png" -filter_complex "[1]format=rgba,colorchannelmixer=aa=0.5[trans];[0][trans]overlay=enable='between(t,0,5)'[out]" -map "[out]" -map 0:a -codec:a copy "output/%%a"

this works perfectly


I tried to follow some books which show step by step how to make a web app. The problem is that most of them don't explain anything or the code is not working. Now I just follow the documentation and hopefully I'll be able to do something on my own.


Lately I've approached programming like this. Instead of expecting a book to give me the knowledge, I just read some simple code, try it out, read the docs for the language, and so on.
Programming books should be banned.


File: 1682350048754.png (2.08 MB, 1816x2944, 227:368, Programming(1).png) ImgOps iqdb

Dear esteemed wizards, could you kindly recommend a good and inexpensive laptop preferably less than $610?


It's a geeniebopper (genius brained nigger). Should have gotten an ice pick lodged inside their skull already, but the USA government is against Equalization and Heritability Reduction of Intelligence. Lenin's Lobotomy Procedure makes babies scream at the top of their lungs and cry for nigger mommybrains.


>set looping a-b points
>crop it to the exact area im interested in
>repeat to fill the rest of the space on my screen

this + "view minimal interface" once each video is set up to hide the ui
i cant believe other people do this lmao


A Thinkpad X1 Carbon Gen 6 can be grabbed refurbished for around that


That seems like a steal, but I'm hesitant to buy a refurbished laptop in my third-world shithole due to the prevalence of scammers. My cousin stole my Parker pen, which was a gift from my late grandmother, during her funeral. Although this incident is unrelated, I'm concerned that I may be scammed if I try to purchase a refurbished laptop.


Reasonable, I've been scammed on laptops recently. If it's local scams you fear you could probably get something off eBay from a less tolerant country, if you can afford the import fees.


Mental gymnastics : today i wrote sql, wrapped in java, wrapped in SQL as XML (liquibase)


First time into programming, i'm learning Python.
I wonder if you can do cool stuff with it, (like web dev) or should I just drop it for another language.

Anyway, since i'm a novice, i think it's better if I stick to one course until the end.


It's not bad for beginners, very easy to set up and get running. You can basically do anything with it, but since it's an interpreted language, it has some performance limitations. I wouldn't worry about that at this point since once you learn how to program, you'll learn different languages and tools and use the best one for the job.


>has some performance limitations
the AI/ML/academic faggots don't seem to care about that at all. python is basically the language of research papers. i wonder why. ease of use + libraries… maybe this is all tht really matters for people


the actual performance critical stuff is usually written in c/c++ and then python just calls functions from the DLL.



i have the idea to feed a story into stablediffusion one word at a time, and use 50 of the previous output as img2img input so that it blends between the two images. and then time it all together with a tts recording of the story

for example
image 1: once upon a time there lived
image 2: upon a time there lived a
image 3: a time there lived a wizard
image 4: time there lived a wizard who
etc to the end of the story

i have not used stablediffuion by command line yet, always a gui. every time i tried to install commandline stable diffusion i miss some requirement and it doesnt install and it's a pain in ther ass. i am wondering if i can just hack something togther using the stablediffusion installed by these gui versions. basically using the gui to install and get sd working, and then bypassing the gui and calling their install directly with prompts

i would love to do the tts via suno-ai/bark but i cant get cuda/pytorch working so it uses cpu which takes forever, also there is no continuity between voice styles when i last tried it. but if those were fixed it would be great


haskell has the problem that basically half of default things are literally broken. String is broken, List is fucking inefficient and so on. And to get haskell to be performant in a wide range of cases is actually far more challenging than one would think


File: 1685969436781.jpg (326.89 KB, 2048x1365, 2048:1365, haredi fliphone.jpg) ImgOps iqdb

I need advice on how to wipe out everything/make a blank slate of my PC and cellphone ,and also, Im moving to a new house so I need advice on the wi-fi and internet thing.
My need and goal is outmost privacy, independence and anonimity.
>How do I -by myself- wipe out everything and start anew?
>Are there any portable devices that provide internet, or any way at all to go online without dependning on a provider or company?
>If I only use my cellphone for internet, and I "hang on" public wi-fi…is that still traceable? do I have to PAY even if I cancel all phone services and payments, as Im, indeed, going to do soon?


Try a VPN when you are finished


Honestly my goal is to stop using the internet altogether. I still want to delete all my online traces, presence.
thats why Im lurking all my (I fucking hate them) HS classmate´s fb accounts and trying to take down all the photos where I appear.
I use the FB report function of "I apepar in this photo and I dont like it".
And so on, I try to delete all my cyber-traces and footprints…


>highschool classmates
jesus christ i dont know how long it has been since i've thought of that. probably never. you have an unhealthy fixation on this shit


>>Are there any portable devices that provide internet, or any way at all to go online without dependning on a provider or company?
This question is… absurd. Achieving privacy online is incredibly difficult and requires understanding of what the internet is. I suggest you start with the basics and engage in some sort of a long-term educational process, since you seem to be very far from where you want to be and have no foundation


why would you bother to give this poster a serious answer


because guys come to imageboards to chat, not to bicker and pout about said chatting


Wrote a little wrapper for grep to make searching for multiple strings per line quicker and easier. It only works for two strings right now though.


i would have just used regex for that, you can have as many capture groups (matched strings) as you want


i have a cymk jpeg. in image viewers such as nomacs and even firefox, it is very saturated and this saturated color image seems to be the 'correct' version, but i hate it. in windows 10 file explorer (thumbnails), and old image editors without color management features (paint.net), it appears with 'dull' colors which i find infinitely more appealing

i have tried stripping all the metadata, converting to srgb, removing icc profiles, but i can't obtain the 'dull' version that windows shows me, at least not via command line… i can simply open it with paint.net or clipstudio paint, and simply resave it as jpg and it will appear 'dull' everywhere, which is what i want, but i want to be able to do this in bulk and i have no idea how to do this. what kind of conversion is paint.net and clip studio paint performing to obtain the dull image? every fucking online service and commandline tool and shit makes it become saturated. fucking color bullshit

none of these convert it into the dull image correctly

exiftool -r -icc_profile= test.jpg

exiv2 rm test.jpg

magick test.jpg -colorspace sRGB -intent perceptual test2.jpg

magick test.jpg -strip test2.jpg

from PIL import Image
image = Image.open('test.jpg')
image = image.convert('RGB')

i'd post the image but it's porn so oh well


File: 1686863747530.png (1.73 MB, 1920x705, 128:47, 1686863726.png) ImgOps iqdb

Magick can alter saturation multiplicatively.


that's not what i mean, it's just… there's a way windows and older image editors are converting from cmyk to rgb, and it results in a dull image, which is what i want. but i cannot for the life of me replicate this conversion, they all end up 'correctly' saturated. i thought there was an embedded icc color profile but i've stripped everything from this god damn image, it's purely a result of the format being cmyk and nothing else

i will probably just desaturate it until it matches or something, i don't know what else to do. it seems like such a hack but i can't figure out how to produce the dull variant via commandline, because all the other editors and stuff produce the exact same dull image, which means they aren't just arbitrarily desaturating, they are using some method. i thought it was just a result of ignoring the color profile but imagemagick doesn't seem capable of converting to the dull variant. i've tried all 5 profile intents as well


I don't know any solutions, but I know what you're talking about. When I view raw image formats such as DNG and NEF in Windows' default image viewer, the thumbnail and LRF version is quite saturated and contrasty (REC.709 space??) but the full image upon loading converts to what looks like the D-LOG color space captured by cameras pre-processing.

Maybe just desaturate you entire screen with your GPU's control panel? Or through the monitor itself? NVIDIA cards may even be able to apply selective color settings on a per-application basis, which might work on windows 10+ as the newer "photos" program uses DirectX so your GPU might be able to alter its windows as it would a video game.


i figured out the image is utilizing adobe prophoto rgb colorspace, but windows explorer is not color managed and interprets this as plain rgb or something and it is desturated. while incorrect, i strongly prefer the desaturated version that windows and other programs show, instead of the overly vibrant and saturated correct version that color managed photo viewing apps show me

still haven't been able to figure out how to convert from this color space, but i did figure out i can desaturate, lower blue channel, raise red channel, and then lower contrast to achieve something similar

if i change my gpu or display, it will affect everything, but only these images are bad. id rather just find a way to fix them before changing how everything displays


can’t you just tag the images as SRGB so that color managed renderers will emulate the "wrong" behaviour?


i have tried all sorts of things, but no i can't figure out how to simply render it as rgb or use the wrong colorspace, which i imagine non color managed stuff like windows is doing. at this point im considering finding very very old versions of image libraries or something with commandline to see if it can produce the effect

i want this incorrectly desaturated version because it paradoxically shows more detail, at least for my monitor. the saturated one has horrible color levels and looks like a mess


can you link a sample image?


File: 1687404765819-0.jpg (418 B, 40x30, 4:3, crop.jpg) ImgOps iqdb

File: 1687404765819-1.png (2.78 KB, 160x60, 8:3, ClipboardImage.png) ImgOps iqdb

sure, but i had to crop it. curious how it will appear on wizchan. the to left half is how it appears (incorrectly) via windows and old stuff. right is how it appears in photo viewers, gimp, probably photoshop or anything adobe, web browsers, etc. i don't like the right… tldr to convert crop.jpg into the left, such that it appears that way in a photo viewer, that's my problem atm


Wizfrens, what's the best text editor for Windows?




Notepad++ (or VSCode if you don't mind telemetry/analytics and Electron).


VSCode is pretty nice out of the box and looks/works the same on all platforms. Loads of extension and themes you can install to fit your needs.


I gave up on functional programming and moved to C. I keep digging downward through the abstraction layers, learning about baremetal C and assembly (kernels, microcontroller firmware) straight down to analog electronics. My knowledge still feels surface-level.


ima give Go a chance, see how it feels.


I lied I don't have much to do with computers at all but I got nice digits.


ffmpeg.exe -i video.mkv -ss 110 -crf 30 -preset veryfast -vf subtitles=video.mkv:si=0 video.mp4

i had to hard encode subs to make anime playable on my old phone, this is what i used
ss 110 skips the first 110 seconds, skipping the intros
crf 30 is really low quality but significantly reduces filesize
preset veryfast just speeds up encoding
-vf subtitles=video.mkv:si=0 is a filter to hard encode the subtitles from video.mkv, using the 1st(0) subtitle index (english) - you look at streams by via ffprobe

the problem i had was trying to map select the video, audio, subtitle streams while also hard encoding them with a filter, in one pass. i still dont know how to do this, but this seems to select the right audio and video streams without specifying it, leaving only the subtitle stream necessary to specfy, which lets you filter it since no mapping is done. it is simple but i spent an hour figuring it out. i really wish someone posted this to the stack overflow thing regarding converting mkv to mp4 and retaining subs


what am i even supposed to do with programming

i learned a language (atleast, the fundamentals of how it works) and thought it was gonna be a great hobby for an autist like me and i could put all of my time into it, but i half assed what i finally wanted to do with it in the first place and now i cant even get the motivation to even do any more of it. 90% of the time youre just staring at documentation and googling stuff and i cant be bothered when i dont even know what i wanna do with it anymore.


you write programs

>what programs do i write?

you use your computer and when you notice a problem/inconvenience that you're having, you write a program to address it


what if you make 2 node types, one for hosted instance and one for central authority?


learn to draw pixels in a window and play with graphics algorithms anon, graphics can be amazing


learn 2 inject code so you can fix all of your favorite games

[View All]
[Go to top] [Catalog] [Return][Post a Reply]
Delete Post [ ]
[ Home ] [ wiz / dep / hob / lounge / jp / meta / games / music ] [ all ] [  Rules ] [  FAQ ] [  Search /  History ] [  Textboard ] [  Wiki ]