Thanks kypec, but I still get the same error. Script is now:
Code:
LoadPlugin("C:\Program Files\DGMPGDec\DGDecode.dll")
file="D:\My Videos\0-HDV-50i-sample.d2v" # so you don't need to type the filename twice
MPEGsource(file) #open the video content
HDVInfo(file) # reads the recording timestamp