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. |
5th April 2012, 12:45 | #1 | Link |
Registered User
Join Date: Mar 2012
Posts: 6
|
DirectShowSource - short freezes
Dear AviSynth users,
I am having following problem with DirectShowSource: Source clip is smooth, but after rendering it becomes strange - video freezes at some point (or points) (not working), but frame counter still goes on (working fine). I don't know if this is the problem of AviSynth or maybe ffdshow. If so I still do not know how to fix this. Please provide me with some hints if you can. I am attaching 3 files to help you visualize problem: - script.avs - source.avi (file being read by DirectShowSource) - render.avi (problematic file received after rendering script.avs) http://bit.ly/Hk4Sq7 |
6th April 2012, 12:36 | #3 | Link |
Registered User
Join Date: Mar 2012
Posts: 6
|
Thank Bloax for your answer. However if I understand DirectShowSource well, I think it grabs frames from ffdshow "on the fly". If the problem was only with skipping frames, this should not be noticeable. My video freezes for nontrivial period of time (say 0,7 s) - it means DirectShowSource would have to have skipped approximatelly 0,7*29.97 = 21 following frames. I cannot imagine DirectShowSource is that bad. I think it rather skips single (separate) frames.
Summarizing, I would say the problem would or could be with something else. Last edited by vesolovski; 6th April 2012 at 12:42. |
6th April 2012, 13:07 | #4 | Link |
The speed of stupid
Join Date: Sep 2011
Posts: 317
|
Tried FFMpegSource?
|
6th April 2012, 14:32 | #5 | Link |
Registered User
Join Date: Mar 2012
Posts: 6
|
Yeah, I have.
But it (AviSource as well) has a limit of processed clips in one script file (approximatelly 15 for HD 1080p clips). DirectShowSource does not have such limit (related to memory limit of computer), but it is buggy in my case (problem described above). |
8th April 2012, 02:59 | #8 | Link |
Registered User
Join Date: Mar 2012
Posts: 6
|
I checked your solution on different computer. Works perfectly. Ever if I bypass framecount=265 (is it useful?)
As I said before - you are a genius Last edited by vesolovski; 10th April 2012 at 10:12. Reason: No relation with subject |
8th April 2012, 04:37 | #10 | Link | |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Far from that In fact, I have understood less than 5% of the whole Avisynth thing so far ( even though I'm a semi-regular AVS user since 2007 )
Quote:
Last edited by Midzuki; 8th April 2012 at 04:38. Reason: spelling |
|
Tags |
directshowsource, freezes, problem |
|
|