rangi500
18th November 2008, 14:18
Hello,
I'm using a transcoding software called Procoder to transcode off avs files like this:
Try {
count = DirectShowSource("F:\source_file.mpg").framecount
DirectShowSource("F:\source_file.mpg", seekzero=true)
Trim(738, count-488)
# (some other bits here, stripped out for readability)
} catch(err_msg) {
BlankClip()
WriteFileStart ("F:\error_log.txt", "err_msg")
}
Intermittently (say 1 in 10 times) the "Trim" line doesn't work, the first time the avs script is accessed, and the message "Cannot trim if there is no video" appears in the error log. Accessing the script a second time works fine.
Does anyone have any idea what might cause this?
Any help much appreciated!
Rangi
I'm using a transcoding software called Procoder to transcode off avs files like this:
Try {
count = DirectShowSource("F:\source_file.mpg").framecount
DirectShowSource("F:\source_file.mpg", seekzero=true)
Trim(738, count-488)
# (some other bits here, stripped out for readability)
} catch(err_msg) {
BlankClip()
WriteFileStart ("F:\error_log.txt", "err_msg")
}
Intermittently (say 1 in 10 times) the "Trim" line doesn't work, the first time the avs script is accessed, and the message "Cannot trim if there is no video" appears in the error log. Accessing the script a second time works fine.
Does anyone have any idea what might cause this?
Any help much appreciated!
Rangi