a random webm banner

/webm/ - WebM

Videos from the web


New Reply on thread #83
X
Max 20 files0 B total
[New Reply]

[Index] [Catalog] [Banners] [Logs]
Posting mode: Reply [Return]


thumbnail of 14560650796300.webm
thumbnail of 14560650796300.webm
1456065079... webm
(4.22 MB, 568x320 vp8)
General WebM creation thread.

Tips and Tricks are welcome.

Some useful tools can you find here:

https://github.com/Kagami/webm.py/wiki/Related-links

For Linux I recommend pure ffmpeg or the webm.py tool.

On Windows you should use the WebMConverter.

https://gitgud.io/nixx/WebMConverter

Additional information:

Max filesize is 50MB

No .mp4 allowed, this is a .webm board.

Example ffmpeg lines:

For vp8 I would use this, you can change the bitrate to whatever you like, the higher it gets the bigger the file will be.

ffmpeg -i INPUT.mp4 -c:v libvpx -crf 12 -b:v 1000K -vf scale=720:-1 OUTPUT.webm

For vp9 I am using webm.py and a sample line looks like this:

ffmpeg -hide_banner -i INPUT.mp4 -pass 2 -passlogfile /tmp/tmpr3a1apey -sn -c:v libvpx-vp9 -speed 1 -tile-columns 6 -frame-parallel 0 -b:v 808.3k -threads 4 -auto-alt-ref 1 -lag-in-frames 25 -pix_fmt +yuv420p -ac 2 -c:a libopus -b:a 64k -f webm -y OUTPUT.webm
Useful userscript for looping webms since webms don't loop by default.

// UserScript
// @name        endchan webm loop
// @namespace   jkhsjdhjs
// @include     http://endchan.xyz*
// @include     https://endchan.xyz*
// @version     1
// @grant       none
// @require     https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
// /UserScript
 
$(document).ready(function() {
    $('video').each(function() {
        $(this).attr("loop", "");
    });
});
 >>/193/
>  jquery
fuck


// UserScript
// @name endchan webm loop
// @namespace jkhsjdhjs
// @include http://endchan.xyz*
// @include https://endchan.xyz*
// @version 2
// @grant none
// /UserScript

function addLoopAttribute() {
	document.querySelectorAll('video').forEach(function(v) {
		v.setAttribute('loop', '');
	})
}

if(document.readyState == 'complete') {
	addLoopAttribute()
} else {
	document.addEventListener('DOMContentLoaded', addLoopAttribute)
}
https://www.webmproject.org/

https://trac.ffmpeg.org/wiki/Encode/VP8
https://trac.ffmpeg.org/wiki/Encode/VP9
to get WebMs from YouTube

>  vp8/vorbis
youtube-dl -f43 $(xsel -b)

>  vp9/opus
youtube-dl -f bestvideo[vcodec=vp9][height<500]+bestaudio[acodec=opus] $(xsel -b)

>  to get just a part of a video without downloading the whole thing
ffmpeg -ss 100 -to 200 -i $(youtube-dl -gf43 $(xsel -b)) -c copy ytcut.webm
you get the idea

Post(s) action:


Moderation Help
Scope:
Duration: Days

Ban Type:


7 replies | 1 file
New Reply on thread #83
Max 20 files0 B total