Log in

View Full Version : "File 'BlaBla.avs' does not have a video stream" VirtualDub Error


puregreen
27th January 2022, 04:24
I'm trying to run the InpaintDelogo (https://forum.doom9.org/showthread.php?t=176860) script in a 64-bit VirtualDub on my 64-bit Windows 10 but getting this "File 'BlaBla.avs' does not have a video stream" error. My .avs script is simply the following:

DirectShowSource("BlaBla.mov")
InpaintLoc(Loc="1050,850,-1020,-850")

I have AviSynth+ installed with the following files inside the "plugins64" folder:

AddGrainC.dll
avcodec-58.dll
avfilter-7.dll
avformat-58.dll
AvsInPaint.dll
avutil-56.dll
ClipBlend_x64.dll
ffavisynth.avsi
ffavisynth.dll
FrameSel_x64.dll
GrainFactory3.avsi
grunt.dll
InpaintDelogo.avsi
masktools2.dll
postproc-55.dll
RgTools.dll
RT_Stats_x64.dll
swresample-3.dll
swscale-5.dll
TDeint.dll
TIVTC.dll

My VirtualDub's "plugins64" folder contains:

"ffdlls" folder
DShowInputDriver.vdplugin
FFBwDif.vdf
FFDeband.vdf
FFDeblock.vdf
FFInputDriver_64.vdplugin
FFNlMeans.vdf
FFSmartBlur.vdf
FFUnSharp.vdf
FFVagueDenoiser.vdf
QuickTime64.vdplugin

I also have QuickTime and ffdshow installed with all the default settings. VirtualDub doesn't load .mov files by simply doing "File"-"Open video file..." and throws a "Cannot parse BlaBla.mov" error, I have to select "FFMpeg Supported Files" and then it loads the .mov, not sure if that's how it's supposed to be...

Anyway, I tried reinstalling AviSynth+, downloading a clean VirtualDub, also installing 32-bit versions of everything, even using VirtualDub2 but still no luck... Yes, I'm new to VirtualDub but I never thought I would have such a hard time making it work, I used FFmpeg before that and it was much more user-friendly even though it's a CLI tool. I'm ready to learn tho! Maybe I messed up something, I'm just so pissed off at this point I don't know what else to try, any help would be appreciated. Thanks!

kedautinh12
29th January 2022, 12:13
"BlaBla.mov" need exact address of file video stream
Example "c:\BlaBla.mov"

wonkey_monkey
29th January 2022, 14:36
"BlaBla.mov" need exact address of file video stream
Example "c:\BlaBla.mov"

If that was the problem, VirtualDub2 wouldn't return "File 'BlaBla.avs' does not have a video stream". It would return "DirectShowSource: Could not open as video or audio" along with some other details.

DirectShowSource can see the file, it just can't open it. Might be a job for FFmpegSource (http://avisynth.nl/index.php/FFmpegSource).

kedautinh12
29th January 2022, 14:57
Latest ver :D
https://forum.doom9.org/showthread.php?p=1949799#post1949799

puregreen
29th January 2022, 15:30
"BlaBla.mov" need exact address of file video stream
Example "c:\BlaBla.mov"

It does have the exact path to the file in my script. Sorry for the misleading info.

I also forgot to mention my version of VirtualDub is the latest one, just in case.

So I tried something since posting the question. I remuxed the .mov file to .avi with FFmpeg and it doesn't open in my Windows player, just a black screen. Unlike .mov which plays fine. When I'm trying to open this .avi in VirtualDub, I'm getting "Couldn't locate decompressor for format 'avc1' (unknown)" error.

So... Not sure why the same video stream plays fine inside a .mov container but doesn't in case of .avi. I guess it has something to do with my codecs setup? I just don't know what exactly. In my ffdshow settings all formats are set to libavcodec...

puregreen
29th January 2022, 17:24
If that was the problem, VirtualDub2 wouldn't return "File 'BlaBla.avs' does not have a video stream". It would return "DirectShowSource: Could not open as video or audio" along with some other details.

DirectShowSource can see the file, it just can't open it. Might be a job for FFmpegSource (http://avisynth.nl/index.php/FFmpegSource).

FFmpegSource doesn't help...

poisondeathray
29th January 2022, 18:50
Vdub2 is different than Vdub (classic) . Vdub2 should open files natively without externally installed codecs

For the script, try LSmash
https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/

LSmashVideoSource("BlaBla.mov")

StainlessS
29th January 2022, 19:41
Vdub2 is different than Vdub (classic) . Vdub2 should open files natively without externally installed codecs
VDub2:- https://forum.doom9.org/showthread.php?t=172021
VD2 thread still not got stickied, gross oversight, even the antiquated VirtualDubMod is stickied,
VD2 is way better than VD standard or VDMod.
(VD2 also has AVS script editor in tools menu)

puregreen
30th January 2022, 02:35
Vdub2 is different than Vdub (classic) . Vdub2 should open files natively without externally installed codecs

For the script, try LSmash
https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/

LSmashVideoSource("BlaBla.mov")

VirtualDub2 plays the .mov file fine but the .avs script gives me the same "...does not have a video stream" error.

poisondeathray
30th January 2022, 02:38
What does the 1 line script error message say? Only the source filter.


LSmashVideoSource("BlaBla.mov")


What kind of MOV ? What codec ?

You can use mediainfo (view =>text) , or what does vdub2 file=>file information say, with the file loaded directly

puregreen
30th January 2022, 02:40
Vdub2 is different than Vdub (classic) . Vdub2 should open files natively without externally installed codecs

For the script, try LSmash
https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/

LSmashVideoSource("BlaBla.mov")

Just tried LSmashVideoSource and looks like it helped! Thanks!