Ffmpeg

>convert a 2MB webm to MP4 using ffmpeg
>result is a 6MB mp4
anyone have any tips about making this thing convert a webm without (noticeable) quality loss and without the file size being so different?

Attached: 1536225689184.gif (500x355, 156K)

>Encoding one defines 16 as " 1 6 "
>Encoding two defines 16 as " F "
>Repeat 2000 times
>File size is different
Also, mp4 is garbage, use webm retard

>use webm retard
obviously I do, since I have webms... but I need mp4 for a software that only accepts mp4. can you help me set up ffmpeg to get it to convert it without quality loss/huge size?

>ffmpeg
Just throw the thing into MeGUI's MP4 muxer and stop using retarded tools.

>MeGUI
>32bit
wtf

Exactly what makes you think a front-end would use more than 4GB of RAM?

well you can use the quality settings instead of defaults.
ffmpeg -i file.webm -vcodec libx264 -crf 24 file.mp4

>MeGUI
am I doing something wrong?
yeah but how do I determine the quality setting? can't ffmpeg figure it out depending on the file (to try and keep it the same compared to current compression?)

Attached: 1531651348962.png (358x200, 6K)

>crf 24
>quality

>ffmpeg encoding defaults
>quality

Wait, does MP4 not support VP8/9? I thought it did. If not then a simple mux won't do.

>why is the more efficient format smaller

No that is not a thing that is even remotely possible, just use crf

transcode quality is always gonna be shit, he's asking for low file size. also mp4 doesn't support non-mpeg shit at all. mkv would.

Use the one-click encoder.

give me a test sample

this webm, I converted it with ffmpeg to mp4 and it became 6MB

Attached: 1538316477196.webm (1604x1080, 1.1M)

and what bitrate did you specify?

Really depends on encoding speed/quality parameters.

Best combo is slow preset + low CRF value and then tinkering with that. Never EVER use ABR (unless 2 pass) or CBR.

anything less than fast is placebo

I'm using
libx264
how do I set it to slow preset?

No there are gains but after the slow preset you get single digit gains in compression efficiency.

-preset slow

Maybe start with -crf 28 and then slowly crank down the CRF until you get a sweet quality/filesize sweet spot.

>-preset slow
>Maybe start with -crf 28 and then slowly crank down the CRF until you get a sweet quality/filesize sweet spot.
thank user. got it to just below 3MB with CRF 15

nice, you can fine tune this even further by adjusting quantization min/max but I don't know if -qmin/-qmax parms tho.

For me I just copy the bitrate from the input videos.