[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/webm/ - WebM

Focused on WebM. Nothing else.

Catalog

Email
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 3 per post.


/webm/ has a new BO. Don't worry, nothing much is going to change.
WebM Requests // Beginner's guide to WebM

File: 1421215123360-0.png (29.79 KB, 160x454, 80:227, Screenshot - 01132015 - 08….png)

File: 1421215123360-1.png (34.62 KB, 416x314, 208:157, Screenshot - 01132015 - 08….png)

 No.2573

Easy Mode

This option is only good for converting an entire Youtube video into a Webm. I will explain each step as if you were using a computer for the 1st time ever or something like that.

#1 Go to this site: http://en.savefrom.net
(Warning) This site is functioning and SAFE only with the presumption that you are using all possible safety measures such as running an adblocker and/or a script blocker but primarily using your own judgment as websites of this nature can and will be purchased by someone with malintent who may compromise it. This has happened with another website that performed the same function as this one. A good resource for determining the safety of a site like this is a browser extension called Web of Trust, see here for an example: https://www.mywot.com/en/scorecard/en.savefrom.net
#2 As seen in the 1st OP pic, there is only one option for downloading a webm from this site, it's in 360p meaning that many videos over perhaps 2 minutes in duration will turn out over the size limit of this chan(8mb), we'll worry about that case in a moment but for now we'll assume you're downloading a video that fits the size limit which you can determine from the 2nd OP pic, so go ahead and click on the webm option in this case.
#3 Finally, we're assuming you're downloading a video that's over the size limit. In this case, you can try clicking on one of the 240p options and checking to see if the filesize is sufficiently low, then you'll need to continue onto the next section to convert the non-webm file into a webm(This should prove still easier than downsizing the 360p webm). If you do download it as 240p, expect a degradation in image quality.

Hardish Mode

First, I'll briefly explain ffmpeg and dump some links to help you get it if you're on Linux, it is possible to get it for other platforms but it takes more effort than could be expected from a lazyass like myself so if you're adventurous, google it. If you're on Windows or Mac, scroll down to the end to find a nifty link that'll give you a neat list of GUI & command line apps for your OS that do the same thing as ffmpeg and then google for a tutorial on how to use that app if you can't figure it out. So, what ffmpeg is…is a command line tool that converts audio and video files between a variety of formats, for our purposes it only needs to convert one such file into a webm and with link no.2 below you'll see that's very easy to accomplish, just change output.avi to output.webm and take out any unwanted changes beyond the -i parameter which indicates you're converting one file to another, it's as simple as that.

Linux:
#1 Download link:
http://ffmpeg.org/download.html
#2 Howto link:
http://ffmpeg.org/ffmpeg.html#Description

Windows Converters:
http://alternativeto.net/browse/search/?q=%22webm%22&platform=windows

Mac Converters:
http://alternativeto.net/browse/search/?q=%22webm%22&platform=mac

DON'T DOWNLOAD MALWARE AND BLAME ME FOR IT

 No.2574

>>2573
Alternatively:
Download with 4K Video Downloader:
https://www.4kdownload.com/products/product-videodownloader

Convert, trim, resize with WebM for Retards:
https://github.com/nixxquality/WebMConverter

 No.2646

Ubuntu treats ffmpeg as though it's deprecated when it's not. Instead it comes with avconv due to a supposed semi-political fork.

If you're using Ubuntu you can remove avconv and add ffmpeg repository and install it from there.

http://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04
(see first answer)

avconv and ffmpeg cli commands are nearly identical though.

 No.2961

Here's some ffmpeg tips:

To do a 2-pass encoding in VP9 (much, much better than VP8)

Pass 1:
ffmpeg -i "input.mp4" -an -vf unsharp,scale=-1:720 -sws_flags lanczos -c:v libvpx-vp9 -cpu-used:v 1 -auto-alt-ref:v 1 -lag-in-frames:v 16 -keyint_min:v 0 -g 360 -b:v 800k -quality:v good -pass:v 1 -f null NUL


The last NUL is for windows. Linux/OSX use /dev/null

Pass 2:
ffmpeg -i "input.mp4" -c:a libvorbis -q:a 3 -vf unsharp,scale=-1:720 -sws_flags lanczos -c:v libvpx-vp9 -cpu-used:v 1 -auto-alt-ref:v 1 -lag-in-frames:v 16 -keyint_min:v 0 -g 360 -b:v 800k -quality:v good -pass:v 2 "output.webm"


-b:v is the bitrate. You can calculate using some bitrate calculator (keep in mind that the audio will use semething beteeen 100kbps to 120kbps, depending on -q:a)

-q:a is the vorbis quality (3 is ~112kbps). You can change to something like -q:a 2.5 (~ 100kbps), 2 (~96kbps). It depends on the material, music will take more bits.

-vf unsharp,scale=-1:720: unsharp cleans up the video, not necessary if the source is good. scale:-1:720 will resize to 720p. You can change to any resolution (854:480, 960:540, etc).

-cpu-used:v 1 is the quality of the encoding. You can change to 0, but it will take a long time to encode


If you want use VP8, much faster, change to -c:v libvpx (without the -vp9), everything else is the same.

You can calculate the bitrate by dividing the total bits, 67108864 (8 * 8 * 1024 * 1024), by the number of seconds. Keep in mind the overhead (~1%) and the audio.

 No.2962


 No.2963

File: 1422284449813-0.png (27.66 KB, 1024x634, 512:317, xmedia1.png)

File: 1422284449813-1.png (34.92 KB, 1024x634, 512:317, xmedia2.png)

File: 1422284449813-2.png (33.24 KB, 1024x634, 512:317, xmedia3.png)

There's also Xmedia Recode, a pretty decent Windows encoder that supports Webm

http://xmedia-recode.de/download.html

 No.2995

>>2961
Can you post a "general" vp9 line for windows users? Those gave me all kinds of errors trying them a few times.

 No.2998

>>2995
They should work. What kind of errors do you get?

 No.3017

File: 1422509402837-0.jpg (35.73 KB, 584x309, 584:309, stats for nerds.JPG)

File: 1422509402837-1.jpg (40.32 KB, 543x354, 181:118, 4k video.JPG)

Something I realized a couple days ago:
Youtube already converts some videos to VP8/VP9
Which means, if you're lucky, you may be able to find some video resolutions that fits under the 8MB size limit. This is especially useful for VP9 since the encoding takes a lot longer

To check if youtube's serving the VP9 version of the video:
Right click on the video and select 'Stats for nerds' and check the Mime Type. Note that it currently only works on the HTML5 player in Chrome.

To download the video:
Grab the video url and paste it into 4k Video Downloader, and chooses the mkv file format.

Convert to .webm:
Although the downloaded file is using the mkv container, you'll note that the codec used is VP9/Vorbis. Which means it is possible to change the container to webm without encoding or loss of quality.
To do this in ffmpeg, run the following command:
ffmpeg -i input.mkv -c copy output.webm

Alternatively, you can use XMedia Recode, and choose 'copy' in the video and audio tab.

 No.3018

File: 1422509654041-0.jpg (33.58 KB, 997x343, 997:343, ffmpeg.jpg)

File: 1422509654041-1.webm (5.97 MB, 1280x720, 16:9, themoonrises.webm)


 No.3023

>>3017
This is true. All videos are being converted to VP9/Vorbis. But they they a long time, because VP9 is slow as fuck.

Anyway, an easier way is getting Youtube Complete Saver for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/complete-youtube-saver/versions/

Point to ffmpeg in the extension option and it will convert directly to webm

 No.3024

>>3023
An by "converting" I mean just muxing both DASH tracks.

 No.3041

Also about Save from.
Typing SS before any youtube video will let you download it off of save from, it redirects you to there with the video ready to download.

 No.3083

File: 1422623231273.png (27.05 KB, 749x417, 749:417, completeyoutubesaver.png)

>>3041
That will save the old VP8 360p webm. Using >>3023 you can save the new VP9 up to 1080p webm.

Pic related, the 480p webm is smaller than the 360p non-DASH webm (fmt 43).

 No.3084

File: 1422623619222-0.webm (6.64 MB, 640x360, 16:9, Making the World a Better….webm)

>>3083
Here both to compare: fmt 43

 No.3085

File: 1422623697924-0.webm (5.77 MB, 854x480, 427:240, Making the World a Better….webm)

>>3084
>>3083
and fmt 244

 No.3086

>>3085
Bonus: the same video I converted with ffmpeg, in 720p >>3030

 No.3108

how to subtitles?

 No.3109

>>3108
Virtualdub, convert to something lossles like Lagarith and to WebM with ffmpeg.

 No.3451

I've just encoded a silent webm, now how can I merge an audio track to it? Ideally not uncompressed wav.

 No.3452

>>3451
Convert to vorbis, foobar2000 is pretty good to convert anything to vorbis. Then you can use mkvtoolnix, mmg is pretty easy too, just drag the tracks and check webm compliance in the second tab.

 No.3542

this seems to be a bit more convenient http://solusipse.github.io/web-to-webm/

 No.3562

Anyone have a favorite way of converting mov to webm? Seems every time I try mov to something else to webm, the file size just expands something crazy.

Also while we're at it, anyone have suggestions on how to make a webm with a static image and a song? Every time I try with any movie-making software, the webm ends up 12MB… absurd for a 3 minute song and an unmoving image.

 No.3580

What's the optimal way of retrieving a file from youtube for webm conversion via ffmpeg?

I'm on linux and would rather not use one of those youtube downloader sites. Is there a better way?

 No.3585

>>3580
youtube-dl is available in most good repos.

 No.3587

File: 1425235775264.webm (7.92 MB, 900x945, 20:21, out.ogv_00002.webm)

So I made this: https://github.com/BAXTER001/VideoNurd

A gui video swiss army knife, very early beta at the moment, just compiled a windows release but not sure how well it runs.

 No.3619

>>3587
Can it do things like 2 pass encoding and calculating the target bitrate given a size constraint?
And how is the seeking compared to WebmForRetards?

 No.3776

>>3587
Tried this last night and got an error message.
Instantly gave up.

 No.3791

File: 1426468886215.jpg (71.81 KB, 960x635, 192:127, 1426171440060.jpg)

>>3776
That's the spirit.

>>3451
using ffmpeg - first encode the input audio into a format compatible with webbums (use either opus or libvorbis - opus is generally better quality/similar conversion time):

ffmpeg -i "input.mp3" -c:a audio_codec -b:a audio_bitrate -f audio_codec "output_audio.opus"
(or "output_audio.ogg" if using vorbis)

where:
audio_codec = opus or vorbis
audio_bitrate = your audio bitrate (for opus - 96k+ for music, 64k+ for speech/etc.)

Then take the resulting audio file and combine it with the silent webm:

ffmpeg -i "output_audio.opus" -i "video_without_audio.webm" -c:a copy -c:v copy -f webm video_with_audio.webm

 No.3850

Is there some sort of rule regarding the aspect ratio and size (p.ex 640x480) of webm that is generally followed when upscaling or downscaling a video to a webm due to filesize in order to maintain as much quality from the original source as one can ?

 No.3900

File: 1427238448974.webm (3.49 MB, 720x404, 180:101, Frank gets triggered.webm)

Finally made my first webm. Enjoy.

 No.3989

File: 1427377389004.jpg (701.26 KB, 1280x842, 640:421, 3036887-inline-i-7-the-bre….jpg)

remember: youtube-dl is pretty awesome. despite the name it has a long list of supported sites, mostly porn, obv. there is support for bulk playlist, channels, etc downloads.
https://rg3.github.io/youtube-dl/download.html get it here
usage: youtube-dl -f webm <link>

gifs:
avconv suck here, use ffmpeg instead
ffmpeg -f gif -i my.gif out.webm

or
http://gfycat.com

if you're mad enough to convert a shitton of all your gifs to webms - i've got in covered: https://github.com/fiocfun/gfycat-webmify (leenoox only)

 No.4171

File: 1428240630676.webm (7.21 MB, 960x540, 16:9, Youre_gonna_carry_that_we….webm)

>>3850
It's generally guess work and depends on the codecs you're using (vp8 vs vp9 vs h264 for video, vorbis vs opus vs aac for audio) and the amount of animation in the video (if there's not much going on visually you can usually push the resolution up/make it longer, etc.). As far as a basic guideline for resolutions/length of video goes, I generally think that the max time length for a standard video while being under the 8MB limit is…

1280x720 (720p) = ~1m10s (longest a 720p video can be before it starts to look like shit is ~1m10s)
1120x630 = ~1m30s
960x540 = ~2m
800x450 = ~2m 40s
640x360 = ~4m 15s

And that's pretty much what I go off when deciding the resolution of a video - if my source video is 2m30s long, for example, I would probably use ~800x450 resolution as I know that's about the max resolution I can chose while still having the video look good enough quality wise.

With that being said, it varies massively depending on the amount of animation going on (less animation = longer videos at higher resolutions while still being under 8MB - attached webm is a good example of the sort of video you could push significantly compression wise), but as for "average videos" the above is what I usually operate off. Using VP9+opus over vp8+vorbis/h264+aac helps quality as well, although it is obviously much more of a time sink over than just using the latter.

 No.4216

is there an easy way to record a game that i play and automatically turn to a webm?

 No.4275

>>3023
this isn't working for me anymore

 No.4343

So I converted my first manually using ffmpeg. It isn't too hard:

ffmpeg -i input.mp4 -c:v libvpx -b:v 350K -c:a libvorbis output.webm

The bitrate is key. Take 64000 then divide by the number of seconds in the clip to get the bitrate in kilobits (round down of course).

Pity WebM sucks so bad compared to mp4. Honestly, I think Google picked a shit format.


 No.4485

If you're going to make webm's just use 'webm for retards'

Best and easiest way really.


 No.4899

When I am trying to convert videos with large times using Webm for Retards I end up having the audio not being in sync with the video. Does anyone know how I can fix this, should I try converting to VP9 instead?

Also if converting a video with a large time into a webm. What should I reduce to get the right size, bit rate, resolution or both?


 No.5087

>>4485

How can I get subtitles with webm for retards?


 No.5092

Any way to get VP9 to use more than 2 cores, not matter if i use 8, 16 or 32 threads it still only max out 20-30% of the cpu, what is the reason for this and why isn't there any solution yet?

VP8 gives me around 20-30 fps while VP9 only 3-9 fps.


 No.5100

>>5092

Not really, VP9 is just slow.

Make sure you are using libvpx 1.4.0, it's a little faster.


 No.5260

File: 1433899971977.png (132 KB, 944x1500, 236:375, webm_encoding_guide.png)

Been here for a little while now, and have played around with various things to get the best WebM quality

Nothing so far matches WebM for Retards, because I can't find any programs that will easily trim, dub and so forth.

A few tips for the program lads:

Download the latest version off github and then download both the ffmpeg 64-bit and 32-bit 'static' releases. Drag and drop the 64-bit ffmpeg.exe, and drag and drop 32-bit ffmpeg.exe + ffplay.exe + ffprobe.exe, into their respective folders. This updates the program to libvpx 1.4.0 and whatever else. This might affect some 'temp' file management, but it doesn't affect the webm creation process.

Change the '-quality' parameter to 'good' for VP9 encoding. It boosted the encoding rate on my i5 4670 from ~0.2 fps to ~9-15 fps.

When using 'variable' mode with VP9, add a '-b:a 77k' parameter, where the number is the audio bitrate you want. 77kb/s is about equivalent to 128kb/s mp3, so I read. 32-36kb/s seems to be the sweet spot for talking. The minimum is 5kb/s, but quality rapidly declines below 16kb/s.

I don't recommend shaving the frame rate, unless other quality options at their limits.

r8 my guide m8s - It's not going to be the same for every video, but I think it gives some indication of what to aim for


 No.5299

Is there a tool that can quickly turn an audio track into a (webm) video of just some picture with sound?


 No.5323

Windows user here, I've found this video as a guide https://www.youtube.com/watch?v=YLkH9Er0u4Y

It uses ffmpeg + VirtualDub + this script http://pastebin.com/raw.php?i=br77bNVZ

Video conversion works fine, but I get an error when I want to include audio as well (halfchan is full of faggots that can't help themselves if they have audio as well, apparently). The error is "CLI: The multiplexing process failed with error code 1. Check logs"

Any pointers on how to get the audio to work as well?


 No.5394

>>5260

Best program hands down:

>>2963

>real freeware

>do everything

>copy option so can do lossless edits and muxing

>size calculator can create <8mb files

mmg is good too, but overkill professional, xmedia is newbie-friendly.


 No.5460

Is there a way to input an audio file, add an image and convert it?

Cause inputing the image first and audio after gives me problems, for which i'm too lazy to solve.


 No.5463

How do people get long, good quality webms under 8mb? I just don't understand it.


 No.5593

File: 1437268951847.webm (1.66 MB, 461x588, 461:588, ChipTune.webm)

>>2573

>DON'T DOWNLOAD MALWARE AND BLAME ME FOR IT

I seriously hope you guys did not stick your fingers into the botnet honeypots posted by OP.

Windows converters are not only garbage, but full of malicious code and spyware.

>>5299

>>5460

>Is there a tool that can quickly turn an audio track into a (webm) video of just some picture with sound?

>Is there a way to input an audio file, add an image and convert it?

Yes there is, Anon. ffmpeg, the swiss army knife of audio & video conversion.

ffmpeg -loop 1 -i input.png -i input.flac -c:v libvpx-vp9 -c:a libvorbis -b:a 128k -shortest -strict -2 -pix_fmt 420p output.webm

-shortest = the clip ends when the audio file ends

-strict -2 = experimental

-b:a = audio bitrate

-pix_fmt 420p = convert pixel format to 420p

>webm related


 No.5594

File: 1437269280042.webm (7.83 MB, 1280x720, 16:9, MarxistEconomics.webm)

>>5463

>How do people get long, good quality webms under 8mb? I just don't understand it.

The secret is ffmpeg, the swiss army knife of audio & video file size reduction.

ffmpeg -i input.avi -c:v libvpx-vp9 -c:a opus -c:v 500k -b:a 96k -cpu-used 0 output.webm

cpu-used 0 = good quality

libvpx-vp9 = video codec for small webm files

opus = audio codec for small webm files

-c:v = pick a low video bitrate (500k or lower)

-b:a = pick a low audio bitrate (96k or lower)

>webm related


 No.5595

File: 1437338450456.webm (7.54 MB, 213x120, 71:40, ep4.webm)

>>5087

It's called webm for retards for a reason. Use ffmpeg, the swiss army knife of audio & video conversion.

It's not that hard, if you're willing to learn.

https://ffmpeg.org/ffmpeg.html

https://ffmpeg.org/ffmpeg-filters.html#subtitles-1

https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

inb4 slowpoke


 No.5683

so now that webm for retards is removed from github. Where can I download it?


 No.5690

>>5683

It's back up. They just renamed it.

https://github.com/nixxquality/WebMConverter


 No.5790

Very stupid anon here, how do i make a still image with sound webm?


 No.5797


 No.5799

>>5797

Where can i input these lines?

What program do i use and such?


 No.5807

>>5593

thanks!


 No.5825

>>5799

ffmpeg


 No.5833

Is there a way to get/predict VP9 (2-pass) encoding to be more true to the desired average bitrate?

Whenever I use VP9 there is a high chance it overshoots the selected bitrate by a mile (making the file over 8MB). Trial and error seems to be the only way to figure out good settings, but VP9 is really just way to slow for that method. I wonder how others deal with this.


 No.5921

File: 1440811364701.webm (7.8 MB, 600x480, 5:4, output.webm)

>>4343

Just tried this now. Started with a 55.9MB mp4 at 21 seconds long, 60fps, 480p.

The line of code ended up being

 ffmpeg -i input.mp4 -c:v libvpx -b:v 3047000 -c:a libvorbis output.webm 

webm related is the outcome.

Pretty good.

When I first tried it I just set a file size limit and let ffmpeg decide on the bitrate to reach it. Ended up always being way under (~5MB) and garbage quality. Thanks for the script, anon.


 No.5942

>>5921

Use vp9, jesus.

For a board called /webm/, y'all sure are behind in the technological arms race.


 No.6035

here's another link, I wouldn't recommend using it, but I saw it wasn't here: https://www.cloudconvert.com


 No.6079

>>5942

ffmpeg changed their default codecs to vp9 and opus, so you won't have to add

 -c:v libvpx-vp9 -c:a opus 

anymore


 No.6194


 No.6231

>>5595

m8, could you make a video expaining how to use ffmep?

I still dont get it

>inb4 retard


 No.6331

File: 1445062549591.webm (5.16 MB, 1920x1080, 16:9, How to Make a WebM!.webm)

Let me add that Xmedia Recode now allows Tile Columns which speeds up encoding time greatly, this to 64 for 6-10x faster encode speeds


 No.6332

>>6331

It's been in there for quite a while. Small heads up: using it does impact quality, but luckily only very little.


 No.6333

>>6332

Yeah I notice almost nothing

Still better doing an encode in 1 hour vs 20


 No.6336

File: 1445091737705-0.webm (1.2 MB, 422x422, 1:1, sail.webm)

File: 1445091737705-1.webm (3.85 MB, 768x768, 1:1, fifteen men on a dead man….webm)

I'm trying to make a webm with ffmpeg using an mp3 and a png. I was able to do this successfully once, but I've been unable to replicate those results. The sound is fine, but there's no thumbnail and on 8ch the image comes out looking weird. First webm is the result of recent efforts, and the second is my only success.

Anyone know how to stop webm 1 from happening?


 No.6358

File: 1445273179694.webm (1.17 MB, 422x422, 1:1, sail-remux.webm)

>>6336

It seems it was just a little ffmpeg hiccup. The streams played well seperately, so I just remuxed the original without any changes and now it works.


 No.6359

>>6358

Ok I see, that's indeed weird…

At least my media players play this one, but I have to check why the browser is having issues.


 No.6361

File: 1445273942541.webm (32.44 KB, 480x360, 4:3, ow.webm)

>>6336

Found it (at least I'm 99.9% sure this is it).

The video file is just 40ms long, while the audio is 1m59.

8chan picks out the middle keyframe for a thumbnail, which it can't do when the video track doesn't reach to the middle of the entire media file.

I would expect it to at least show the picture while playing though. Video and audio don't have to be the same length, but maybe that's just because of it's very short duration.

You just need to make the duration of the picture-video track about as long as the audio. I know it's a bit ridiculous (just a load of wasted data), but that will solve the problem..

Wouldn't be surprised if it would at least play if you made the videotrack just somewhat longer. Webm included has a longer audiotrack too, just not much.


 No.6365

File: 1445389431718.jpg (69.92 KB, 900x500, 9:5, subs (3).jpg)

I'm using ffmpeg and I want to re-encode a .mkv into a hardsubbed .mp4, there are multiple sub tracks though, what do?


 No.6393

>>6361

How do I do that? I can't find anything about it elsewhere.


 No.6394

File: 1445718449844.webm (1.3 MB, 422x422, 1:1, sail3.webm)

>>6393

Sorry, forgot to add that. Look here:

>>5593

The -loop 1 (loop the image) combined with -shortest (end when audio ends) option are what makes it work.

Good luck


 No.6398

>>6394

>>6393

P.S. Found a strange bug where using a png for input sometimes produced a corrupt webm. Converting it to a jpeg first fixed that. So, if you run into a similar problem, even while doing everything right, try that.


 No.6401

Quick question for XMedia Recode users: whenever I try to make a webm out of a longer webm, the beginning of the new webm is sometimes a few seconds ahead of where I set the start frame, and sometimes there's no audio playing until it hits the start frame. What the hell am I doing wrong?


 No.6403

>>6401

I'm guessing you're using copy mode, not convert? if not, then I don't know.

In copy mode the webm always needs gets cut at the start of a keyframe. It automatically picks the keyframe before the point you chose. There is no way around this except for making a whole new encode.

Not sure about the audio part, but I wouldn't be surprised if the cases where that happens the audio is set to convert, while video is set to copy. Xmedia tends to remember the choice for one, but forget the other when converting multiple files.


 No.6404

>>6403

Copy, yeah. Is there a way to find keyframes?


 No.6408

>>6404

Very easy. Whenever you use the seekbar to find a location in a video, it will only show keyframes. When you made a selection and you use the preview function ( ►| ) it will always start from the nearest keyframe too, even if you plan to use convert and not copy.

Exactly pinpointing it in time is harder with xmedia recode, but not necessary for copy mode anyway. Just use the seekbar until you see the frame you want to start from and click mark start ( [ ). Exact time doesn't matter because it will start copying from there anyway.


 No.6418

File: 1445925269947.webm (5.47 MB, 1920x800, 12:5, Ratchet & Clank Film Trai….webm)

>>6331

Another update

Did some digging into how VP9 encoding works, apparently setting CPU threads to X amount speeds up speed greatly, even with a 2 core machine etc

According to the information VP9 only allows X calls per cycles, so if you have say 10 cycles per second, it setting more or less CPU threads will not cause errors etc in encoding, because setting it to 32 threads its still doing the same amount of calls per cycle, just putting far more load per cycle per CPU call

Try it, Set Tile Columns to 64 and CPU threads to 32, I've encoded minute long 1080p animations in less than an hour and quality is amazing

Provided an example, encoded in an hour and 5 minutes, down from the 6-7 hours it used to take when tiles was set to 1 and CPU threads was set to 12


 No.6419

File: 1445925447302.webm (7.89 MB, 1280x544, 40:17, Ratchet & Clank Official ….webm)

>>6418

And this just finished in an hour and 49 minutes


 No.6436

>>4899

>When I am trying to convert videos with large times using Webm for Retards I end up having the audio not being in sync with the video. Does anyone know how I can fix this

I get this same problem. Help plz?


 No.6460

>>6418

>>6419

What's the spec of your PC?


 No.6461

>>6460

I did the top on on a 7 year old laptop

The bottom one on a 4770K


 No.6481

I figured this'd be the thread to ask this, but if it's not just tell me.

Anyone knows a good WebM program to try converting pixel art (old game stuff)? I have XMedia Recode and it works well for everything else, but everything I try for those look like shit and blurry.

Thanks in advance


 No.6489

>>6481

It's not the fault of xmedia, it's the vp8/9 codec. You could try SSIM instead of PSNR, but vpx doesn't have a dedicated (animation) mode like x264 has. Have you tried changing the sharpness settings?


 No.6512

File: 1446951927916.webm (7.89 MB, 800x450, 16:9, Genos vs Saitama sparing.webm)

>>6481

When it comes to animation, the more ref frames, the better


 No.6513

File: 1446952085498.webm (2.69 MB, 1920x1080, 16:9, Don t Touch Pac-Man.webm)

>>6481

Another example


 No.6514

File: 1446952440375.webm (7.11 MB, 1280x960, 4:3, FLCL Batter up!.webm)

>>6481

last example


 No.6515

File: 1446952825672.webm (7.71 MB, 1920x1080, 16:9, Gravity Falls Stan takes ….webm)

Sorry two more examples that VP9 can easily do animation, I argue its the best to do animation with other than h265


 No.6516

File: 1446952967002.webm (7.08 MB, 1280x720, 16:9, Gravity Falls Taking Over….webm)


 No.6518

>>6515

Great, someone who can hopefully explain something about these reference frames.

The info I found about them is rather lacking. Last I read is that the automatic reference frames themselves act like b-frames, which is all good. However, I understood the settings -alt-ref-strenght and max-frames are used for an experimental mode that uses frame blending, but which in "some cases" could improve the image. What cases? Not mentioned (animation perhaps?).

I really want to know when to use these settings. Right now I do turn alt-reference-frames on, and set frames to lag to 25, which is also what the recommended settings say, but I would really like to know when (and how best) to adjust the maxframes & strength settings.


 No.6527

>>6489

>>6512

It's about pixel art more than animation, and the original codec is TechSmith's (Camtasia's) which I don't know makes matters worse.

I had never tried messing with Sharpness or the things from that tab so I'm not sure how to proceed. I tried VP9 but it just crashes XMedia Recode apparently with both SSIM and PSNR.


 No.6542

File: 1447286342570.webm (1.26 MB, 712x544, 89:68, ff.webm)

>>6527

Yeah. It sometimes does that. I had the same thing when encoding an emulated c64 game I recorded with fraps. Usually there's no problem though. Maybe it's a coincidence, maybe not.

Not sure how, or if I fixed it, but in any case you could try ffmpeg commandline, or another encoder like MediaCoder, or Hybrid. Those a bit more complex to use though. Maybe there are easier ones, I just don't know any myself.


 No.6546

File: 1447344545424-0.webm (3.69 MB, 712x544, 89:68, hn-vp8.webm)

File: 1447344545425-1.webm (2.59 MB, 712x544, 89:68, hn-vp9.webm)

File: 1447344545425-2.png (16.77 KB, 680x624, 85:78, hn-original.png)

>>6527

>>6542

I realized that probably wasn't the greatest example, because "CRT emulation" was turned on, so it looks blurry by default.

I made these with xmedia, and they both look quite clean imo, especially considering the bitrates. I included some enlarged screenshots to compare.

Is this different or about the same as what you get?


 No.6547

File: 1447344597041-0.png (38.8 KB, 692x648, 173:162, hn-vp9.png)

File: 1447344597041-1.png (35.56 KB, 704x608, 22:19, hn-vp8.png)

>>6546

3 attach limit? ah well.


 No.6556

>>6546

They're a whole lot cleaner than what I get - it's blurry and spotty, full of JPEG artifacts.

Could you post your settings? Maybe that's what makes the difference.


 No.6557

File: 1447366168124-0.png (13.73 KB, 372x510, 62:85, 2015-11-12 22_55_49-XMedia….png)

File: 1447366168125-1.png (12.81 KB, 363x489, 121:163, 2015-11-12 22_53_22-XMedia….png)

>>6556

Settings aren't very special. This is what I used (maybe bitrates were a little different) and I had also checked the "automatic alt reference frames" in the "alternate reference frame" menu. Pretty much my standard settings.

I played around with the PSNR and SSIM for testing, but they didn't seem to matter much, so don't worry about those.


 No.6560

File: 1447456063589.webm (7.51 MB, 512x448, 8:7, Main Stage Speed Run.webm)

>>6557

Ahh, I was following the settings from the "How to make a Webm" video.

This is as best quality as I can manage, so I guess that'll do for now. Thanks for the pointers!


 No.6565

>>6560

No problem! Actually surprised myself how good VP8@150k still looks for retro games.

P.S. If audioquality isn't too important, you can often squeeze a lot more (or better looking) video in 8mb when you make audio mono and drastically lower its bitrate. Even 32k can still sound reasonably in many cases, for opus even lower (especially voice).


 No.6590

>>6518

Encoders have an upper limit of diminishing returns when it comes to reference frames, if you set 25 reference frames for example and the encoder notices that by say reference frame 10 its not getting any difference in quality, or the difference in quality is below the Quality threshold settings it dumps the other 15 and starts rendering the next frame

Alternate reference frames of 25 with a strength of 6 guarantee's that at LEAST 25 reference frames will be used, possibly up to 50 if the source is complex enough.

I've hardly ever gotten media to use 50 reference frames, its rare but it happens. You'll notice when it happens when rendering if an encode goes from like 2-5 hours for a encode to 20+ hours


 No.6720

Is there a converter that will split the video into multiple files if it hits a filesize limit? Kind of like what WinRAR is able to do


 No.6721

File: 1448725439477.png (45.41 KB, 966x645, 322:215, 2015-11-28 16_41_32-MKVToo….png)

>>6720

You can split them afterwards with mkvtoolkit.


 No.6761

I apologise for being retarded but in ffmpeg, if you want to only use a section of your input video, what part of the command is in regards to the start and end of that?


 No.6781

>>6761

-ss <starttime>

-to <endtime> OR -t <duration>

The location of -ss has some effects on the way seeking is done, but for simplicity, just put these commands after the input.

Example (this cuts a part from a webm):

ffmpeg -i input.webm -ss 0:33.123 -to 1:25.456 -c copy cut.webm


 No.6834

>>6781

Thanks, man. That makes sense.

Is there a tutorial for ffmpeg written for retards? Especially in regards to changing the format/file type of the video (e.g. .mp4 to .webm). The one on the site is for people who know what they're doing.


 No.6835

Does anyone know how exactly lag-in-frames and auto-alt-ref affect the quality and filesize?

And in general, just what it does?

When I tried encoding something with lag-in-frames 25, auto-alt-ref and -arnr-strength at 3, it gave me a larger filesize…

I'm not sure the quality increased too.

I thought it changed how many frames the encoder looked ahead, so it would decrease the filesize and increase quality for animation.

>>6781

When I tried doing this, I had to put -ss before input in order for it to work, otherwise I got a segmentation fault.

>>5833

bumping this. Whenever I encode shit, the bitrate increases as I encode the video, which is really fucking annoying.


 No.6887


 No.6888

Would anyone know how I would convert stuff to webm while retaining the same quality? It seems like I have to keep converting to webm via trial and error to get the right bitrate. I'd like to be able to convert an entire folder of porn without having to try each and every video individually guessing the bitrate.


 No.6897


 No.6912

>>6897

Pretty good. You don't need to add -c:v libopus and -c:v libvpx-vp9 anymore if you want to encode your video as vp9/opus. They are ffmpeg's standard codecs, so when you name your outputfile *.webm it uses vp9 and opus automatically.


 No.6951

File: 1451449085200.gif (7.6 MB, 480x270, 16:9, source.gif)

Question: has anyone else experienced glitched outputs when converting short gifs with auto-alt-ref on?

Here is the source file for this example.


 No.6952

File: 1451449238213-0.webm (1.05 MB, 480x270, 16:9, auto alt ref 0.webm)

File: 1451449238214-1.webm (912.06 KB, 480x270, 16:9, auto alt ref 1.webm)

Here are the outputs, the only setting changed was auto-alt-ref, all other parameters are the same.


 No.6956

>>6951

>>6952

Not until now. This is the first one that showed these particular problems, although I don't convert gifs a lot myself. I did have a few slightly related problems converting non-lossy picture formats to video with ffmpeg. Ffmpeg is far from perfect. I tried this gif with VP9 instead and then it shows a yellow line to the right, but at least it doesn't glitch. Sometimes that stuff just happens. Usually I'd suggest giving avconv a shot instead, but that one has its own problems with animated gifs.

If the alt-ref setting is very important you can always extract the frames and build a webm straight from those, but in this case it's probably not worth it..


 No.6959

>>6956

Oh it's not a very big problem for me, it's just somewhat unexpected.

So the problem is more to do with ffmpeg than VP8/9?


 No.6960

File: 1451554240819.jpg (73.32 KB, 800x578, 400:289, 4414af_4728155.jpg)


 No.6977

File: 1452035219884.webm (460 KB, 480x270, 16:9, gif2vp8-out.webm)

>>6959

I cannot be 100% sure, but as similar problems have often been solved by trying another encoder I would say it's very likely. Here is a VP8 version with all options enabled made by extracting all frames to separate images, then turning them into a webm with avconv.

You can quickly extract all frames with imagemagick using the following command:

convert -coalesce source.gif out%05d.png
(p.s. if you use windows, know that convert will probably get path issues with the system's convert, so just rename it)

You can then use the same as input for avconv/ffmpeg (so simply "-i out%05d.png"). Don't forget to set the framerate before the input though. In this case "-r 10", because that information is lost when extracting frames.


 No.7015

>>2961

If we're doing a 2 pass why do we have the null at the end of pass 1? As I understand, that makes sure no file is outputted is intended for benchmarking purposes.


 No.7022

There's something wrong with my .webm. I can't actually post it on this site at all. I hate to advertise other chans so if mods wish to remove my post, that's okay but here's my .webm, right at the bottom:

https://sushigirl.tokyo/tunes/res/49.html

The .webm runs fine on that page. You'll notice that when you try to open it as a separate, direct link, you get weird writing. I've tried everything I know and I don't see the problem.

All I've done is crop out a section of a piece I liked with Audacity, made it into its own .flac and then made that into a .webm. Following youtube Audacity tutorials and using WebmForRetards, it all seemed fairly simple. I genuinely don't see what I could've done wrong.


 No.7030

>>7022

webm is a media format, meant for video with or without audio. Technically it's perfectly capable of containing just audio (making it a .weba), like yours does, but browsers and websites will usually expect video content included.

Plain audio webm/a doesn't really make a lot of sense, because audio is already contained within it's own container, so putting it in a webm would make it double. Therefor, websites that allow webm, but not ogg/flac/mp3/etc usually do this to prevent becoming a music sharing service, so they check if video is included before accepting.

TL;DR: your file is technically fine, but to make it accepted here you should include some video, if only a static image in vp8/9 format, see >>6394


 No.7032

>>7015

The first pass doesn't make any video yet, it just collects data from the source video, so when the actual encoding begins (pass 2) it knows what to expect and can prepare (like distribute bits) accordingly.

I'm not entirely sure why a null output has to be included though. I'd say that's implied when doing a first pass. Maybe it's for those who also want to have a draft version before the final, who knows.


 No.7047

>>7030

Thank you!


 No.7102

File: 1453295009827-0.webm (1.18 MB, 962x824, 481:412, wybm-demo.webm)

File: 1453295009827-1.webm (3.02 MB, 1280x1024, 5:4, wybm-demo2.webm)

File: 1453295009827-2.png (534.88 KB, 962x825, 962:825, wybm-4.png)

Repost from /a/.

This utility allows you to download & cut to limit any YouTube clip within few seconds.

It works on both Windows and GNU/Linux. Installation/usage is very simple, see attached demos.

Code & releases: https://github.com/Kagami/wybm/releases


 No.7199

File: 1454910101364.jpg (131.05 KB, 800x800, 1:1, 12400793_1149389221745365_….jpg)

hello, used ffmpeg again after not too long. managed to make the webm, but when i want to post the webm, it does not let me. i have no idea why. tried looking for solutions but nothing. if someone is able to help me, i would appreciate it. thank you.


 No.7200

File: 1454948720294.webm (7.81 MB, 1920x1080, 16:9, How to make a WebM 2016 e….webm)

Thought I would upload my edited version of the "How to make a webM" here


 No.7201

File: 1454949182132.webm (7.99 MB, 1920x1080, 16:9, Simpsons couch gag by Syl….webm)

>>7200

Also let me add that the new 2pass in FFMpeg is fucking amazing quality, they updated it like a month ago


 No.7208

>>7199

You may want to give a bit more information than that.


 No.7210

File: 1454985571965.png (85.29 KB, 294x258, 49:43, 1452463892588.png)

>>7208

>>7208

well, i used ffmpeg to convert an mp3 file to a webm as well as looping an album cover art.

i use this code to do so: " ffmpeg -loop 1 -i <album art image> -i <sound file> -crf 10 -shortest output.webm "

when i try to post the webm, it hits 99% and a message pops up saying "invalid webm uploaded". maybe im doing something wrong. im not to sure. hope this is enough info


 No.7211

File: 1454986134642.jpg (47.55 KB, 800x445, 160:89, 1452413445276.jpg)

>>7208

gonna try xmedia when the weekend comes. though if you are able to help me in anyway with the ffmpeg situation, i would appreciate it.


 No.7212

>>7210

You've probably stumbled upon one of the (many) ffmpeg bugs. For some reason it can give all kinds of errors when the input is a lossless picture, so if your image is not a jpeg, that is probably the reason.

There are two solutions. Either convert the image it to JPG before encoding of course, of try libav/avconv as converter instead. It's a fork of ffmpeg by people who wanted to clean it up. Sadly it barely gets any updates, but it's usually a good alternative if ffmpeg bugs out.

>>7211

xmedia doesn't do images, only video.


 No.7213

File: 1455060075742.jpg (67.12 KB, 400x280, 10:7, 1452400581615.jpg)

>>7212

the image is a jpeg. i made sure of it. though i will try libav/aconv for sure. thanks for the help and responding. i appreciate it.

oh, and thanks for the heads up about xmedia


 No.7214

File: 1455112642386.jpg (31.85 KB, 564x423, 4:3, 8decf87b0bfd5316da21842a2d….jpg)

>>2573

http://www.mirror.co.uk/news/weird-news/watch-insect-breeder-playing-creepy-7328511

Not sure if you can webm the footage from this video but please take a look. That spider is pretty monstrous with those long arms and snippers.


 No.7215

>>7200

thanks for this, going to try it


 No.7218

File: 1455140816450.webm (7.96 MB, 854x480, 427:240, Euphrynichus amanica.webm)

>>7214

This is not the request thread, but that's a cool spider.


 No.7222

>>7218

Ah, I love tailless whips. They think they're so ferocious, it's hilarious.


 No.7338

>>6960

starcraft pros




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]