Hello,

I'd like to ask if the number of variables in expressions could be increased from 10 to 25 please. I mean the st() and ld() functions. I'm just programming a realtime wormhole simulation and the limitation to 10 variables is becoming nasty. I did already begin to re-use the same variables for different things, but that makes debugging complicated. It would be so much easier to have more variables and use each one only for one thing.
What you see below is only a small part of the code.

Thanks,
Michael


ffmpeg -f lavfi -i nullsrc=size=%OUT_W%x%OUT_H% -vf format=pix_fmts=gray16le,geq='^
st(0,PI/360*%OUT_H_FOV%*((2*X+1)/%OUT_W%-1));^
st(1,PI/360*%OUT_V_FOV%*((2*Y+1)/%OUT_H%-1));^
st(4,cos(ld(1))*sin(ld(0)));^
st(5,sin(ld(1)));^
st(6,cos(ld(1))*cos(ld(0)));^
st(7,atan2(ld(5),ld(4)));^
st(8,acos(ld(6)));^
st(9,if(lte(ld(8),%RS%/180*PI),%OUT_W%,0));^
st(8,if(gt(ld(8),%RS%/180*PI),ld(8)-(2*%RS%/180*PI/(ld(8)-%RS%/180*PI)),0));^
st(4,sin(ld(8))*cos(ld(7)));^
st(5,sin(ld(8))*sin(ld(7)));^
st(6,cos(ld(8)));^
st(7,atan2(ld(4),ld(6)));^
st(8,asin(ld(5)));^
ld(9)+0.5*%IN_W%*(1+ld(7)/%IN_H_FOV%*360/PI)' -frames 1 -y xmap.pgm
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to