What would your thoughts be on a website that scrapes /wsg/ and also allows people to create webms from youtube vids, thinking it might make some more/better content flow.
Feel free to post what you want in this thread.
>>1665908
sauce on the webm does he have a youtube channel
>>1666186
yea customgrow420
>>1665908
Youtube already has webms. The biggest issue is making webms that fit into 4MB.
You can get aspect ratio (SAR), video resolution (DAR), and duration using ffprobe.
Contrary to what the shitty /wsg/ guide says, 300 seconds is not allowed, and encodes of 298 seconds translate to 299 on 4chan servers. You can cut the video length to this if the video uploaded is longer, and set the bit rate accordingly. Even then, VP8 constant bit rate (-minrate xxxk -maxrate xxxk -b:v xxxk) isn't always constant.
>>1665908
>>1666312
I think it would be pretty cool, but it would be very hard to make it work well even for people who don't understand video conversion.
Getting webms at the optimal quality inside 4 MiB is like an art. It's different for every video clip. To automate it, you would need to make some kind of software that analyzes the clip for motion beforehand, because clips with lots of movement (stuff from first person shooters, for example) take up a lot more bitrate to be the same apparent quality as a webm with little motion.
There is a standard formula for getting optimal filesize (see bottom of this post), but the amount of motion in the clip is like a wildcard that can greatly affect the accuracy of this estimation. After considering the amount of motion, it could then make an estimation for what would be an appropriate resolution and bitrate for the webm to have acceptable video quality. Maybe you could create a "motion coefficient" or something for each analyzed clip, and do some math with it and the predicted bit-depth of the final webm to determine what settings will make the webm come out at acceptable quality.
IMO it would be best if the converter would suggest this resolution and bitrate, but still allow the user to modify them before starting the webm conversion.
AFAIK there is no way to predict the filesize of a webm that is converted with a variable bitrate (so using quality settings instead of manually specifying video and audio bitrates would be highly unpredictable and inefficient). The process for making a webm at just under 4MiB is:
(32768/(number of seconds of your extract)) - 1 = optimal bitrate without sound
Subtract your sound bitrate if it has sound (i.e. : if you use 45kb/s of sound, you do optimal - 45 = optimal with sound)
45 kb/s is typically fine for audio quality, because Vorbis is an excellent audio compressor.
>>1665908
I would support it whole-heartedly.
I dont know how to use WebmforRetards because it relies on command script and Im afraid if I screw up the command script it'll fuck my computer over irreversibly.
>>1665908
Is a downloader program and webm4retards that hard?