Vegas2Handbrake frustration...

Downunder wrote on 4/3/2015, 4:09 AM
Previously I installed all the "Vegas2Handbrake software" re Marco's Vegas_2_ Handbrake website. It worked straight out of the box perfectly. Have just had to do a reinstall of Windows 7 and Vegas Pro 13 and installed all the "Vegas2Handbrake software" again except I installed Handbrake 0.10.1 instead of my previous 0.9.6 version.. Have not been able to get the Vegas2Handbrake work, even reverted to Handbrake 0.9.6 still no good... It still hangs on the DebugMode FrameServer window.

https://www.dropbox.com/s/s2dcsxknmjzow3m/Vegas2Handbrake%20image.jpg?dl=0

Have uninstalled all the "Vegas2Handbrake software" again and again still no good... oh so frustrating. Just to recap software installation from start to finish is:
Handbrake 64bit> DebugMode FrameServer 2.15> Avisynth 258> Pismo File Mount Audit Package Windows build 175> then put the folders frameserve_scripts into Vegas 13 script menu folder and frameserver into the c:\ drive.. Before I pull all my hair out please give me some much needed help.

Happy Easter

Comments

VidMus wrote on 4/3/2015, 4:33 AM
Looks like you are having the network blues that I and some others had.

If you look in the original thread on this you will see where I had posted a different way of doing the time delays in the batch files.

Both batch files need to have this change made.

Sorry I do not say more at this time because my brain has not woke up yet (does it ever?) and I cannot remember things yet.

Anyway, do a search for the original thread here and you will find the answer.

Downunder wrote on 4/3/2015, 6:30 AM
VidMus

Interesting as the computer is connected to the internet and it is networked to another computer....

I did do a search but to be honest I do not know what I am supposed to be looking for..maybe my brain is so tired of spending hours trying to find a solution it has gone to sleep...lol
Byron K wrote on 4/3/2015, 1:55 PM
I believe VidMus is referring to the batch file located in the following folder:
\fs2hb_en\frameserver\batch

VidMus' start_vegas2handbrake.bat revised script that doesn't need an internet connection:

timeout /t 2 /nobreak
start "" "C:\frameserver\batch\enter.exe"
timeout /t 2 /nobreak
:vegasavi
for /f %%i in ("C:\frameserver\source\vegas.avi") do if %%~zi gtr 160000 goto checkframeserver
timeout /t 2 /nobreak
goto vegasavi
:checkframeserver
for %%F in ("C:\frameserver\source\vegas.avi") do set filesize1=%%~zF
timeout /t 2 /nobreak
for %%F in ("C:\frameserver\source\vegas.avi") do set filesize2=%%~zF
if %filesize2% gtr %filesize1% goto checkframeserver
:avfs
pfm register C:\frameserver\avfs.dll
timeout /t 2 /nobreak
pfm mount C:\frameserver\vegas.avs
timeout /t 2 /nobreak
:handbrake
for /f %%i in ("C:\frameserver\vegas.avs\vegas.avi") do if %%~zi gtr 160000 goto hbstart
timeout /t 2 /nobreak
goto handbrake
:hbstart
start handbrake "C:\frameserver\vegas.avs\vegas.avi"
:waitforhandbrake
timeout /t 2 /nobreak
tasklist | findstr /i "Handbrake.exe"
if %errorlevel%==0 goto stop
goto waitforhandbrake
:stop
start "" "C:\frameserver\batch\stop_render.exe"

Here's the thread:
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=4&MessageID=908280

-EDIT the old script and save as start_vegas2handbrake.bak.
-Replace with this one and save as start_vegas2handbrake.bat
Downunder wrote on 4/3/2015, 6:19 PM
Thanks for your help ByronK. I will give them a whirl.

Can you or anyone confirm the correct path DebugMode FrameServer app should install to just to make sure I have it right...
Byron K wrote on 4/3/2015, 8:37 PM
- At DebugMode FrameServer Setup: Installation Options screen, Select: Sony Vegas (64-bit) Plugin. Click: Next
- Install FrameServer in the root C:\Program Files\Sony\Vegas Pro 12.0 folder. Click: Next
- Install Sony Vegas (64-bit) Plugin in C:\Program Files\Sony\Vegas Pro 12.0 folder. Click: Next
- Install frameserve_scripte folder in the C:\Program Files\Sony\Vegas Pro 12.0\Script Menu\ folder.

- Move the folder "frameserve_scripts" into the folder "Script Menu" of the Vegas Pro 13 program folder (C:\programs\Sony\Vegas Pro 13.0\Script Menu).

- Move the folder "frameserver" to the MAIN partition C:\ (this is critical because all the scripts and batch files used in this process refer to this path). In this folder there also is AVFS, a virtual file system for AviSynth (-> Infos).

Contents of C:\frameserver:

C:\frameserver>dir /s > "frameserver.txt"
Directory of C:\frameserver

