View Single Post
Old 28th December 2011, 03:33   #26  |  Link
vampiredom
Registered User
 
Join Date: Aug 2008
Posts: 233
Quote:
Originally Posted by redfordxx View Post
Code:
srcfile="errorinsource.avi"
strSF1="MpegAutoIndexSource(filename=srcfile)"
try{Eval(strSF1)}
catch (err_msg) {
    Assert(false,strSF1)
}
Why this code results into error message "I dont know what strSF1 means", when it should be "MpegAutoIndexSource(filename=srcfile)"?
On my machine, I get the 'correct' error when I try your script. I am not sure why you get the undefined string error. [Not related to your error, but you know that MpegAutoIndex does not work with .avi files anyway, I assume, right]

Quote:
Originally Posted by redfordxx View Post
Also seems that comma in filename makes problems too, please try on your computer.
No, no problem on my system with that either. I did not torture-test the comma issue, but a simple filename with one comma caused no problem. Can you give me the exact filename that caused a problem for you?

Quote:
Originally Posted by redfordxx View Post
btw, is it necessary that DGAVCsource needs to demux full video track?
Only in cases where a .mp4 or .mov H.264 container is used. This is not needed for .mts files, for example.
vampiredom is offline   Reply With Quote