[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

To the webm encoder guy, Why are you using multiple frames for

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 82
Thread images: 42

File: maki1.webm (537KB, 1187x1680px) Image search: [Google]
maki1.webm
537KB, 1187x1680px
To the webm encoder guy,
Why are you using multiple frames for your webms? If you are making a two-second webm (good practice, as some browsers get confused by very short loops), you can set the framerate to 0.5fps and save even more bandwidth

this file was encoded with the invocation
ffmpeg -loop 1 -i maki\ is\ cute\ 548.png -c:v vp8 -qmin 4 -qmax 6 -minrate 40M -maxrate 40M -t 00:00:02 maki1.webm

See the next post for the same file, encoded with the addition of a framerate argument
>>
File: maki2.webm (366KB, 1187x1680px) Image search: [Google]
maki2.webm
366KB, 1187x1680px
ffmpeg -loop 1 -r 0.5 -i maki\ is\ cute\ 548.png -c:v vp8 -qmin 4 -qmax 6 -minrate 40M -maxrate 40M -t 00:00:02 maki2.webm
>>
File: maki is cute 548.png (2MB, 1187x1680px) Image search: [Google]
maki is cute 548.png
2MB, 1187x1680px
this is the original file btw
>>
What is the advantage of using minrate and maxrate instead of crf when you have qmin and qmax set?
>>
File: Uri-tan_Etotama_Ep_1.png (825KB, 1600x900px) Image search: [Google]
Uri-tan_Etotama_Ep_1.png
825KB, 1600x900px
Makiposter, don't bother with an autist that has higher powerautism level than you
>>
>>56816805
I like her 7 foot long arm.
>>
>>56816958
shit
>>
>>56816958
Fuck I'm dying hahahaha
>>
>>56816958
Kek. was this on purpose?
>>
maki has extremely long arms so that she can touch your heart, wherever you are
>>
Why are you encoding still images as a video at any frame rate?
>>
because its a more optimal method of lossy compression than jpeg, and 4chan doesn't support webp
>>
File: out.webm (56KB, 1024x576px) Image search: [Google]
out.webm
56KB, 1024x576px
>>56816780
ffmpeg -loop 1 -r 0.5 -i $(find ~/makis/ -iname \*.png | shuf -n1) -c:v vp8 -crf 4 -b:v 9001k -deadline best -t 1 out.webm

Use -deadline best, senpai. It allows ffmpeg to spend longer figuring out the the best way to compress the frame
>>
nice ty

also i didnt know about shuf that's super handy
>>
File: out.webm (57KB, 1024x576px) Image search: [Google]
out.webm
57KB, 1024x576px
testing if this one confuses my browser as well, >>56817438 and >>56816780 do
>>
2 seconds seems to be the sweet spot, but it probably shouldn't matter how long it is so long as you set the framerate appropriately
>>
File: maki is cute 791.webm (36KB, 685x982px) Image search: [Google]
maki is cute 791.webm
36KB, 685x982px
>>
File: a.jpg (345KB, 1187x1680px) Image search: [Google]
a.jpg
345KB, 1187x1680px
>>56816780
>>
File: out.webm (116KB, 791x1010px) Image search: [Google]
out.webm
116KB, 791x1010px
>>56817622
More like -r 1 -t 2, just like THE autist adviced us... The size difference is not going to be that big in theory as the additional frames are just telling the decoder to redraw the first keyframe
>>
File: maki is cute 548.webm (267KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
267KB, 1187x1680px
>>56817731
>>
File: maki2.jpg (254KB, 1187x1680px) Image search: [Google]
maki2.jpg
254KB, 1187x1680px
>>56817784
>>
>>56816771
Quit giving the shitposter tips
>>
File: maki is cute 548.webm (171KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
171KB, 1187x1680px
>>56817808
>>
File: 4.jpg (36KB, 1187x1680px) Image search: [Google]
4.jpg
36KB, 1187x1680px
>>
File: maki2.jpg (169KB, 1187x1680px) Image search: [Google]
maki2.jpg
169KB, 1187x1680px
>>56817823
>>
>>56816936
Web guy here: I encode a 2 second video with 1 FPS because it prevents unnecessary high cpu utilization.

What you just did (forcing 1 frame in 2 seconds) can cause high cpu utilization in so.e browsers.

tl;dr better safe than sorry and extram frame is like 1-2KB extra
>>
File: maki is cute 548.webm (119KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
119KB, 1187x1680px
>>56817867
>>
File: maki2.jpg (118KB, 1187x1680px) Image search: [Google]
maki2.jpg
118KB, 1187x1680px
>>56817898
>>
File: CAPTAIN AUTISMO.jpg (8KB, 504x332px) Image search: [Google]
CAPTAIN AUTISMO.jpg
8KB, 504x332px
>>
>>56817890
whoops meant to quote >>56816771


>>56816936
CRF does jack shit in VP8. Changing the qmin/max settings is the best quality control possible in VP8.
>>
File: maki is cute 548.webm (97KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
97KB, 1187x1680px
>>56817916
>>
>>56817923
You're late. We already started circlejerking without you. At least go get more lotion while we cool down for round 3.
>>
File: maki2.jpg (97KB, 1187x1680px) Image search: [Google]
maki2.jpg
97KB, 1187x1680px
>>56817940
>>
File: maki.webm (23KB, 1187x1680px) Image search: [Google]
maki.webm
23KB, 1187x1680px
>>56817842
>>
File: maki is cute 548.webm (59KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
59KB, 1187x1680px
>>56817958
now you're being silly
>>
File: CAPTAIN AUTISMO.jpg (8KB, 504x331px) Image search: [Google]
CAPTAIN AUTISMO.jpg
8KB, 504x331px
>>56817944
>>
File: maki2.jpg (59KB, 1187x1680px) Image search: [Google]
maki2.jpg
59KB, 1187x1680px
>>56817983
>>
File: maki is cute 548.webm (49KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
49KB, 1187x1680px
>>56817998
>>
Original image: click to view it in full size
Webm: click to play/pause

WOW
Useful!
>>
File: maki2.jpg (49KB, 1187x1680px) Image search: [Google]
maki2.jpg
49KB, 1187x1680px
>>56818007
>>
>>56817986
you seem upset

webm bro pls webm this and save me a kb or two if possible.
>>
File: maki is cute 548.webm (29KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
29KB, 1187x1680px
>>56818017
>>
File: maki2.jpg (29KB, 1187x1680px) Image search: [Google]
maki2.jpg
29KB, 1187x1680px
>>56818029
>>
File: CAPTAIN AUTISMO.jpg (8KB, 503x332px) Image search: [Google]
CAPTAIN AUTISMO.jpg
8KB, 503x332px
>>56818027
>>
>>56818056
Okay lotion boy, unzip your pants.
>>
File: maki is cute 548.webm (27KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
27KB, 1187x1680px
>>56818041
>>
File: maki2.jpg (27KB, 1187x1680px) Image search: [Google]
maki2.jpg
27KB, 1187x1680px
>>56818088
>>
File: out.webm (183KB, 791x1010px) Image search: [Google]
out.webm
183KB, 791x1010px
>>56817926
>CRF does jack shit in VP8
Interesting, pic related now with -qmin 0 -qmax 0.

Problem however with these better quality options is that it doesn't really beat jpg in quality for the same file size, it's only in the autismo small files where some benefits could be had and that only benefits those living in US or in other 3rd world nations with trash tier internets
>>
File: maki is cute 548.webm (26KB, 1187x1680px) Image search: [Google]
maki is cute 548.webm
26KB, 1187x1680px
>>56818114
Not sure how many more bytes i can take off this
>>
File: maki2.jpg (26KB, 1187x1680px) Image search: [Google]
maki2.jpg
26KB, 1187x1680px
>>56818140
>>
>>56818140
it looked like shit long ago. just stop
>>
>>56818148
still looks better than the png desu

and that's the smallest I can go
ffmpeg -loop 1 -r 0.5 -i input.png -c:v vp8 -qmin 63 -maxrate 1k -deadline best -t 00:00:02  output.webm
>>
than the jpg

its late
>>
File: unknown[1].png (2MB, 1098x1675px) Image search: [Google]
unknown[1].png
2MB, 1098x1675px
>>
>taking shitposting this seriously
>>
>>56818120
why use it though for these small files, a few kilobytes matter little compared to the inconveience of having a webm. And for very big images you can't zoom in(i. e. view parts in original resolution.
>>
>>56818246
maximum fucking kek
>>
i only have 2 tabs open but my browser is eating 30% cpu for some reason
did u just hack me
>>
File: Untitled.png (173KB, 1366x1236px) Image search: [Google]
Untitled.png
173KB, 1366x1236px
>>56818341
>>
ChromeOS doesnt have this problem
>>
File: challenging problem.gif (88KB, 10000x10000px) Image search: [Google]
challenging problem.gif
88KB, 10000x10000px
>>56818341
>>56818348
>only 30%
>>
>>56818411
now do one with webm. That's right: you cant because theyre arbitrarily limited to 2048x2048 here on 4chan and were not allowed to use vp9 either
>>
>>56818417
>implying that i haven't tried already
>>
It's really annoying isn't it. I tried arguing on /qa/ about it but as usual the people who hang out there just wanted to agree with current policy
>>
>>56818431
webp isn't supported in firefox so no.
>>
>>56818431
also, why bother with webp when VP9 webms would actually make a difference?
>>
File: Screenshot_2016-09-27-23-39-04.png (400KB, 540x960px) Image search: [Google]
Screenshot_2016-09-27-23-39-04.png
400KB, 540x960px
Why does ksthis happen?
>>
>>56818431
Yeah, cuckzilla is probably paying 4chan to not adopt webp yet in hopes of the sjw jpg encoder becoming relevant. Though eventually as firecocks plummits to 1% marketshare they will probably add support for webp out of the blue.

Only a matter of time I guess.
>>
>>56818485
Shitty video player. Use mx player or Clover.
>>
File: out.webm (181KB, 791x1010px) Image search: [Google]
out.webm
181KB, 791x1010px
>>56818485
pix format in that one is yuva480p which your media player can't hand, this is with yuv480p and should play normaly
>>
File: autism.jpg (22KB, 448x336px) Image search: [Google]
autism.jpg
22KB, 448x336px
>>56816771
do the world a favor and kys. you're too fucking autistic to live.
>>
>>56818549
yuv[a]420, not 480
>>
>>56818558
>no fun allowed
good luck with that
>>
>>56818613
get a fucking blog.
>>
>>56818627
What do I need a dog for? To bark and shit itself every 5 minutes? No thanks.
>>
File: 3600000 seconds in paint.png (3MB, 1098x1675px) Image search: [Google]
3600000 seconds in paint.png
3MB, 1098x1675px
>>56818246
fixed
>>
>>56817926
>CRF does jack shit in VP8. Changing the qmin/max settings is the best quality control possible in VP8.
Could you elaborate on this point?

I use "constant quality mode" (or maybe it is constrained quality) to encode webms for 4chan. A lot of times I will use two passes.

Changing the '-crf' parameter makes a difference. The difference is noticable to me when crf is changed in the range of 5 to 10 (or more).

When you say it doesn't do anything, are you saying that with respect to this thread (making static 2 second images)...or is there something more that I am missing?
>>
>>56816771
>>56816780
I can't zoom in on these...

>>56816805
I can zoom in on this.
>>
>>56818663
!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
File: umad.gif (2MB, 25x28px) Image search: [Google]
umad.gif
2MB, 25x28px
>>
File: dwfj3lbn.jpg (21KB, 1187x1680px) Image search: [Google]
dwfj3lbn.jpg
21KB, 1187x1680px
>>
this thread is gold
Thread posts: 82
Thread images: 42


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.