04/03/2015 03:27 PM <DIR> .
04/03/2015 03:27 PM <DIR> ..
01/31/2015 10:23 AM <DIR> AVFS
01/31/2015 10:21 AM 49,198 avfs.dll
04/03/2015 09:08 AM <DIR> batch
04/03/2015 03:27 PM 0 frameserver contents.txt
03/21/2015 10:03 AM <DIR> source
01/31/2015 10:21 AM 176 vegas.avs
3 File(s) 49,374 bytes

Directory of C:\frameserver\AVFS

01/31/2015 10:23 AM <DIR> .
01/31/2015 10:23 AM <DIR> ..
01/31/2015 10:21 AM 49,198 avfs.dll
01/31/2015 10:21 AM 18,326 gpl-2.0.txt
01/31/2015 10:21 AM 1,719 license.txt
01/31/2015 10:21 AM 4,494 readme.txt
01/31/2015 10:21 AM 1,153 sample.avs
01/31/2015 10:23 AM <DIR> src
01/31/2015 10:23 AM <DIR> sym
5 File(s) 74,890 bytes

Directory of C:\frameserver\AVFS\src

01/31/2015 10:23 AM <DIR> .
01/31/2015 10:23 AM <DIR> ..
01/31/2015 10:21 AM 512 assertive.cpp
01/31/2015 10:21 AM 2,687 assertive.h
01/31/2015 10:21 AM 23,316 avfs.cpp
01/31/2015 10:21 AM 43 avfs.def
01/31/2015 10:21 AM 4,507 avfs.dsp
01/31/2015 10:21 AM 531 avfs.dsw
01/31/2015 10:21 AM 3,436 avfs.h
01/31/2015 10:21 AM 873 avfs.rc
01/31/2015 10:21 AM 57,385 avfsapi2_orig.cpp
01/31/2015 10:21 AM 32,651 avfsavi.cpp
01/31/2015 10:21 AM 57,332 avfsavi2.cpp
01/31/2015 10:21 AM 568 avfsincludes.h
01/31/2015 10:21 AM 43,274 avfspfm.cpp
01/31/2015 10:21 AM 2,346 avfspfm.h
01/31/2015 10:21 AM 13,089 avfswav.cpp
01/31/2015 10:21 AM 27,532 avisynth.h
01/31/2015 10:21 AM 4,727 dev_readme.txt
01/31/2015 10:21 AM 6,200 files.cpp
01/31/2015 10:21 AM 778 files.h
01/31/2015 10:21 AM 4,186 pfmenum.h
01/31/2015 10:21 AM 2,561 pfmformatter.h
01/31/2015 10:21 AM 22,760 pfmmarshaller.h
01/31/2015 10:21 AM 4,404 pfmprefix.h
01/31/2015 10:21 AM 9,097 ptfactory1.h
01/31/2015 10:21 AM 3,304 ss.cpp
01/31/2015 10:21 AM 1,149 ss.h
01/31/2015 10:21 AM 4,090 stdint.h
01/31/2015 10:21 AM 32,538 traceappimp.lib
01/31/2015 10:21 AM 6,619 traces.h
29 File(s) 372,495 bytes

Directory of C:\frameserver\AVFS\sym

01/31/2015 10:23 AM <DIR> .
01/31/2015 10:23 AM <DIR> ..
01/31/2015 10:21 AM 263,168 avfs.pdb
1 File(s) 263,168 bytes

Directory of C:\frameserver\batch

04/03/2015 09:08 AM <DIR> .
04/03/2015 09:08 AM <DIR> ..
01/31/2015 10:21 AM 958,464 enter.exe
04/03/2015 09:02 AM 1,085 start_vegas2handbrake.bak
04/03/2015 09:14 AM 995 start_vegas2handbrake.bat
01/31/2015 10:21 AM 958,976 stop_render.exe
01/31/2015 10:21 AM 293 unmount.bat
5 File(s) 1,919,813 bytes

Directory of C:\frameserver\source

03/21/2015 10:03 AM <DIR> .
03/21/2015 10:03 AM <DIR> ..
0 File(s) 0 bytes
Downunder wrote on 4/4/2015, 4:48 AM
Once again thanks Byron K but sadly VidMus script does not work too. The only thing I can think of is that before I did the reinstall of Windows when "Vegas2 Handbrake" work perfectly for me I never used to install Windows updates.. With this fresh install I installed all 183 updates . One of those updates may have upset the way "Vegas2 Handbrake" talks to each other..... So it looks like another reinstall with out any updates will have to be done to see if "Vegas2 Handbrake" will work for me again..

Frustratiing
wwaag wrote on 4/4/2015, 10:06 AM
I would first make sure that your frameserver is set up properly. As a test, attempt a short render directly within Vegas using Debugmode and open the avi file with Virtualdub. Select a compression codec and then render to another file. If it works, then at least you know that Framerserver is working OK.

wwaag

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

MikeLV wrote on 8/11/2015, 6:26 PM
And if the frameserver is working properly when testing with virtual dub, then what? start uninstalling windows updates?