ffmpeg -i %inputname%.%inputextension% -vf fps=1/60 %pat%\img_%04d.png echo done, check the new folder for the result  When I type this out it results with the batch file's path imbedded into the path I mentioned in the ffmpeg command. Anybody know how to not make that happen? As it's very troubling for frame separation using batch. I want to make the %0 not be recognised by batch and only FFMPEG. Please give me advice. Entire batch file: @echo off echo What path do you want for the frames to be? set /p pat=framepath:  echo What's the video's name? set /p inputname=Name:  echo What's the file extension? set /p inputextension=file extension:  IF EXIST &quot;%inputname%.%inputextension%&quot; (echo okay moving on &amp;&amp; goto message) ELSE (echo there is no such file &amp;&amp; goto bye)  :message cls echo So after checking you actually have a valid file. We will now continue with the actualy thumbnailing of your desired media. [edit the bat and remove /nobreak after this message to remove the unskippable timer] TIMEOUT /NOBREAK /T 5 goto choice  :choice cls echo So how do you want to separate your video? echo ============================================================================================================================= echo =     1. Every frame of a video [not recommended for long videos]                                                           = echo =     2. Every second of a video [not either recommended for long videos especially not avatar]                             = echo =     3. Every minute of a video [not recommended for things shorter than like 30 minutes or so unless you want stinky]     = echo =     4. Every 30 minutes of a video [not recommended for things shorter than like 2 hours or so unless you want stinky]    = echo =     5. Every hour of a video [not recommended for small videos or anything tbh just here for accessibility]               = echo ============================================================================================================================= set /p input=Choose here [1-4]:   if /i %input%==&quot;1&quot; goto everyframe if /i %input%==&quot;2&quot; goto everysecond if /i %input%==&quot;3&quot; goto everyminute if /i %input%==&quot;4&quot; goto every30minutes if /i %input%==&quot;1&quot; goto everyhour  :everyframe ffmpeg -i %inputname%.%inputextension% %pat%\img_%04d.png echo done, check the new folder for the result TIMEOUT /T 9999 goto bye  :everysecond ffmpeg -i %inputname%.%inputextension% -vf fps=1 %pat%\img_%04d.png echo done, check the new folder for the result TIMEOUT /T 9999 goto bye  :everyminute ffmpeg -i %inputname%.%inputextension% -vf fps=1/60 %pat%\img_%04d.png echo done, check the new folder for the result TIMEOUT /T 9999 goto bye  :every30minutes ffmpeg -i  %inputname%.%inputextension% -vf fps=1/1800 %pat%\img_%04d.png echo done, check the new folder for the result TIMEOUT /T 9999 goto bye  :everyhour ffmpeg -i  %inputname%.%inputextension% -vf fps=1/3600 %pat%\img_%04d.png echo done, check the new folder for the result TIMEOUT /T 9999 goto bye  :bye echo see you pause
(This is on NT based Windows like 2000, XP, Vista, 7)  On the command-line, the percentage characters are ignored:  wget "http://www.justitie.nl/images/Handleiding%20voor%20verwerkers%20persoonsgegevens_tcm34-3940.pdf"   So it correctly downloads this file (each %20 becomes a space):  "http://www.justitie.nl/images/Handleiding voor verwerkers persoonsgegevens_tcm34-3940.pdf"   But inside a batchfile, all the %20 are being interpreted as expanding parameter 2 (which is empty) resulting in this file to get downloaded (each %20 becomes 0):  "http://www.justitie.nl/images/Handleiding0voor0verwerkers0persoonsgegevens_tcm34-3940.pdf"   Is there a way to circumvent the percentage parameter expansion?  --jeroen
Sum of real numbers that multiply to 1 I've seen a question in my math book with this explanation above it: "If the product of n positive real numbers is 1, then the sum of these numbers must be more than n". I was wondering if this is correct, and if it is, could someone give an explanation or a proof for it? Service  since Mar 29th. It looks like all the new applicants are allowed to reserve appointment with USCIS for biometrics (see: )  Did anyone successfully finish biometric process at USCIS post Mar 29th? Sometimes the website does not get updated, leaving people in the dark.  This information will help the affected people to plan. Is this the correct use of the question mark?  Should it be at the end outside of the closing bracket?  See example below     How do we deliver it? (to the learner) Linear Matrix Inequality of a matrix $T$ with $\| T \|_2 < \rho$ Assume $T \in \mathbb{R}^{d\times d}$. Let $\rho(T)$ be the spectral radius of $T$ and $\rho \ge 0$. Prove that  $\rho(T) &lt; \rho$ if and only if there exists a $P \succ 0$ satisfying $T^TPT - \rho^2 P \prec 0$.  I can prove the Necessity: If $P = I$, for any $x \in \mathbb{R}^d$,   \begin{equation} x^T T^T P T x - \rho^2 x^T P x = \| Tx \|^2 - \rho^2 \| x\|^2 &lt; 0 \end{equation} so $T^T PT - \rho^2 P \prec 0$  I get stuck in proving the Sufficiency. find a sequence converging to zero but not the element of lp space for every 1<_p<infinity Why does the buffer take up whole screen? I am trying to create buffers around the Hurricane Sandy path I created in QGIS (points are lat/long).   I have both points from each day she was tracted and the line I created from it with Points2One.   When I go to make buffers around either the line or the points, the buffer takes up the whole screen. Its all just one color.   I have made buffers before but from data I did not create.   Right now all of my projections are set to WGS 84 EPSG 4326. What are good basic statistics to use for ordinal data? What allows Star Wars ships to slow down? In the universe of Star Wars, many ships (excluding the X-Wing - the large circles on the front are retro thrust nozzles) appear to lack forward-facing thrusters or retro thrusters.    The TIE  fighter has 2 engines, . So, what slows it down?  I read on Wookieepedia that they turn using etheric rudders, and read on a chat forum (I do not remember which) that they can use etheric friction to slow down, but I couldn't find any references to this. Do they perhaps use special repulsors to slow down? In  many people answered that they use special repulsors to control their flight and direction, so perhaps could the same technology be used to slow them down?  So, how do Star Wars ships slow down?  To clarify, I want answers based on the Star Wars universe, not real-life physics. I am also willing to accept answers based on the Star Wars Extended Universe (now named Star Wars: Legends). How to make unit selection circles merge? I would like to know how to make this effect of merged circle selection. Here are images to illustrate:     Basically I'm looking for this effect:    How the merge effect of the circles can be achieved ? I didn't found any explanation concerning this effect. I know that to project those texture I can develop a decal system but I don't know how to create the merging effect.  If possible, I'm looking for purely shaders solution. How can I generate a sin wave with power law noise? Solving $f(x+y) = f(x)f(y)f(xy)$ Expectation of momentum in the bound state Is it logically correct to assert that the expectation of the momentum $$\langle \hat p \rangle=0$$ for any bound state because it is bound to some finite region? What is the physical interpretation of the fact that $$\langle \hat p \rangle=0$$ in an energy eigenstate $\psi_n(x,t)$  but $$\langle \hat p \rangle\neq0$$ in some superposition state $$\psi(x,t)=c_m\psi_m(x,t)+c_n\psi_n(x,t)~?$$ Here $\psi_n(x,t)$ the eigenstates of the Hamiltonian, for example, in the problem of particle in a box (say). Alright, when I run certain commands the wrong way, (misspelled, etc.) The terminal outputs this: &gt; instead of computername:workingfolder username$, and when I type enter it goes like this:  &gt;  &gt;  &gt;   That would be if I pressed enter 3 times. I currently trying to join two rigged (and animated) models, which both has separate meshes, separate bones and separate animations. The first mesh is the horse while the second mesh is human:   So I am interested to join human model onto horse model to make a rider:   I think the best way would be to make horse as a parent and human as a child during the join process. In that case I would like that all horse animations (there are 3 of them - idle, walk and run) would remain as they are, while I can lose human animations, as I will need different ones for it. I was also thinking to make human root bone as a child of one horse back bones, that when horse moves up and down it would move entire human mesh together. It would be also good to keep the same weights that human bones would not start deforming horse mesh and vice versa.  I tried to use Ctrl+J by selecting various combinations between bones and meshes in object mode, however, I noticed that it messes up scaling and rotation of the child object. So I was wondering how it would be possible to properly join these models to create a rider? Proper notation for distinct sets Consider I have two sets that neither one is a subset of the other (for example, the set of prime numbers and the set of odd integers). Is there a specific notation that combines the meanings of both ⊄ and ⊅ ?  Also, is there a notation to mean that two sets are completely distinct and share no elements in common (for example, the sets of odd and even integers)?  ≠ seems very inappropriate, and I'd like to avoid it.  Context: My area is actually Computer Science. I'm using this refine my vocabulary in order to teach my students about  (which is basically about sets and subsets of IP addresses), and to write some exercises for them. I'll probably use the words incomparable and disjoint as suggested. Combination with repetitions. The formula for computing a k-combination with repetitions from n elements is: $$\binom{n + k - 1}{k} = \binom{n + k - 1}{n - 1}$$  I would like if someone can give me a simple basic proof that a beginner can understand easily. Let $D$ be a , and let $a,b,x \in D \setminus \{0\}$. Then is it true that $\gcd (ax,bx)=x \cdot \gcd (a,b)$ ?    Let $c=\gcd (a,b)$ and $d=\gcd(ax,bx)$, then as $cx|ax$ and $cx|bx$ so $cx|d$. We would be done if we could show $d|cx$, but I am unable to show that. Please help me to solve this problem. Setting a document in MS Word-12pt (12bp) Warning  If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical nature, as it results in tiny differences, which will most likely not be noticed by someone who doesn't allow the use of LaTeX.  Questions that might be more helpful for this matter are:           Question  I learned that MS Word uses a slightly different version of the unit "point" (pt) than TeX does:     The 12 point of Word will be PostScript point, which in TeX would be called 12bp. A TeX pt is slightly smaller: it's 1/72.27 inch, while a bp/PostScript point is 1/72 inch. See also    ( in )  I'm writing a paper that would usually be expected to be "typeset" in MS Word, thus I want to use the same font size as Word would.  How do I set a document e.g. in the "12pt" font size that MS Word would use?  In case it matters, I'm using the article document class, Latin Modern (lmodern) as a font with the T1 font encoding and compile with pdfLaTeX, but input on different set-ups is more than welcome. How to remove old device from Safari iCloud Tabs? I returned a MacBook to Apple Store, however apparently I forgot to sign out of iCloud and the latest tabs I was browsing still appear in Safari iCloud Tabs of my new MacBook and existing iPad.  I removed the device from icloud.com -> Find My iPhone but it didn't work. Tabs list from my old computer is still there and I am trying to remove it from my devices list. I appreciate any ideas. How to add texture to fill colors in ggplot2