Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#21 | Link | |
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 | Link |
Registered User
Join Date: Aug 2008
Posts: 233
|
I just took a quick look and it will be harder than it seems to fix this: Apparently, CALL_25.dll (which is used here to call the .exe from AviSynth) automatically translates ' -> " ... I guess this was done to facilitate long quoted arguments. The CALL_25 plugin is really old and I can't imagine it will be updated any time soon. The solution, it seems, will be to add a layer of abstraction to launching the executable: So, I'll have to create an executable that un-translates " back to ', then passes those arguments on to the application. Grrr.
The short solution for now: Avoid filenames that contain single-quotes or other strange characters. |
![]() |
![]() |
![]() |
#24 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Code:
srcfile="errorinsource.avi" strSF1="MpegAutoIndexSource(filename=srcfile)" try{Eval(strSF1)} catch (err_msg) { Assert(false,strSF1) } |
![]() |
![]() |
![]() |
#25 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Also seems that comma in filename makes problems too, please try on your computer.
You were asking about comparison of postprocessing of FF and DGAVC some time ago... well I didn't do any test but if I am not mistaken, there is only true/false on deblocking in DGAvc and you can choose more options in case of FF. btw, is it necessary that DGAVCsource needs to demux full video track? Last edited by redfordxx; 27th December 2011 at 15:52. |
![]() |
![]() |
![]() |
#26 | Link | ||
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
Quote:
Only in cases where a .mp4 or .mov H.264 container is used. This is not needed for .mts files, for example. |
||
![]() |
![]() |
![]() |
#28 | Link | |
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
But I don't think that there is an issue in the script itself that could cause such a thing. When you try to load an AVI file, for example, MpegAutoIndexSource() will fail in the section labeled: Code:
############################################################################################ # throw errors for incorrect parameters ############################################################################################ Last edited by vampiredom; 28th December 2011 at 06:02. |
|
![]() |
![]() |
![]() |
#29 | Link | |||
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Quote:
Quote:
Quote:
BTW: I happened to look at your SplitFilename and it might use some improvements. run this script for inspiration: Code:
function ReplaceStr(string ss, string fnd, string rpl) {pos=FindStr(ss,fnd) (pos==0) ? ss : LeftStr(ss,pos-1)+rpl+ReplaceStr(MidStr(ss,pos+StrLen(fnd)),fnd,rpl) } BlankClip() #srcfile="d:/ee\ff/Gggg.XxX" #srcfile="Gggg.XxXxX"#0 #srcfile="h/h\h/h\Gggg.XxXxX"#2 srcfile="\h/h\h/h\Gggg.XxXxX"#1 #srcfile="d:\h/h\h/h\Gggg.XxXxX" srcfiletmp=ReplaceStr(srcfile,"/","\") bckslsh=FindStr(RevStr(srcfiletmp), "\") # bckslsh==1 means it's a dir which is not good, but won't check for this error now filename=(bckslsh==0) ? srcfiletmp : RightStr(srcfiletmp,bckslsh-1) ext=LCase(RightStr(filename,FindStr(RevStr(filename), "."))) namebase=LeftStr(filename,StrLen(filename)-StrLen(ext)) basepath=LeftStr(srcfiletmp,StrLen(srcfiletmp)-StrLen(filename)) path = (FindStr(srcfiletmp, ":")==2) ? basepath \ : (FindStr(srcfiletmp, "\")==1) ? LeftStr(GetWorkingDir(),2)+basepath \ : GetWorkingDir()+basepath drive=LeftStr(path,2).UCase() folder=MidStr(path,3) Subtitle(srcfile+" = "+drive+"|"+folder+"|"+namebase+"|"+ext+"\n"+ srcfile+" = "+SplitFilename(srcfile,1)+"|"+SplitFilename(srcfile,2)+"|"+SplitFilename(srcfile,3)+"|"+SplitFilename(srcfile,4),lsp=1) |
|||
![]() |
![]() |
![]() |
#30 | Link | ||||
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
Quote:
AviSynth cannot do that, I don't think. Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#32 | Link | |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Quote:
Could you provide the easiest example of function which you consider impossible in avs? Just to let me be sure I understand what you want achieve precisely... |
|
![]() |
![]() |
![]() |
#33 | Link | |
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
|
|
![]() |
![]() |
![]() |
#34 | Link |
Registered User
Join Date: Jun 2006
Posts: 452
|
Thanks for your nice tool, it saves me a lot of time.
I have a few question/remarks : a) About the usage examples on the first page : Code:
# Open an AVC stream using DGIndexNV and hardware double-rate deinterlacing MpegAutoIndexSource("foo.mts", NV=true, args="deinterlacing=2") # Open an AVC stream using DiAVC and hardware double-rate deinterlacing MpegAutoIndexSource("foo.mts", DI=true, args="deinterlacing=2") The second example using Diavc.ax : there is no build-in option to deinterlace using "DGAVCDecodeDI.dll".. One would need to deinterlace with another tool.... Maybe it looks a bit tedious, but putting "non working" examples in the main post may scare new users away, thinking that the tool doesn't work. b) Another thing : DGdecNV has had a silent update (version didn't change) : please download it again from neuron2 and replace the .dll / .exe. The update was announced in the forum on neuron2. I've no idea why he didn't change the version number : it's at least very confusing this way. c) I also noticed you included the latest DiAVC v1.26. According to Neuron2 & Diavc author, there are incompatibilities between the Neuron tools and the latest Diavc. You can look at http://www.di-avc.com/download.html and you'll see a "special" version to use with with DG-tools (v1.2). It's up to you of course, but in my experience this version is indeed more stable with DGAVCDecodeDI. Could you include this version in your next updates ? |
![]() |
![]() |
![]() |
#35 | Link | |||
Registered User
Join Date: Aug 2008
Posts: 233
|
You're very welcome. I am glad it is useful to you.
Quote:
Quote:
Quote:
NOTE: You can always overwrite the stuff in the /plugins/MpegAutoIndex/DGAvcIndexDi folder with whatever version you want. Assuming that neuron2 hasn't changed any command line flags or decoder functions parameters, it should work fine. Last edited by vampiredom; 5th January 2012 at 03:57. Reason: updated |
|||
![]() |
![]() |
![]() |
#36 | Link |
Registered User
Join Date: Aug 2008
Posts: 233
|
I fixed an issue that only occurred when using non-NV DGIndex (MPEG2) when there were absolute paths containing / instead of \. This was due to a fairly recent change and was not an issue in older versions of MpegAutoIndex.
Please download the updated package. |
![]() |
![]() |
![]() |
#37 | Link | |
Registered User
Join Date: Jun 2006
Posts: 452
|
Quote:
I switch between those versions by "regsvr32 /u" followed by "regsvr32" for the other. For playback I use the latest v1.26, while for DG-stuff I use v1.2 (special version). |
|
![]() |
![]() |
![]() |
#38 | Link |
Registered User
Join Date: Oct 2009
Posts: 10
|
Thanks for this awesome plugin! (or should I say meta-plugin-collection?
![]() ![]() Anyway, I couldn't get it to work at all at first...it gave me an unrelated error message. The actual problem (I found after digging through the source) is that mp4box didn't work because I didn't have msvcr100.dll. Once copied in, everything worked fine. It would be nice if there was a way of warning of this (when running MpegAutoIndex manually, I got the relevant error message). Just thought I'd let you know. You should be able to reproduce by deleting/renaming/moving msvcr100.dll in %SYSTEMROOT%\system32, and opening a file that would use mp4box, like mp4 or mov (or that 3g* stuff). Thanks! |
![]() |
![]() |
![]() |
#39 | Link | |
Registered User
Join Date: Aug 2008
Posts: 233
|
Quote:
Ah, yes. I have run into that once before, actually. I'll address this in a future release. Thanks for bringing this to my attention! |
|
![]() |
![]() |
![]() |
Tags |
dgavcindex, dgindex, dgindexnv, mpeg2, mpeg4 |
Thread Tools | Search this Thread |
Display Modes | |
|
|