WebM VS MP4 on 4chan - /g/ (#105763833) [Archived: 751 hours ago]

Anonymous
7/1/2025, 10:42:57 AM No.105763833
file
file
md5: 803e227c99b337c7354fd54d3707a3ad🔍
So out of desperation because WebM are to big for 4chan I started experimenting with using MP4s

Literally me in OP picture.

MP4
>Smaller file size
>Renders faster

Literally the only downside is that you need to memorize what codecs are kosher for 4chan instead of hitting the export to webm.
Replies: >>105764276
Anonymous
7/1/2025, 10:43:37 AM No.105763838
Mov
Anonymous
7/1/2025, 10:47:27 AM No.105763865
Two pass VP9 webms look way better especially if it's a longer clip. I use mp4 if the source is already small enough to post here. No sense in transcoding if I don't need to.
Replies: >>105764073
Anonymous
7/1/2025, 11:24:12 AM No.105764073
>>105763865
>Two pass VP9
How do I do that in KDEnLive the devs of this software are fucken escaped mental patients!

Mental patients beaten and restrained by KDE CEOs to stay in line! However they keep on fucking up the software.

Remember when the FUCKEN RENDER BUTTON was in the UI? Remember when they removed it? Because
>who wants to render the project you made?
Replies: >>105764344 >>105764961
Anonymous
7/1/2025, 11:52:52 AM No.105764276
>>105763833 (OP)
>you need to memorize what codecs
if you're too retarded to make notes thats your problem
Anonymous
7/1/2025, 12:02:26 PM No.105764344
>>105764073
Well ffmpeg is the tool of choice. Just export it to whatever format. If it will let you use gpu accelerated encoding even better. Just set a retardedly high bitrate then use that to feed into ffmpeg. I used deepseek to make a simple script that calculates the maximum bitrate based on the maximum allowed file size and the length of the input.
Replies: >>105764397
Anonymous
7/1/2025, 12:09:17 PM No.105764397
>>105764344
>ffmpeg
Sorry sir I actually cut and make clips not simply type in obscure codes to get a trans coded copy of a identical clip from the internet.
Replies: >>105764472 >>105764494
Anonymous
7/1/2025, 12:20:12 PM No.105764472
>>105764397
Make your dumb clips or whatever then export it in high quality then run a script that will re-encode it for 4chan retard.
Anonymous
7/1/2025, 12:24:05 PM No.105764494
>>105764397
Well you see anon that's the thing. Even though I know how to type the commands for ffmpeg, it's literally how I make a living, I'd be too fucking lazy to ever do it to make a webm if I couldn't automate it. I used to make really beautiful looking webms when only vp8 was allowed but I would just keep tweaking the bitrate until I got it down to the right filesize. Can you imagine that, encoding the same thing multiple times until you get what you want? It's fucking retarded. The formula to calculate bitrates was on the /g/ posts I learned to encode from anyway.

The only time I manually type out ffmpeg commands to post here is when I download a video, like say a mp4 file from twitter, and it's only a few mb. I'll do like ffmpeg -i twittergarbage.mp4 -c:v copy -an (this removes the audio so I can post it) output.mp4, no encoding. Just a new mp4 I can directly post here.

I'll share the script I had deepseek make. It's really basic but you should consider that a plus. If you want better features upload it back to deepseek, claude, or whatever else and explain what you want. You could get it to help you create webms with audio for example. But this is a good place to start from. It works.

Also protip: use losslesscut if your source is mp4/mkv/anything h264 and you're just making a short clip.

https://paste.parinux.org/paste/NH9+2b13#UGpETdN5dTtV9oDBJ-LlTeTy9kxFApXw+oMUx1fObkT
Replies: >>105764515 >>105764983
Anonymous
7/1/2025, 12:26:58 PM No.105764515
>>105764494
>Dude I copy past
Everyone does that.

However I still want to cut and insert and move around clips like in KDEnLive.

>https://paste.parinux.org/paste/NH9+2b13#UGpETdN5dTtV9oDBJ-LlTeTy9kxFApXw+oMUx1fObkT

I look into it
Replies: >>105764542
Anonymous
7/1/2025, 12:30:38 PM No.105764542
>>105764515
Another suggestion of an improvement you could ask LLMs for is the ability to adjust the resolution. If your webm comes out looking shitty reducing it could help. You can probably export to whatever res you want in kdenlive too but without gpu accel that might get annoying. In the end you still need to CPU encode with VP9/ffmpeg but that's the way it goes if you want to squeeze every little drop of quality out of these tiny file sizes they give us to work with.
Replies: >>105764855 >>105764983
Anonymous
7/1/2025, 1:18:15 PM No.105764855
file
file
md5: 799663f47e53fc043d8978db7d7e0e08🔍
>>105764542
>you could ask LLMs
OPINION REJECTED!

Sorry I will not ask a schizo robot who can only repeat stolen stack overflow posts. I will google stack overflow myself.

Like are you people retarded or do you not understand how AI works?
Replies: >>105764871 >>105764977 >>105764983
Anonymous
7/1/2025, 1:20:10 PM No.105764871
>>105764855
Write your own script then anon. I'm capable of doing that but like I said I'm fucking lazy. I'm not going to spend hours of effort just so I can make my webms of Indian chicks getting fucked by white guys look better to troll pajeets on /pol/
Replies: >>105764983
Anonymous
7/1/2025, 1:32:54 PM No.105764961
>>105764073
For me it's yt-dlp then ffmpeg to remove audio
Set the format to MP4 and it's never been an issue with codecs
If you are trimming then kdenlive might be better but it's clunky to use unless you use it all the time
Replies: >>105764986 >>105764991
Anonymous
7/1/2025, 1:34:25 PM No.105764977
>>105764855
Holy fuck you are going to be left behind in ten years you cooked cunt
Anonymous
7/1/2025, 1:34:48 PM No.105764983
file
file
md5: 775cd9bbafab1525f59cb1de96cf2ce5🔍
>>105764494
>>https://paste.parinux.org/paste/NH9+2b13#UGpETdN5dTtV9oDBJ-LlTeTy9kxFApXw+oMUx1fObkT
>>105764542
>>105764855
>>105764871
JESUS CHRIST!

What level of retarded are you?
Like seriously WTF?!
Pro AI = RETARD

Writes like this:
Look at this shit:
https://paste.parinux.org/paste/NH9+2b13#UGpETdN5dTtV9oDBJ-LlTeTy9kxFApXw+oMUx1fObkT

Literally picture related.
WTF you dumb fuck?!

You literally wrote a fucken wrapper a 78 line wraper for fucken ffmpeg!!!
You dumb fuck that be like 5 lines in bash!

>[TOXIC POSITIVITY]
I see you are a dumb zoomer! No one told you how fucked up so you are like this!

And you do not need to write stupid shit like

print("\n=== Starting first pass ===")


Python a retarded meme language that only bloats the code with useless wrappers.
Replies: >>105764999
Anonymous
7/1/2025, 1:35:14 PM No.105764986
>>105764961
That's why I recommended losslesscut. You can trim an mp4 file without reencoding. Also with yt-dlp when downloading from youtube you'll get the option to download a VP9 webm which is superior to the mp4 and supported here.
Anonymous
7/1/2025, 1:35:56 PM No.105764991
>>105764961
>For me it's yt-dlp then ffmpeg to remove audio
For shots presumably you LARP-ing fuck!

>Yes I wanted to upload that 15 minute video full of sponsor shutouts and like and subscribe shit!
Anonymous
7/1/2025, 1:37:02 PM No.105764999
>>105764983
Make something better then and share it. We will welcome your offering if you wish to provide the free labor we usually ask of machines. Did I say it was the best most amazing script ever? lol no. I just said it works. What more do you need?
Replies: >>105765127
Anonymous
7/1/2025, 1:52:40 PM No.105765127
file
file
md5: 49f64131ba990a03f90565095cd76af6🔍
>>105764999
>Make something better then and share it
STOP BEING TOXICLY POSITIVE you zoomeroid!t

>Make something better then and share it
I removed your shit to this point

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 1.mkv

ffmpeg -y -i 1.mkv -c:v libvpx-vp9 -b:v f'{target_bitrate_kbps:.0f}k' -pass 1 -an -f webm -speed 4 -g 120 -threads 4 -row-mt 1 -tile-columns 2 -auto-alt-ref 1 -lag-in-frames 25

ffmpeg -y -i 1.mkv -c:v libvpx-vp9 -b:v f'{target_bitrate_kbps:.0f}k' -pass 2 -an -speed 1 -g 120 -threads 4 -row-mt 1 -tile-columns 2 -auto-alt-ref 1 -lag-in-frames 25 -f 'webm', 2.webm


Now I only need to do the bitrate better
PS: WTF you dumb fuck? simply use a calculator to calculate what

3.9 * 1024 * 1024 * 8
Is you dumb fuck. Why are you wasting cycles for this CONSTANT SHIT?! In fucken PYTHON!

>Make something better
You or someone literally took arguments pushed into ffmpeg and then warped them in useless phython code! You are a clown!

This is why the world needs cyber-bulling!
Replies: >>105765143
Anonymous
7/1/2025, 1:54:51 PM No.105765143
>>105765127
Tell it to deepseek not me. I don't care it works on my machine.