Forum Replies Created

  • Nick Doyle

    March 4, 2019 at 4:21 pm in reply to: Number counter expression

    Perfect! Thanks so much for your help.

  • Nick Doyle

    March 4, 2019 at 3:12 pm in reply to: Number counter expression

    Here it is. I replaced the existing function with below:

    function numberWithCommas(x) {
    var parts = x.toString().split(“.”);
    parts[0] = parts[0].replace(/\B(?=(\d{5})+(?!\d))/g, “,”);
    return parts.join(“.”);
    }

    var num = effect(“Slider Control”)(“Slider”)
    num = numberWithCommas(num);
    [num]

  • Nick Doyle

    March 4, 2019 at 2:32 pm in reply to: Number counter expression

    Sorry I’m a bit confused I’ve pasted it in place of my function and now the number turns into the word ‘object’

  • Nick Doyle

    March 4, 2019 at 1:43 pm in reply to: Number counter expression

    Ooo thank you, can’t seem to find the correct point to add this in though. Here is what I tried:

    var num = effect(“Slider Control”)(“Slider”)
    num = Comma(num);
    [num]

    function numberWithCommas(x) {
    var parts = x.toString().split(“.”);
    parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, “,”);
    return parts.join(“.”);
    }

    function Comma(number)
    {
    number = ” + Math.round(number/10);
    if (number.length > 3)
    {
    var mod = number.length % 3;
    var output = (mod > 0 ? (number.substring(0,mod)) : ”);
    for (i=0 ; i < Math.floor(number.length / 3); i++)
    {
    if ((mod == 0) && (i == 0))
    output += number.substring(mod+ 3 * i, mod + 3 * i + 3);
    else
    output+= ‘,’ + number.substring(mod + 3 * i, mod + 3 * i + 3);
    }
    return (output);
    }
    else return number;
    }

  • Nick Doyle

    April 27, 2018 at 11:18 am in reply to: Pixel Format Issue

    Sorry for the slow response

    Thanks everyone for your responses. Very much appreciated.

    I’ve managed to get to Uncompressed YUV 4:2:2. It’s coming out at over 13GB in size. Is there anyway to reduce that?

    Thanks,

  • Nick Doyle

    April 17, 2018 at 4:44 pm in reply to: Pixel Format Issue

    Ah! of course sorry about that.

    They’ve said it can be in either .avi, .mov or .wmv format. I’ll most likely be outputting in .mov format.

    Many thanks,

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy