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 (record Netflix) :)
+ Reply to Thread
Results 1 to 29 of 29
Thread
  1. please don't comment if I'm a c*t

    Kindly I need to use fart.exe to change

    Code:
    #reversibleColorMatrix#
    into

    Code:
    colorMatrix(mode="Rec.709->Rec.601")
    How I have to do? thanks
    Quote Quote  
  2. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    It looks easy...Did you read about it at:

    http://fart-it.sourceforge.net

    Are u really a cat?
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  3. Originally Posted by ron spencer View Post

    Are u really a cat?
    Image
    [Attachment 40986 - Click to enlarge]


    obviously

    because of that I'm not very practice with pc
    Quote Quote  
  4. Code:
    fart filename.avs #reversibleColorMatrix# colorMatrix(mode=\"Rec.709->Rec.601\")
    Replace "filename.avs" with the name of the file you want to change. And, of course, the usual path name syntax applies.
    Quote Quote  
  5. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by marcorocchini View Post
    Originally Posted by ron spencer View Post

    Are u really a cat?

    obviously

    because of that I'm not very practice with pc
    Maybe you should play in boxes only then and leave PC to a dog...

    Image
    [Attachment 40987 - Click to enlarge]
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  6. Far too goddamn old now EddyH's Avatar
    Join Date
    Jan 2003
    Location
    Soul sucking suburbia! But a different part since I last logged on.
    Search Comp PM
    Cats converting video ... programs called "Fart" ...

    I can't tell if this place has changed massively in the seven years since I last logged on, or if it's business as usual just with different words.

    ...oh hey that actually looks quite useful, and it's not just linux-only either... *downloads Fart_win32.exe*
    miew
    -= She sez there's ants in the carpet, dirty little monsters! =-
    Back after a long time away, mainly because I now need to start making up vidcapped DVDRs for work and I haven't a clue where to start any more!
    Quote Quote  
  7. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by EddyH View Post

    I can't tell if this place has changed massively in the seven years since I last logged on, or if it's business as usual just with different words.

    miew
    7 years??? What made you log in?
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  8. Originally Posted by jagabo View Post
    Code:
    fart filename.avs #reversiblecolormatrix# colormatrix(mode=\"rec.709->rec.601\")
    replace "filename.avs" with the name of the file you want to change. And, of course, the usual path name syntax applies.
    Image
    [Attachment 40995 - Click to enlarge]



    thankssssss :d:d:d:d:d:d:d
    Quote Quote  
  9. jagabo, for kindness: your line as "standalone" work. But when I try to insert is in a batch like this

    Code:
    @echo off
    if exist v:\automazioneclip\system\tempOut1.bat del v:\automazioneclip\system\tempOut1.bat
    setlocal enabledelayedexpansion
    c:
    cd\
    cd volumes
    set "parentfolder=%CD%"
    for /r . %%g in (*.avs) do (
      set "var=%%g"
      set var="c:\volumes!var:%parentfolder%=!"
      del out.txt
      echo V:\automazioneclip\system\fart.exe !var! "#VisualDeinterlaceApplicabile#" "bob().SelectEven()">>v:\automazioneclip\system\tempOut1.bat
      echo V:\automazioneclip\system\fart.exe !var! #reversibleColorMatrix# colorMatrix(mode=\"Rec.709->Rec.601\")>>v:\automazioneclip\system\tempOut1.bat
      )
      v:\automazioneclip\system\tempOut1.bat
      del c:\volumes\tempOut1.bat
    in the target .avs (!var!) I get this bad result

    Code:
    colorMatrix(mode="Rec.709->Rec.601"
    this is missing of a ")". The correct result should be

    Code:
    colorMatrix(mode="Rec.709->Rec.601")
    maybe this happen because the entire line have the ">>" attached:

    Code:
    echo V:\automazioneclip\system\fart.exe !var! #reversibleColorMatrix# colorMatrix(mode=\"Rec.709->Rec.601\")>>v:\automazioneclip\system\tempOut1.bat
    do you know if there is a way to resolve so that the final result is

    Code:
    colorMatrix(mode="Rec.709->Rec.601")
    thankss
    Quote Quote  
  10. Can't duplicate your problem. Try escaping the > in rec.709->rec.601.
    Quote Quote  
  11. Originally Posted by jagabo View Post
    Can't duplicate your problem. Try escaping the > in rec.709->rec.601.
    escaping the > in rec.709->rec.601? I cannot undestand
    Quote Quote  
  12. Image
    [Attachment 41000 - Click to enlarge]


    please help a poor cat
    Last edited by marcorocchini; 21st Mar 2017 at 19:05.
    Quote Quote  
  13. ahhhh cat
    Quote Quote  
  14. Code:
    echo V:\automazioneclip\system\fart.exe !var! #ColorMatrixReversibileDa709a601# colorMatrix(mode=\"Rec.709->Rec.601\"^)>>v:\automazioneclip\system\tempOut1.bat
    Quote Quote  
  15. ^_^

    thanks
    Last edited by marcorocchini; 23rd Mar 2017 at 00:17.
    Quote Quote  
  16. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    I knew a cat could encode video!!!

    Image
    [Attachment 41002 - Click to enlarge]
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  17. I see why I couldn't duplicate the problem. I was testing only at the two "echo" lines in a batch file (because it was too much trouble to modify the entire batch file). But it looks like the problem is that the close parenthesis on the second echo is being interpreted as the end of the "do" loop.
    Quote Quote  
  18. parentheses are always a sort of trap in batch script one way or the other, better always call a function, just submerge it down a few levels if needed, it does not matter, batch keeps track of it, having hefty number of them, it actually clears things up not complicate them as one would think, those calling functions just get out of the way to the bottom of the script. It clears things up. ...But every calling function should always have an info what kind of file is that argument though, like in this case avisynth script


    Code:
    for /r . %%g in (*.avs) do call :temp_BAT "%%g"
    .
    .
    .
    
    :temp_BAT <avisynth script>
    set "var=%~1"
    set var="c:\volumes!var:%parentfolder%=!"
    if exist v:\automazioneclip\system\tempOut1.bat del v:\automazioneclip\system\tempOut1.bat
    V:\automazioneclip\system\fart.exe !var! #ColorMatrixReversibileDa709a601# colorMatrix(mode=\"Rec.709->Rec.601\"^) >>v:\automazioneclip\system\tempOut1.bat
    V:\automazioneclip\system\tempOut1.bat
    del c:\volumes\tempOut1.bat
    goto :eof
    Quote Quote  
  19. Originally Posted by ron spencer View Post
    i knew a cat could encode video!!!

    Image
    [Attachment 41002 - Click to enlarge]
    yes yes yes he is my friend
    Quote Quote  
  20. jagabo please help: now I need to do the inverse operation

    if the inputfile.avs have a string callded:
    Code:
    colorMatrix(mode="Rec.709->Rec.601")
    this string have to be replaced with
    Code:
    #ColorMatrixReversibileDa709a601#
    I have do many proof but I cannt find the solution

    how can I do? thankss
    Quote Quote  
  21. Sorry, I deleted all the files I was testing with. Can't you just reverse the order of the two arguments?
    Quote Quote  
  22. yes but strangely don't work.

    AH no, maybe it work

    please jagabo I wonder this: please consider this 3 .avs script

    script 1:
    Code:
    LWLibavVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (4)\IMX.MXF")
    crop(0,32,0,0)
    IResize(1920,1080)
    script2:
    Code:
    LWLibavVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (4)\IMX.MXF")
    crop(0,32,0,0)
    colorMatrix(mode="Rec.601->Rec.709")
    colorMatrix(mode="Rec.709->Rec.601")
    IResize(1920,1080)
    script3:
    Code:
    LWLibavVideoSource("C:\Users\Administrator\Desktop\Nuova cartella (4)\IMX.MXF")
    crop(0,32,0,0)
    colorMatrix(mode="Rec.601->Rec.709")
    IResize(1920,1080)

    Where IMX.MXF is s SD video file BT.601 colormatrix.

    In the 1 case it is loaded by svisynth "as is" (only SD-->HD resolution converted), but colormatrix keep 601
    In the 2 case, the colormatrix correction have to be the same charateristics of the 1 because was bring from 601 to 709 and successively from 709 to 601. So colormatrix remain 601

    In the 3 case, colormatrix is converted from 601 to 709

    I wonder, if I use the case 2 in place of 1, the cpu of my pc is it subjected to an increased workload respect the case 1? or does not change almost nothing respect the case? Is there a loss of quality between case 1 and 2?
    Last edited by marcorocchini; 23rd Mar 2017 at 05:07.
    Quote Quote  
  23. CPU load will increase with each ColorMatrix() instance.
    About quality loss: https://forum.videohelp.com/threads/382794-during-colomatrix-conversion-get-I-a-loss-of-quality
    Quote Quote  
  24. Originally Posted by marcorocchini View Post
    I wonder, if I use the case 2 in place of 1, the cpu of my pc is it subjected to an increased workload respect the case 1?
    Of course. If you run up a flight of stairs then back down you're back where you started but it took time and you expended energy.

    Originally Posted by marcorocchini View Post
    or does not change almost nothing respect the case?
    You've just wasted CPU time and...

    Originally Posted by marcorocchini View Post
    Is there a loss of quality between case 1 and 2?
    The conversion is not lossless. So yes, you've lost quality, though you may not be able to see it. And ColorMatrix clamps super-blacks and super-whites by default. So you will lose those if there are any in your video. Why bother asking a question like this since you can test it yourself very easily?
    Quote Quote  
  25. ahn okok

    thanks
    Quote Quote  
  26. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by marcorocchini View Post
    ahn okok

    thanks
    Hey cat...U been drinking again??

    Image
    [Attachment 41030 - Click to enlarge]
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  



Similar Threads