NaNoGenMo / 2022

National Novel Generation Month, 2022 edition.
51 stars 0 forks source link

Streaming, a #NNNGM submission #45

Open nickmontfort opened 1 year ago

nickmontfort commented 1 year ago

Streaming

Streaming is a 240-character Bash script for computers with ffmpeg documentation installed. Generated novels are around 198800 words long.

Code

MANWIDTH=140 man ffmpeg-all | tr '[:punct:]' ' ' | fold -s -w 20 | grep '[A-Za-z]' | perl -p -e "s/^/' 'x(3+rand(54))/e" | shuf | perl -p -e "s#^#($/x5).'  (wait)'.($/x5)#e if rand(99)>98" | sed '1 i\   STREAMING\n\n   Nick Montfort\n\n\n'

Also available as a file for download.

Beginning of an Example Novel

   STREAMING

   Nick Montfort

               that is the same 
                                Messaging Protocol 
                                                        octave  20dB per 
              channel layout 
                               default 
                                       displayed and 
                              component is the 
               Choose the second 
                                                   beginning of the 
          en talk1 en srt
                                                filters form 
         PulseAudio  out1 
                                             Whether 
                                               https   github com 
                                             X  tab
                   and without these 
                                        automatically 
                        on  or
                                    justified 
             continuous values 
                                          directionals MVs of 
                                           the logo and watch
                                        video output  
       luma chroma alpha 
    by default all 
                                                   this is the same as 
                                                      Transport Stream 
                                     numbers indicating 
                                 more importance to
                     resulting area 
                                 Allowed range is 0 
            decoding 
                                                     the mask  Selected 
              Delphine 
                                             and their x and y 
                                           blank  0
                           duration 
                                  constants  and 
                              pixels 
             written a
                                         Set the 
                                          or duplicate video 
                                              field will
                                                         Examples
           the spec no matter 
                                                          frequency of 
                                                 needed to support 
                            UINT32 MAX  If not 
                                      was set to 1  this 
                                        •   Apply 
                          or the special name 
                                            BT 
               above options as 
                 manual for the 
                                frame 
                                         Non local 
                                             option  passlogfile 
                                                          a 
                                   can be multiple 
                             by the host machine 
                                                      the maximum change 
                               function 
                                   Using this display 
                strftime 1  
                           to position 
               use is to fix PAL 
                                                   containing all the 
                                       Set the 
                                                  The size 
                                                 video 
               advanced 
                                    section E 3 1 and 
                                                            The 
                  FFmpeg build  you 
                 comparison 
                                        lissajous xy
                                      so you may need to 

  (wait)

This example novel and another are available as text files online.