No.2573
Easy ModeThis 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 ModeFirst, 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#DescriptionWindows Converters:
http://alternativeto.net/browse/search/?q=%22webm%22&platform=windowsMac Converters:
http://alternativeto.net/browse/search/?q=%22webm%22&platform=macDON'T DOWNLOAD MALWARE AND BLAME ME FOR IT No.2574
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
There's also Xmedia Recode, a pretty decent Windows encoder that supports Webm
http://xmedia-recode.de/download.html No.2995
>>2961Can you post a "general" vp9 line for windows users? Those gave me all kinds of errors trying them a few times.
No.2998
>>2995They should work. What kind of errors do you get?
No.3017
Something I realized a couple days ago:
Youtube already converts some videos to VP8/VP9Which 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.3023
>>3017This 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
>>3023An 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
>>3041That 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
>>3083Here both to compare: fmt 43
No.3086
>>3085Bonus: the same video I converted with ffmpeg, in 720p
>>3030 No.3108
how to subtitles?
No.3109
>>3108Virtualdub, 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
>>3451Convert 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
>>3580youtube-dl is available in most good repos.
No.3587
So I made this:
https://github.com/BAXTER001/VideoNurdA 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
>>3587Can 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
>>3587Tried this last night and got an error message.
Instantly gave up.
No.3791
>>3776That's the spirit.
>>3451using 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
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.comif 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
>>3850It'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
>>3023this 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
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
>>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
>>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
>>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
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
No.5825
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
>>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
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
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
>>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
>>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
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
>>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
>>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
>>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
>>6481
When it comes to animation, the more ref frames, the better
No.6515
Sorry two more examples that VP9 can easily do animation, I argue its the best to do animation with other than h265
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
>>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
>>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
>>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
>>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
>>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
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
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.6977
>>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
No.7102
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
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
Thought I would upload my edited version of the "How to make a webM" here
No.7201
>>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
>>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
>>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
>>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
>>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
>>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