/vyt/ - VTubers

Virtual YouTubers

Index Catalog Archive Bottom Refresh
Name
Options
Subject
Message

Max message length: 0/12000

files

Max file size: 32.00 MB

Total max file size: 50.00 MB

Max files: 5

Supported file types: GIF, JPG, PNG, WebM, OGG, and more

E-mail
Password

(used to delete files and posts)

Misc

Remember to follow the Rules

The backup domains are located at 8chan.se and 8chan.cc. TOR access can be found here, or you can access the TOR portal from the clearnet at Redchannit 3.0.

.se Will Return Shortly
Keep Redchannit and Tor Bookmarked as Fallback


8chan.moe is a hobby project with no affiliation whatsoever to the administration of any other "8chan" site, past or present.

(53.68 KB 500x606 1704945473839441.jpg)

All the sound clips I made for 4chan are useless now
(3.94 MB 1280x720 runiedance.webm)

<he doesn't know how to quickly convert soundposts to proper videos with audio
>>35218 (OP) We will be back in a week.
In retrospect, soundposts were never sustainable.
>>36164 How?
>>37642 ffmpeg -i video.webm -i audio.ogg -c copy out.webm
>>37524 I guess the guy running catbox is happy we're not using his bandwidth. >>37666 I'm gonna need a script that can do a batch in a folder.
>>36239 Two more weeks
>>37666 .\ffmpeg -i video.webm -i audio.mp3 -shortest output.webm
Good. Soundposters were a scourge and this is god's righteous punishment.
>>37666 >>51378 It's different if you have a .png or a .gif. Here are mine. >png and mp3 (to preserve alpha transparency replace yuv420p with yuva420p) ffmpeg -loop 1 -i input.png -i input.mp3 -map 0 -map 1:a -c:v libvpx-vp9 -vf format=yuv420p -c:a libopus -shortest -fflags +shortest -max_interleave_delta 100M output.webm >gif and mp3 ffmpeg -ignore_loop 0 -i input.gif -i input.mp3 -map 0 -map 1:a -c:v libvpx-vp9 -vf format=yuv420p -c:a libopus -shortest -fflags +shortest -max_interleave_delta 100M output.webm >webm where video and audio are the same length ffmpeg -i input.webm -i input.mp3 -map 0:V:0 -map 1:a:0 -c:v copy -c:a libopus -b:a 160k -f webm output.webm >webm where video is looped for the duration of the audio (two separate commands) ffmpeg -stream_loop -1 -i input.webm -i input.mp3 -c copy -shortest -fflags +shortest -max_interleave_delta 100M output.mp4 ffmpeg -i output.mp4 -map 0:v:0 -map 1:a:0 -c:v copy -c:a libopus -b:a 160k -f webm output.webm
>>35218 (OP) The only place on the web that dumb workaround works? Well convert them and you can use them anywhere
>>38165 >I'm gonna need a script that can do a batch in a folder. Bash or windows powershell? Post the name of a soundpost file to see the format. I'll see if I can cook something.
>>51695 lots of flags i dont need but some of them are good thanks bro
(3.34 MB 1239x713 YOLO.webm)

Imagine just now being able to enjoy the novelty of videos with sound. Welcome to CY+10.
>>37666 >>51695 With scripts, you don't just have the audio with the soundpost, you'll need a script that'd auto download the catbox soundfile, then combine them into a video
>>35218 (OP) I was working a couple nights ago on porting over the simpler External Sounds script but I ran into some CORS bullshit that's hard to work around so that might take a bit, there is however a script to convert your soundposts that a batposter made >>24662 (24445)
>>52325 d*cksword all over again...
(23.63 KB 960x480 cmd_iPki3yh8zI.png)

>>63684 am I doing something wrong?
>>68132 You should have inferred from the log that you need ffmpeg. Go install that.
(106.38 KB 2048x1274 cmd_hZ4bkq4B5i.png)

