You are viewing a single thread.
View all comments
35 points

So he said not to upload a video generated like this?

ffmpeg -filter_complex "nullsrc=s=1920x1080,geq=random(1)*225:128:128[vout]" -t 46 -c:v libx264 out.mp4

Got it

permalink
report
reply
16 points

Change “random(0)” to “random(time(0))” so the videos are less easily removed by a bot. time(0) is the number of seconds from January 1, 1970 at midnight, so the random seed keeps changing. It’s still be black and white noise but not the same noise as anyone else.

You can change that “225”, which is actually 255 in the tweet, to any number smaller than that, but it’ll make the noise darker and reduce the randomness of it. The result still has to be between 0 and 255, so you could change it to 12+random(time(0))*243 or something like that if you really wanted to make it no darker than 12.

permalink
report
parent
reply
6 points

It’d be great if /r/videos opened and only accepted these.

permalink
report
parent
reply
3 points

It looks like they are asking users to stockpile John Oliver clips for if/when they reopen.

permalink
report
parent
reply
4 points

You can also create color noise 🌈:

ffmpeg -f rawvideo -video_size 1280x720 -pixel_format yuv420p -framerate 30 -i /dev/urandom -ar 48000 -ac 2 -f s16le -i /dev/urandom -codec:a copy -t 5 color-noise.mov

permalink
report
parent
reply
3 points

too bad we can’t add this when editing old comments. Though i wonder if a comment has a bigger size if we use the whole 10000 characters

permalink
report
parent
reply
2 points

And make sure to use an ad blocker while you do it.

permalink
report
parent
reply

Lemmy.World Announcements

!lemmyworld@lemmy.world

Create post

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Join the team

Community stats

  • 487

    Monthly active users

  • 806

    Posts

  • 37K

    Comments