View Full Version : Footage turning black in Vegas, maybe cause of Vfapi and/or AviSynth
mimage
30th October 2005, 04:46
please read..
http://forum.doom9.org/showthread.php?t=101953
I don't know what could cause this to happen, I think it may have something to do with vfapi or maybe just AviSynth. I never had the problem before even though I ran many scripts at once.. please help.
Audionut
30th October 2005, 09:29
1st. Don't multi post.
2nd. What have you done to / installed on your computer since yesterday.
Guest
30th October 2005, 16:17
Your other post is unclear. First you say you are opening AVS scripts. Then you say you are using VFAPI. Please state your exact process.
mimage
31st October 2005, 05:19
Your other post is unclear. First you say you are opening AVS scripts. Then you say you are using VFAPI. Please state your exact process.I'm converting AVS to fake avis with VFAPI, then I open them in Vegas.
Sorry for double post.. I just felt this may have been happening because of using too many scripts using AviSynth, or maybe some bug with VFAPI. Originally I think maybe I should of posted this here or the AviSynth help forums since I'm sure the problem is not related too much to the editing program.
Guest
31st October 2005, 05:33
What happens if you open the fake AVIs directly in VirtualDub? Do you get black frames?
mimage
31st October 2005, 06:27
What happens if you open the fake AVIs directly in VirtualDub? Do you get black frames?
No, it only happens when I've got a multiple amount of them running in Vegas.. with the video I was making using all the footage, I went back a few project files and the problem wasn't happening.. almost everytime I make some major or minor changes I make another project file(I so far have made 15 with the one video I'm working on). So maybe it just cant handle so many scripts.. It would suck if I can't finish the project I was working on for a contest. Maybe I'm just s*** out of luck. I hope there's something I could do to fix this.
Guest
31st October 2005, 06:45
tritical coded the multiple open support for VFAPI. Perhaps he has a comment about this.
tritical
31st October 2005, 08:23
I'm not really sure off hand what the problem could be, but since it only happens when having a large number of converted avs scripts open at the same time it might be because dgvfapi creates a new scriptenvironment for each avs script that it opens. Anyways, I made a couple debug builds with extra outputdebugstring() calls that should help track down what is happening. You can download them here: [link removed].
There are two separate builds... one is unmodified except for the extra debug output and the other I also modified to share one iscriptenvironment for all avs scripts. If you could try each and have DebugView (http://www.sysinternals.com/Utilities/DebugView.html) open while editing to catch the debug output it should reveal what is happening. To use the new builds just replace the current dgvfapi.vfp in your dgindex directory (make a copy of it first or move it somewhere else) with the new build (make sure to rename the new build to dgvfapi.vfp).
Once you do that just post the debugview logs here or upload them to my ftp and mention where either of the builds fixed the problem or not. FTP info:
ip: 68.119.245.113
port: 17252
user/pass: upload/upload
mimage
31st October 2005, 09:36
I'm not really sure off hand what the problem could be, but since it only happens when having a large number of converted avs scripts open at the same time it might be because dgvfapi creates a new scriptenvironment for each avs script that it opens. Anyways, I made a couple debug builds with extra outputdebugstring() calls that should help track down what is happening. You can download them here: dgvfapi_tests (http://bengal.missouri.edu/~kes25c/dgvfapi_test.zip).
There are two separate builds... one is unmodified except for the extra debug output and the other I also modified to share one iscriptenvironment for all avs scripts. If you could try each and have DebugView (http://www.sysinternals.com/Utilities/DebugView.html) open while editing to catch the debug output it should reveal what is happening. To use the new builds just replace the current dgvfapi.vfp in your dgindex directory (make a copy of it first or move it somewhere else) with the new build (make sure to rename the new build to dgvfapi.vfp).
Once you do that just post the debugview logs here or upload them to my ftp and mention where either of the builds fixed the problem or not. FTP info:
ip: 68.119.245.113
port: 17252
user/pass: upload/uploadI'll see what I can do with that. I tried running the program when I was playing back the video.. and it messed up with Please Teacher but said it opened fine. Here's what it showed in Debug View when I used it with the default DGVfapi.vfp when I played back what was done in Vegas.
00000000 0.00000000 [2152] DGVfapi: attempt to open file: H:\Bible Black 04\Bible Black 04\Bible Black 04.avs.
00000001 0.36835641 [2152] DGVfapi: open file succeeded!
00000002 0.56827009 [2152] DGVfapi: attempt to open file: H:\Bible Black\Bible Black\Bible Black.avs.
00000003 0.89026654 [2152] DGVfapi: open file succeeded!
00000004 1.14403927 [2152] DGVfapi: attempt to open file: G:\MSGUNDAM08_V1\MSGUNDAM08_V1.avs.
00000005 1.46145284 [2152] DGVfapi: open file succeeded!
00000006 1.57270205 [2152] DGVfapi: attempt to open file: G:\LINGERIE1\LINGERIE1.avs.
00000007 1.79393137 [2152] DGVfapi: open file succeeded!
00000008 2.04200745 [2152] DGVfapi: attempt to open file: G:\Slave Market\Slave Market a\Slave Market a.avs.
00000009 2.37354636 [2152] DGVfapi: open file succeeded!
00000010 2.44704270 [2152] DGVfapi: attempt to open file: G:\SLAVE_NURSES\SLAVE_NURSES.avs.
00000011 2.82951260 [2152] DGVfapi: open file succeeded!
00000012 3.11543250 [2152] DGVfapi: attempt to open file: G:\PLEASE_TEACHER_VOLUME04\PLEASE_TEACHER_VOLUME04.avs.
00000013 3.40897655 [2152] DGVfapi: open file succeeded!
00000014 3.52610564 [2152] DGVfapi: attempt to open file: H:\GOWCAIZER\Gowcaizer A\Gowcaizer A.avs.
00000015 3.88677716 [2152] DGVfapi: open file succeeded!
00000016 4.08217764 [2152] DGVfapi: attempt to open file: G:\Angel_Blade\Angel_Blade a\Angel_Blade a.avs.
00000017 4.41182947 [2152] DGVfapi: open file succeeded!
00000018 4.73690653 [2152] DGVfapi: attempt to open file: E:\RAHXEPHON_1\RAHXEPHON_1.avs.
00000019 5.41113567 [2152] DGVfapi: open file succeeded!
00000020 5.58148527 [2152] DGVfapi: attempt to open file: G:\RAHXEPHON_2\RAHXEPHON_2.avs.
00000021 6.01194811 [2152] DGVfapi: open file succeeded!
00000022 6.24496412 [2152] DGVfapi: attempt to open file: G:\BloodShadow\BLoodShadow a\BloodShadow a.avs.
00000023 6.59024858 [2152] DGVfapi: open file succeeded!
00000024 6.73638773 [2152] DGVfapi: attempt to open file: G:\SEXFRIENDS\SEXFRIENDSa\SEXFRIENDSa.avs.
00000025 7.14102364 [2152] DGVfapi: open file succeeded!
00000026 7.87136507 [2152] DGVfapi: attempt to open file: G:\PLEASE_TEACHER_V2\PLEASE_TEACHER_V2.avs.
00000027 8.16270924 [2152] DGVfapi: open file succeeded!
I highlighted some clips to render after I played back the vid and a message poped up saying "An error occurred while starting playback. The device specified is in use."
Here's the test playback with DGVfapi_test1.vfp stopped with Please Teacher again..(It's usually very random on what footage turns black).
http://stormmetropolis.com/index/RYAN2.LOG
.............
......................
....
......
OMG!!! O_O I have to thank you so much so much for all your help.. if you met me in real life I'd show a major amount of appreciation.. because of you I have been able to use avs scripts in Vegas in the first place... now I tried DGVfapi_test2.vfp and it seemed to fix the problem.. I was even able to render the whole video after I played it back and I didn't get no error message. You are so very awesome!! Thanks a whole lot for your help, I really appreciate it!! ^_^
Here's the test playback with DGVfapi_test1.vfp..
http://stormmetropolis.com/index/RYAN3.LOG
Again thanks soo much for all your great help!! ^^
Guest
31st October 2005, 14:45
@tritical
Thank you for your help. Please send me the source code fix when ready.
tritical
31st October 2005, 19:41
Since test2 worked for you, and that was the one I changed to share one iscriptenvironment among all opened avs scripts, I'm gonna assume that was the problem. Anyways, I pmed the changes to neuron2... if you have any other problems with it just report back here.
Btw, I think it might help to add a note at the bottom of the dgvfapi.txt that the _P and _A naming only applies to d2v files and not avs files. Also, the avs opening uses progressive rgb upsampling by default (if the script doesn't return rgb24 it just attaches a converttorgb24() with default parameters to the end of the script) and not interlaced as the d2v upsampling uses. So if someone wants an rgb conversion different from a default converttorgb24() they should manually specify the conversion at the end of the script.
mimage
1st November 2005, 21:20
No problems with it, just thought I'd report the first 7 seconds of my videos playback in the timeline doesn't play as smoothly as it did before(witch isn't a big deal, plays smoothly and everything is fine with its playback after rendering).. It uses clips from Gowcaizer, then at 8 seconds it starts playing things from other anime and the playback is the same as before(not meaning that it goes black, just the playback is as smooth as before). Just thought I'd mention that since before it didn't play the first 7 seconds slow, it actually played very smoothly. Don't know how this information may be helpful, just thought I'd mention it since it's a small little change from before I used the test file and just incase the info may be helpful in some form. Except for that one insignificant bit of info, everything is a lot better with the test file that you presented me.
Guest
2nd November 2005, 14:07
Btw, I think it might help to add a note at the bottom of the dgvfapi.txt that ... Yes, indeed. I have done that and will release a new beta with these fixes, for which thank you very much.
mimage
2nd November 2005, 14:33
Here's the test playback with DGVfapi_test2.vfp
http://stormmetropolis.com/index/RYAN3.LOGSorry, I meant to type DGVfapi_test2 right there. Hope you didn't think RYAN3.LOG was for test1, it's for test2. Sorry for the mix up..
tritical
2nd November 2005, 19:22
Sorry, I meant to type DGVfapi_test2 right there. Hope you didn't think RYAN3.LOG was for test1, it's for test2. Sorry for the mix up..
I assumed that you had meant to say test2 for the RYAN3.LOG file, so no worries. For the unsmooth playback at the beginning it could be caused by a very large number things... as long as the correct frames are delievered and the result after rendering is correct I don't think there is much dgvfapi can do about it.
Yes, indeed. I have done that and will release a new beta with these fixes, for which thank you very much.Thanks, I asked because I've have talked to a few people who were confused about the avs vs. d2v upsampling.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.