gcc -xc -<<<'#define F for(i=0;i<l*3;i++)
main(n){int i,j,w=512,l=w*w,o[]={~w,-w,-w+1,-1,1,w-1,w,w+1},b[l*5];F b[i]=rand();for(puts("YUV4MPEG2 W512 H512 F30 C444");puts("FRAME");){F{for(n=j=8;j;n-=b[i+o[--j]]&1);b[i+l]=(n^5&&!b[i]|n^6)-1;}F putchar(b[i]=b[i+l]);}}';./a.out|mpv -pic.twitter.com/q1ng2817el
-
-
I can't seem to change the resolution or color matrix, 720x480 YUV420P8 at 24 frames per second would be awesome.
-
(echo YUV4MPEG2 W720 H480 F24;while :;do echo FRAME;head -c518400 /dev/urandom;done)|mpv -
- 3 more replies
New conversation -
-
-
Thanks a ton that couldn't of been more what I needed
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
my head has no -c BUT i have dd (echo YUV4MPEG2 W512 H512 F30 C444;while :;do echo FRAME;dd count=1 bs=786432 if=/dev/urandom;done)|mpv -
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I guess F30 is some kind of frequency (frames per second maybe ?) but what is C444 ?
-
F30 is frame rate, its F30:1 thats needed, which is a numerator:denominator string, so for example, for an NTSC DVD you would use F30000:1001. C444 is color matrix
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.