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. |
2nd May 2007, 21:01 | #1141 | Link | |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
Fixed. I guess the other pages could have some SPAN-tags removed - what's the use of nesting a <SPAN> directly inside a <P>aragraph only to set a CSS class for the text? (I'd say that the headings should use <H>-tags for WCAG-compliance, but I doubt people who install ffdshow and AviSynth are using a screenreader at the same time - stranger things have happened, though...) np: Atom - All Notes Off (Replicant Rumba Rockers (remixed by Burnt Friedman))
__________________
now playing: [artist] - [track] ([album]) Last edited by Leak; 2nd May 2007 at 21:05. |
|
3rd May 2007, 00:11 | #1143 | Link | |
>>^^__^^<<
Join Date: Jun 2005
Posts: 222
|
Quote:
Code:
1090-clsid User: 39s, kernel: 0s, total: 39s, real: 39s, fps: 51.1, dfps: 50.5 1125-clsid User: 37s, kernel: 0s, total: 37s, real: 38s, fps: 52.8, dfps: 51.9 1126-gcc User: 37s, kernel: 0s, total: 37s, real: 38s, fps: 52.8, dfps: 51.9 1126-msvc2003 User: 37s, kernel: 0s, total: 37s, real: 38s, fps: 52.8, dfps: 52.1 1126-msvc2005 User: 37s, kernel: 0s, total: 37s, real: 38s, fps: 52.9, dfps: 52.2 1126-msvc2003/2005 |
|
3rd May 2007, 02:01 | #1144 | Link |
Registered User
Join Date: Dec 2004
Location: Richmond, VA
Posts: 27
|
Leak, Again, I applaud you for the excellent progress you have made. My concern with your latest patched version is where you can ‘disable buffering’ – on my system it appears I cannot disable buffering when I uncheck "Apply pulldown" and set ahead and back buffers to 0 (or maybe I am but you are doing something with the frame(s) besides just spitting them out). I have used those clips that the frame duration changes from 41 ms to 33 ms as viewed on the OSD (the ones from Video Essentials and Blood Diamond) as my “torture test” for your patch and my video still stutters/freezes for a couple of sec. at the point were the frame duration changes. I have noticed that my P4 3.0 Ghz usually runs around 50-65% with my filters but at the frame duration changes it's pushed to 100% (from the OSD) which is why I probably see a longer pause. I understand that these frame duration changes can be common (be it a bad it or whatever) but they do not always go unnoticed with your patch; whereas with every unpatched version of ffdshow these same frame duration changes play fine. Now, I don’t sit and look at frame durations counts when I watch a movie but I know a pause when I see one and the only change I’ve made was to uninstall one unpatched version of ffdshow and installed your patched version. In fact, I’ve done this over and over with the same results.
Again, I’m just using ffdshow/Avisynth scripts for realtime viewing of R1 DVDs. I use TheaterTek software player and I want to sharpen my picture a little so I use the SeeSaw or LimitedSharpenFaster filter – that’s it. So far, I haven’t seen anyone else say they are experiencing a slight freezing/pausing with frame duration changes with your patch so by all means, dismiss this as a ‘user error/problem’. I guess I will continue to test and see what happens once your patch is incorporated in the ffdshow builds… Thanks, jidelite |
3rd May 2007, 07:57 | #1146 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
With the blood diamond test, I see a lot of weirdness whenever Haali's is used as the splitter, framerate is halved even though timestamps are correct, and occasional non-reproduceable freezes with the MS dvd navigator and a few other splitters at 0:19, but not the internal one (so far). Since it lasts such a short time, trying to break in at the right moment has been impossible, though setting some condition might work better.
Also, great guide, but I keep trying to click on the checkboxes. |
3rd May 2007, 08:15 | #1147 | Link | |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
For the record - I'm using Gabest's MPEG splitter, and the file plays through normally for me, whether I use TIVTC or not...
__________________
now playing: [artist] - [track] ([album]) |
|
3rd May 2007, 08:24 | #1148 | Link | ||||
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
Quote:
* Download DebugView from Microsoft * Run DebugView, go to "Edit > Filter/Highlight..." and enter "TimgFilterAvisynth:" (sans quotes) in the "Include:" box, then hit OK and probably minimize it so it won't take much extra time scrolling the output across the screen * Add "#debug" as the very first line of your AviSynth script * Open your media player, play the material you're having problems with until you get past one of those stutters or two * Save the output of DebugView to a file and mail it to leak (at) gmx (dot) at That should give us some clues as to what's happening. Quote:
Still, even when the timestamps fluctuate a bit the AviSynth filter shouldn't do anything special, it'll just produce similar timestamp fluctuations in the output, but it won't treat the frame any different than others or reset all buffers or anything. By the way, what video renderer are you using? Quote:
I'm pretty sure AviSynth filtering works perfectly with ffdshow's built-in MPEG2 decoder, but I really can't vouch for other decoders...
__________________
now playing: [artist] - [track] ([album]) Last edited by Leak; 3rd May 2007 at 08:30. |
||||
3rd May 2007, 08:32 | #1149 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
btw, this is what shows in the debug console when it happens: Code:
[2948] TimgFilterAvisynth: Requesting frame 42 from Avisynth [2948] TimgFilterAvisynth: Looked up frame 42, using frame 42 [2948] TimgFilterAvisynth: Frame 42: 0 back, 0 ahead; requested 42 [2948] TimgFilterAvisynth: Delivering frame 42; 2285.616100 - 2335.666000 = 50.049900 [2948] TimgFilterAvisynth: onFlush [2948] TffdshowDecVideoOutputPin:: DeliverBeginFlush [2948] TffdshowDecVideoOutputPin:: DeliverEndFlush [2948] TimgFilterAvisynth: (Re-)Initializing buffers [2948] TimgFilterAvisynth: Passing through frame 43, 2335.666000 - 2369.032600 = 33.366600 [2948] TimgFilterAvisynth: Requesting frame 43 from Avisynth [2948] TimgFilterAvisynth: Looked up frame 43, using frame 43 [2948] TimgFilterAvisynth: Frame 43: 0 back, 0 ahead; requested 43 [2948] TimgFilterAvisynth: Delivering frame 43; 2335.666000 - 2369.032600 = 33.366600 [2948] TimgFilterAvisynth: Passing through frame 44, 2369.032600 - 2419.082500 = 50.049900 I'm stupid, I should have noticed this correlation earlier, ever .5-1s hang has one of these pairs. By using something called the "Universal Open Source MPEG Splitter" I can regularly make it happen at 0:04 and 0:19. Last edited by foxyshadis; 3rd May 2007 at 08:40. |
|
3rd May 2007, 08:40 | #1151 | Link | |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
So what I do is drop all buffered frames, then start buffering again - processing and delivering the frames that had been buffered before the seek will just make things look funny and take longer. I guess I'll have to try using Haali's splitter when I get home, but I'm not sure what I should do about this - if I ignore the DirectShow flushes navigating the DVD will get laggy. EDIT: But I still can't figure out why it would stutter with the settings you had to have set, namely no Apply pulldown and no buffering - after all, in that case it just passes through the current frame, with no pre-buffering or anything else that would take any noticeable time (and nothing to drop, either), and as you can see the timestamps are consecutive as well... EDIT2: The timestamps on the DebugView log entries would have been interesting... those would show where the exact pause happened.
__________________
now playing: [artist] - [track] ([album]) Last edited by Leak; 3rd May 2007 at 08:47. |
|
3rd May 2007, 14:34 | #1153 | Link | |||
Registered User
Join Date: Dec 2004
Location: Richmond, VA
Posts: 27
|
Quote:
Quote:
Quote:
Thanks, jidelite |
|||
3rd May 2007, 14:48 | #1154 | Link |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
That won't do much, as none of the debug output I'm looking for is printed by the unpatched version...
But if what foxyshadis wrote above is the same that happens to you then I'm not sure how to fix it - after all, the splitter in that case asks ffdshow to flush everything it has queued, and I happily oblige...
__________________
now playing: [artist] - [track] ([album]) |
3rd May 2007, 16:24 | #1155 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
I wish debugview copied timestamps, but they were at 4.4s and 23s from the start, which didn't correspond to the video time. The first was at frame 43; it's dark but noticeable. I ran dgindex over it but since I don't deal with mpeg-2 much, I don't know what to look for to detect errors. I'm also not sure what can be done about it. Set up some kind of conditions to just ignore it? I don't know. |
|
3rd May 2007, 16:57 | #1156 | Link | |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
The stutter with buffering turned on is most probably coming from decoding and buffering 12 frames (in TIVTC's case) before playback resumes, but of course that shouldn't (can't?) happen when it's turned off... I gotta try to reproduce this with Haali's splitter, but first I need to test that RMAed 17" piece of monitor next to me... np: Burnt Friedman - Fucking Long Time (Plays Love Songs)
__________________
now playing: [artist] - [track] ([album]) |
|
3rd May 2007, 18:55 | #1157 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Leak, correction of doc (last phrase):
Replace: ...disable "Apply pulldown" to get the old behaviour of earlier AviSynth versions back... By: ...disable "Apply pulldown" to get the old behaviour of earlier FFDSHOW versions back...
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|