>>52030 I'm using this and drag and dropping soundposts. But it requires the tempSOUNDED file (doesn't even need to be a real music file) instead of simply downloading from the catbox link and temporarily creating the file. https://pastebin.com/sBYX6pYQ
>>71037 >windows batch files Oh brother I'm not touching that with a ten feet pole. But I cooked something quick in Python. THIS IS WORK IN PROGRESS it's still not finished but I made some progress, I might finish it later today. What it does now: >lists all files in current directory and finds the ones that have the [sound=] tag in the name >downloads sound file to current directory >calls ffmpeg to mix the two What is missing: as >>51695 pointed out there are some edge-case scenarios like when one file has to be looped because the other one is longer and so on. I might look into that later. You will of course need python, ffmpeg and ffprobe in your path or current directory for it to work. You could comment out the line where ffmpeg is called just to download all the mp3 files from your soundpost collection, I guess. https://pastebin.com/aY84qSem
>>74320 A lot of people do have the https stuff but I don't. I strip all of that out so it just looks like this. [sound=files.catbox.moe%2Fmenfrb.ogg]
>>74568 Ah don't worry about it the script already takes into account that the https might be missing and it adds it to the url if so. I will also add some sort of throttle mechanism so that catbox server doesn't ban you for downloading too much shit too fast when trying to get all the sound files on your machine. In the meantime it might be useful if you posted a couple of your soundfiles (I never kept any) so that I can test the edge case scenarios as listed by >>51695
>>35218 (OP) i think vlc can combine them
(3.62 MB 400x450 fillylaugh.webm)

>>35218 (OP) One of our anons made a soundpost archive website shortly before 4chan went down. Ironically, it's still useful as he uses it to redirect lost anons to 8chan and you can download soundpost in either combined or soundpost form, meaning well over 600 soundpost are available for use even now
>>74840 Link?
https://pastebin.com/x3w0b1yQ I think this is it? I didn't have many files to test it on, but I added all the different cases. You will obviously need python, ffmpeg and ffprobe (comes with ffmpeg). Place in your soundpost folder and run. There are a couple of configuration variables at the top of the script because I didn't want to make the script more complex by adding some sort of argument parser. I don't know much about ffmpeg so someone more knowledgeable in ffmpeg might help here by suggesting better parameters for ffmpeg to get better quality/smaller filesize. Other than that give it a try and let me know if there's improvements to be made.
>>75294 Doubt you will have use for this archive tbh https://www.snekbot.com/filly/fillysoundposts Soundpost form: dedicated download button Vid with sound: right click and download
(1019.63 KB 1080x1080 raolaugh.mp4)

>>35218 (OP) phasecuck
(114.68 KB 2161x1037 py_woewdhhMJ9.png)

>>75585 I assume it doesn't like the unicode arrows in the filename?
>>78124 I think the problem is the space characters, actually. I forgot to put quotes around filenames in the ffmpeg commands. Try this one, let's see how long it takes us to make it right. https://pastebin.com/7d5g4C6L
I'm also seeing you have an issue with trying to encode h264 when width is not divisible by 2. I will have to address that I guess but that will be tomorrow.
Who am I kidding? I can't enjoy my dinner knowing a dumb bug was in the script I made. I added a simple ffmpeg filter which makes the output divisible by 2. It's a variable at the top of the script you can edit if you want a different one like pad, crop or scale. Sorry for all the doubleposting but it's just the nature or working out the bugs of a script. https://pastebin.com/Sc3yNKvk
(22.10 KB 1409x427 firefox_fr6LgcqLqH.png)

>>78347 yeah they all now seem to work except those ones I also found out https://files.catbox.moe/3c893x.mp4 just seems to load forever on catbox so it might not even be possible to convert all of mine
(47.87 KB 1153x646 explorer_KUFa1fcgeR.png)

any idea why these are not working?
(9.58 KB 639x405 whitelist.png)

