VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Hi cats,

    please I need to creare a virtual link-file to another real .avi video file.

    For example if I have c:\myvideofile.avi

    I need to have a "fake" myvideofile.avi also in v:\cats\

    so that I have: v:\cats\myvideofile.avi that point to c:\myvideofile.avi

    is it possibile this? also in windows XP?

    and, if possible, the fake v:\cats\myvideofile.avi have to disappear if the source c:\myvideofile.avi does not jet exist

    thanks
    Last edited by marcorocchini; 14th Nov 2015 at 14:33.
    Quote Quote  
  2. Right click drag/drop, select Create Shortcut Here.
    Quote Quote  
  3. but it's a .lnk and not a .avi
    Quote Quote  
  4. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Symbolic link guide

    Come down to "Symbolic Link with Vista and Windows7/8/10" then below "Enumeration of Hard links" and read text about xp below the picture.

    Very time consuming.

    And no to the second part ... you will definitively cause system problems.
    Quote Quote  
  5. mmmmm yes however I need this to read only a .avi file, not for write
    Quote Quote  
  6. Why, if I may ask?
    You use batch scripts where making a path as a variable is not a problem. So why do you need that? I'm asking because this looks like wrong question/workflow, sort of.
    Quote Quote  
  7. IIRC old versions of avfs placed the dummy file in the same location of the avs. For sure they worked with XP

    So if actual video was in "c:\" directory , but your avs was in "d:\dogs\are\better\than\cats\" directory, the fake AVI would also be in "d:\dogs\are\better\than\cats\" directory

    Newer versions place it in c:\volumes and I don't think you can change the location . You might have to experiment and find a matching version of pismo mount
    Quote Quote  
  8. I have try the pismo version 1.66 as older version, but for example if my .avs script is in d:\dogs\are (so that d:\dogs\are\me.avs) the pismo/avs system create a folder in "are" called me.avs and the result is: d:\dogs\are\me.avs\me.avi

    but I'm a cat

    Possibly I would like have the same .avi in the same folder
    Quote Quote  
  9. Actually on old XP versions it creates a subfolder with the avs name

    e.g.

    "d:\dogs\are\better\than\cats\dogs.avs" will create a subfolder dogs.avs with dogs.avi inside (plus any audio tracks as wav), so full path looks like

    "d:\dogs\are\better\than\cats\dogs.avs\dogs.av i"

    EDIT: Oops I didn't see your post . I don't think you can specify/change the location on the old versions either
    Quote Quote  
  10. Or another one was ffdshow's avstoavi . Old versions had it, I don't think newer versions have it anymore. I think it created the fake AVI in the same directory. It wasn't as reliable as avfs, however (the fake AVI didn't work in all programs, but the fake AVI made by avfs works with everything)

    And _Al_ has a good question, why are you doing this ?
    Quote Quote  
  11. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    No, no. Just use SUBST!

    Code:
    SUBST V: "D:\DOGS\ARE\BETTER\THAN\CATS\DOGS.AVS\"
    And use V:\dogs.avi...

    To delete virtual/subst drive,
    Code:
    SUBST V: /D


    Scott
    Last edited by Cornucopia; 5th Dec 2015 at 15:03.
    Quote Quote  
  12. mmm I think to "solve" the problem using this subroutine and mklink.exe:

    Code:
    :Make_File_HD2HDinterlace <VCF_FILENAME> <AVS_FILENAME> <FILENAME> <ORG_FILENAME>
    
    pfm unmount "%~n1_HDavs.avs"
         
             v:\automazioneclip\core\ffmpeg.exe  -n -i %4 -filter_complex "[0:1] [0:2] amerge,volume=%AudioVolume%" -c:a pcm_s16le "%DestFolder%\%~n1_HDavs.wav"
             rem v:\automazioneclip\core\ffmpeg.exe  -n -i %4 -filter_complex "[0:3] [0:4] amerge,volume=%AudioVolume%" -c:a pcm_s16le "%DestFolder%\%~n1_HDch3ch4avs.wav"
    
            rem ***Make The .avs Script File ***
            echo SetMemoryMax^(%SetMemoryMaxValue%^)>"%~n1_HDavs.avs"
            rem echo Import^("v:\automazioneclip\avisynth\plugins\IResize.avsi"^)>>"%~n1_HDavs.avs"
            echo LoadPlugin^("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll"^)>>"%~n1_HDavs.avs"
            echo LWLibavVideoSource^(%4^)>>"%~n1_HDavs.avs"
            echo #colorMatrix^(mode="Rec.601->Rec.709"^)>>"%~n1_HDavs.avs"
            echo #ColorYUV^(levels="PC->TV"^)>>"%~n1_HDavs.avs"
            echo #ColorYUV^(gamma_y=-7, gamma_u=-7, gamma_v=-7^)>>"%~n1_HDavs.avs"     
            echo AssumeFPS^(25^)>>"%~n1_HDavs.avs"
    
            IF "%visualDeinterlace%"=="1" echo bob^(^).SelectEven^(^)>>"%~n1_HDavs.avs"
    
            echo #usa_1_Make_File_HD2HDinterlace>>"%~n1_HDavs.avs"
           
           del "%~dp1%~n1_blank.wav"
           del "%~dp1%~n1_blank.avs"
           rem del "%~n1_HDavs.avs"
    
           
           pfm mount "%~n1_HDavs.avs"
    
              for /f delims^=^" %%a in ('pfm flush "%~dp1%~n1_HDavs.avs"') do set "flushed1=%%a"
              set "flushed=%flushed1%\%~n1_HDavs.avi"
              del "%~dp1%~n1_HDavs.avi"
              v:\automazioneclip\core\mklink.exe /s "%~dp1%~n1_HDavs.avi" "%flushed%"
      
     goto :eof
    it create a fake .avi file that point to c:\volumes\%file%.avs\%file%.avi

    I use it to "feed" the catRazor NLE directly the mxf files without transcoding into .avi mjpeg
    Quote Quote  
  13. I didn't know NTFS supported POSIX-like symbolic links. Apparently they've been available since Windows Vista.
    Quote Quote  
  14. I tested the script also in windows xp and seems work well
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!