How do you get good at video file compression? I'm starting to make webms for /wsg/ but the 4mb is so hard to get around.
>>58977795
ffmpeg:
use 2 pass encoding for gooder file size control.
ffprobe file.mp4
>alias ffprobe='ffprobe -hide_banner'
du -k file .mp4
then bytes / seconds = bitrate_kb/s
-pass 1 -passlogfile /tmp/ffmpegpasslog -f rawvideo -y /dev/null
-pass 2 -passlogfile /tmp/ffmpegpasslog ouput.webm
>>58977915
I don't know if I'm tech savvy enough to compile ffmpeg for mac
>>58977975
Install it through homebrew.
>>58977975
install gentoo
>>58977915
*kb/seconds
Don't listen to the tard above, just use the parameters-crf * -qmin * -b:v 0 /
where "*" is your value. A CRF of 40 and QMIN of 16 seems to give me the best compression on most things for me.
>protip: make dam sure b:v is set to 0 else CRF won't fucking work
2 pass encoding is primarily for file size control, but it also give better quality for webms - less artifacts in static backgrounds and such - according to ffmpeg documentation.
>>58978044
filtered
webm's are huge files so youre fucked
>>58977795
use the webm for bakas program or whatever its called, much easier, you can just type in 4mb
>>58978044
Ok but how do I incorporate this into iMovie MP4 files?
>>58978022
They just unmasked ffmpeg-3 btw
>>58977795
who the qt? do you have a .zip?
>>58978116
>windows only
>>58978096
:$ du -h Videos/gumtrick.mpg Videos/1487199330125.webm
13M Videos/gumtrick.mpg
3.9M Videos/1487199330125.webm
>>>/wsg/1546230
If >>58977915 formula suggests a stupid low bitrate then scale too.
-vf scale=-1:420 would scale down to 420p while preserving aspect ratio.
-vf scale=720:-1 werks too. (width:height)
>>58978089
Do you really need to announce this? Do you also announce to everyone through a megaphone everytime you're about to take a shit?
I don't give a fuck if I trigger you mr r3ddit, just filter me out of your safe space and stfu.
>>58978199
>>58978234
You don't, there's a reason why mac computers hold 5% market share.
Best you can do is run windows 7 inside a VM on that fruit computer and install ffmpeg.
>>58978332
There has to be a way
>>58977975brew ffmpeg
wow. so hard.
or just fucking grab a binary.
>>58978523
Nigga I just told you. Download virtual box, DAZ a 7, and finally install ffmpeg.
Maybe next time don't buy a computer from a fashion accessory company.
find ./ -regex '.*mp4\|.*mkv\|.*wmv\|.*gif\|.*avi' -exec bash -c 'ffmpeg -loglevel panic -i "$0" -n -an -sn -c:v libvpx -f webm -b:v 500K -bufsize 1000k -vf scale=-1:360 -preset ultrafast -crf 28 -quality good -auto-alt-ref 0 -qmin 10 -qmax 42 -movflags +faststart -fs 1.9M "${0%%.mp4}.webm"' {} \;
>>58978572
w-what is this
>>58977795
I'm not sure if you're all about muh picture quality but quartering the resolution (half in each dimension) will save a shitload of bytes, and human eyes won't notice it too much in motion, unless they zoom it in to a giant full screen. Lower resolution 60fps can still look good.
>>58978332
You're tripfagging and he's filtered your posts; he'll never read that you silly twat.
ffmpeg works well, stop being a baby. If you want to git gud you'll have to read a bunch about formats and compression and bit rate and stuff.
>>58978750
Why are still replying to me mr reddit posing as another anon?
anyway ffmpeg BARELY works on homOS X, I would highly recommend people avoid the pain and suffering and install a windows 7 VM for any programs that do more than browse facebook and amazon's latest homosexual fashion.
Not talking out of my ass, I used to have a macbook from 2015 and it was one of the worst experiences of my life.
>>58978628
>>58978679
I'm sorry dude, I have no idea what any of this means. I just want to create some oc for /wsg/ because the board is currently stale as fuck. I only have a mac because it was given to me, it's not like a purposefully tried to get an inferior product.
Gonna do some research I guess
>>58978873
>anyway ffmpeg BARELY works on homOS X
You're clearly doing something wrong then.
1. Get homebrew if you don't already have it
2. Install ffmpeg via homebrew
3. ???
4. PROFIT
Not that hard.
>>58978873
Why would you run ffmpeg on Win7? If you're spinning up a whole VM wouldn't Linux make more sense?
>>58979066
Oh, maybe you need to add libvpx to ffmpeg in homebrew, but that isn't hard either.
>>58979080
>Why would you run ffmpeg on Win7?
Because it's usable on wanblows 7.
>If you're spinning up a whole VM wouldn't Linux make more sense?
OP said he wanted to properly encode video not rice his desktop to get internet points in desktop threads.
>>58979212
It's usable on any common operating system if you know how to use a computer properly.
Using a VM is just a unnecessary loss of performance, especially if you run a full-fledged desktop operating system in there.
>>58977795
1. You can change the number of colors in your video to a lower number and take advantage of dithering.
2. You can change the levels in your video to clip black and white levels to crush or blow out certain details. This will lower the file size.
3. You can reduce your frame rate depending on the subject matter. Slow moving objects can go as low as 15 fps. If it's a gif conversion go even lower.
4. Crop your video's aspect ratio to contain only the information necessary.
5. Use double pass encoding.
6. Use a deshaker to stabilize the image. Stabilizing the image allows better compression across multiple frames.
7. Remove noise from your image before conversion.
>>58977795
>wsg
>not /gif/
>>58979721
that too
What the fuck are you doing on the technology board
Get the fuck out of the /g/NU board back to /v/eddit
>>58979867
Have some pity anon-kun, he's being forced to be a mactoddler.
>>58978089
Filter me cuck
>>58977795
https://wiki.installgentoo.com/index.php/WebM
https://gist.github.com/Zehkul/25ea7ae77b30af959be0