>>79282 Oh they are ignored because I didn't know people used .webm and .mp4 files as sounds for the soundposts. But they can be easily added here at the top of the script like in pic rel. As a matter of principle I always make things to be inclusive (that is, you have to whitelist things) rather than exclusive because when you add a list of things to exclude you might be missing some and then be open to attacks. But even then it might give you some errors because ffmpeg encounters two videos and doesn't know what the fuck to do with them. Mapping the streams like >>51695 does might be necessary so that ffmpeg takes the video stream from input #1 and audio stream from input #2. So give it a try and we'll see if that needs to be addressed. For now I must sleep I'll check tomorrow.
(692.58 KB 800x523 1635488268918.gif)

(1.66 MB pp6m3y.mp3)

>>35218 (OP) 8chan supports multi-uploads. You could always upload the image/gif/video alongside the audio file if you can't/don't want to merge them into one.
>>78664 Yeah, very old catbox links might have been removed at some point. I remember that being an issue about a month ago.
>>80231 removed ones just say the file is gone though, I its some kind of error
(4.91 KB 404x182 firefox_ZIgP8lIsug.png)

(232.10 KB 2316x2266 out-ogey.mp4)

does anyone know why only some of my videos won't play?
>>86342 Try to update Firefox
(54.10 KB 730x367 firefox_TSMoTUZOJf.png)

>>86379 it does it on opera too, they work on edge for some reason
>>86493 I heard it's because of HEVC video extension, try installing it or switch to a Chromium-based browser
(273.10 KB 2316x2266 ogey.mp4)

>>86517 doesn't work even after giving microcucks a $1, and I thought opera was chromium based just going to have to convert them all like this one
>>86990 do they all kind of break after being converted?
(776.26 KB 2316x2266 newout-ogey.webm)

>>86990 >>87318 what about as webm?
>>87815 Are you perhaps getting issues with some of the converted files with the script? I was looking into it and the problem might be that the ffmpeg command is a little bit faulty. As I mentioned in one of my posts, I'm not very knowledgeable with ffmpeg so apparently you can't just stack -vf filters one after another, ffmpeg will ignore all of them except the first. What this means is that the -vf "fps=25,format=yuv420p" filter was not being applied and this filter is kind of necessary for some shitty players to actually play the file. So I went back to the way the ffmpeg is constructed and packed all of the filters in a single -vf argument. I also added -map 0:v -map 1:a arguments so that ffmpeg knows it should take video stream from input 1 and audio stream from input 2. Also added a little bit of error handling when a file is not found on catbox, it just says "file not found" and skips that one. For some reason I didn't think to use a versioning scheme and this is like the 4th or 5th iteration. Once we get it working maybe someone can upload it to a github gist and share with others. https://pastebin.com/5xywt9V2
(230.76 KB 2316x2266 out-ogey.mp4)

>>89893 lets find out
(4.86 MB 740x556 out-Gosling Adoring.mp4)

>>90187 >>89893 seems like they work now, thanks
>>89893 I'm a little more experienced with ffmpeg, so I'll tell you that you don't actually need to get the audio duration for this application. With video, the audio is the same duration (or near enough), and with an image, you're looping it infinitely, so the simpler thing is to use ffmpeg's -shortest option to cut off encoding at the end of the audio file. It doesn't help with any of the issues you've been fixing, but it can simplify the script a bit.
>>35218 (OP) >>63684 (Me) ok it's done, sorry I've been really busy at work, seems to work ok but there's a weird quirk where sometimes you have to expand and contract a video twice to hear it, iunno what that's about https://greasyfork.org/en/scripts/533679-8chan-external-sounds
Oh, looping a shorter file doesn't work. I feel like that used to work. Or maybe I never actually test-posted that one. Whatever. >>105270 Thanks for the script, regardless.
>>107503 yeah the 4chan External Sounds script always made sure the times of the video and the audio matched while 4chan Sounds Player let them both loop on their own, I could always just make that an option or something
what are you guys talking about, the archive is still there isn't it? was 4chinners always this script kiddy relying on nearly deacde old scripts and python packages?


Forms
Delete
Report
Quick Reply
Drag files here to upload or
click here to select them