• bumbly
    link
    fedilink
    371 year ago

    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

    • Trebach
      link
      fedilink
      161 year ago

      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.

      • punkideas
        link
        fedilink
        31 year ago

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

    • JanoRis
      link
      fedilink
      51 year ago

      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

    • @[email protected]
      link
      fedilink
      41 year ago

      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

    • Bishma
      link
      fedilink
      31 year ago

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