VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy PlayOn and record Netflix! :)
+ Reply to Thread
Results 1 to 6 of 6
  1. Hi all the cats!

    please can you help a cat ?

    In a batch file I would like to do this:

    if the recognized framerate is 25 or 50 fps ----> do ...

    so the line would be:


    IF "%Frame_Rate%"=="50/1" OR IF "%Frame_Rate%"=="25/1" (CALL :MakeAVI25or50FPStoHD "%WorkFolder%\%~n1.vcf" "%WorkFolder%\%~n1.avs" "%WorkFolder%\%~n1.avi" "%~f1")


    But it don't work (it tell that OR is a unrecognized option) I use windows 8.1 32bit

    Please can you tell me what is the correct commandline? thanks
    Last edited by marcorocchini; 31st Aug 2014 at 07:41.
    Quote Quote  
  2. Member
    Join Date
    Sep 2012
    Search Comp PM
    Set "TokenS=0"
    IF "%Frame_Rate%"=="50/1" Set "TokenS=1"
    IF "%Frame_Rate%"=="25/1" Set "TokenS=1"
    If "%TokenS%"=="1" (
    CALL :MakeAVI25or50FPStoHD "%WorkFolder%\%~n1.vcf" "%WorkFolder%\%~n1.avs" "%WorkFolder%\%~n1.avi" "%~f1"

    Or something to that effect.
    Quote Quote  
  3. Member DB83's Avatar
    Join Date
    Jul 2007
    United Kingdom
    Search Comp PM
    WTF is 'cats' ?

    'OR' is not a DOS command so if you are using the command prompt you would simply need to expand the 'IF' command and have another 'IF' for a different condition.

    But DOS does not recognise 'Frame_Rate' either so you are not using DOS. It would help if you stated just what you are using.
    Quote Quote  
  4. Originally Posted by DB83 View Post
    WTF is 'cats' ?
    Must be some cultural reference like this.
    Quote Quote  
  5. mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    Name:  CCAT9.JPG
Views: 142
Size:  13.7 KB
    Quote Quote  
  6. Originally Posted by ndjamena View Post
    set "tokens=0"
    if "%frame_rate%"=="50/1" set "tokens=1"
    if "%frame_rate%"=="25/1" set "tokens=1"
    if "%tokens%"=="1" (
    call :makeavi25or50fpstohd "%workfolder%\%~n1.vcf" "%workfolder%\%~n1.avs" "%workfolder%\%~n1.avi" "%~f1"

    or something to that effect.

    Quote Quote