• bumbly@readit.buzz
    link
    fedilink
    arrow-up
    38
    ·
    1 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@kbin.social
      link
      fedilink
      arrow-up
      16
      ·
      1 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.

    • jorgesumle
      link
      fedilink
      arrow-up
      5
      ·
      1 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

    • JanoRis@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      1 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