|
|
| phaeron |
| Posted: Jan 8 2012, 08:35 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
A standard DirectShow graph with audio and video running off the same input path is forced to run both audio and video in sync. There is only one input stream, so the splitter must produce audio and video samples with interleaved timings. In this kind of scenario, any difference in latency between presentation of the audio and video streams must be compensated with buffering and both streams must advance at the same rate. Since neither of these requirements can be satisfied with a random access stream interface, the DirectShow plugin must run two separate graphs.
Sorry, I had forgotten about the issue with the ASF pseudo-plugin. I'll queue a fix for 1.10.2. |
 |
| levicki |
| Posted: Jan 11 2012, 05:28 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 167
Member No.: 22605
Joined: 13-December 07

|
| QUOTE (phaeron @ Jan 8 2012, 09:35 AM) | | Sorry, I had forgotten about the issue with the ASF pseudo-plugin. I'll queue a fix for 1.10.2. | Thanks! |
 |
| zaferk |
| Posted: Feb 21 2012, 08:58 PM |
 |
|
Member
 
Group: Members
Posts: 16
Member No.: 24131
Joined: 29-August 08

|
Phaeron, any chance we get a binary update for Directshow Input Plugin ? Thanks for all the efforts |
 |
| phaeron |
| Posted: Feb 25 2012, 10:10 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Sorry, not yet. I haven't had the motivation to re-subject myself to the pain of trying to figure out another way to work around DirectShow's inherent brokenness. I do have some work in progress to allow the plugin to be configured without opening a file with it first, but it isn't quite ready. |
 |
| zaferk |
| Posted: Feb 29 2012, 11:26 PM |
 |
|
Member
 
Group: Members
Posts: 16
Member No.: 24131
Joined: 29-August 08

|
I can imagine how much pain it can be, since Directshow and DS filter management are sometimes messy and with unnecessary complication (from a simple graph user's point of view)... As always, 100s thanks for all the good work |
 |
| phaeron |
| Posted: Mar 3 2012, 04:46 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
It's not the complexity. I've done enough COM that I can connect everything together. The problem is that not everything is documented and not everything that is documented works as it's supposed to. The biggest problems I've had to fight are the upstream filters just suddenly stopping and not sending any more data, without me being able to know if any more is coming, and erratic timestamps. It's hard to do any sort of precise seeking and timing when audio timestamps are rounded to milliseconds and aren't monotonic.... |
 |
| dloneranger |
| Posted: Mar 5 2012, 06:27 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Here's something that might be a solution to the hang at the end of the video problem
FFDShow's latest change logs look like it might have been the culprit all along
| QUOTE | Changes (4366-4369): fixed infinite loop on seek to near the end of stream (regression on merging parser branch); fix seek and timestamps issue.
|
I've had a load of wmv's encoding while I was at work and haven't had a hang on any of them
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| phaeron |
| Posted: Mar 11 2012, 10:31 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Ooh, that looks very promising. I'm not having luck bringing up the SVN history -- does this regression date back to the Beta 7 release of ffdshow-tryouts? I haven't been using bleeding-edge builds so this would have had to have been a long-standing issue. |
 |
| dloneranger |
| Posted: Mar 11 2012, 11:23 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Hmmm, I'm not sure, I usually just check http://www.xvidvideo.ru/ for the latest changes, and that one jumped out at me So far it seems to have fixed about 50% of cases where ffdshow's doing the decoding I've been messing about with using the LAV splitter instead of Haali for mp4's etc and that's also been an improvement, especially for seeking speed But there's still a few files that just lock up on the last second or so
There's nothing to help nail it down though, they'll be different containers and codecs, so no 'Ah ha, it's aac in mp4s that cause it!!'
I just modded the plugin to have an option that removes the last 1 second of framecount from the source, and tbh that works well enough for me
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| jpsdr |
| Posted: Mar 13 2012, 06:11 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 335
Member No.: 20490
Joined: 23-December 06

|
Unfortunately, it seems it's something else. I've tried ffdshow 4374 with v0.91, and VDub lock up on the very first file of my batch process... So, roll back to v0.7 (or 0.6, don't remember exactly), and everything was fine. It could have been that, but unfortunately it's not... |
 |
| phaeron |
| Posted: Mar 16 2012, 11:31 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
I installed the latest ffdshow plugin built from SVN and was able to reproduce the hang -- it's caused by the plugin not stopping after an EndOfStream notification. It may have been triggered by a change in the ffdshow logic for returning the duration of a stream, possibly rounding up instead of down. I added a fix to 0.92. Still have to look into audio stuttering in some of my files though. |
 |
| dloneranger |
| Posted: Mar 18 2012, 01:47 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
I've had all my usual suspects running through with this version for the last 24 hours Not one single hang so far, so it seems promising
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| Romeor |
| Posted: Mar 19 2012, 05:13 PM |
 |
|
Newbie

Group: Members
Posts: 1
Member No.: 34527
Joined: 19-March 12

|
Hello,
i've installed latest VirtualDub and latest plugin, placed it in plugins64 directory and... nothing. cant select/open mts, m2ts, mkv files, if i select "all filetypes" and select the .mkv or .mt2s file, VD says, its not supported. With the previous VD and latest plugin i can't do this too. with the latest VD and some older (don't know the ver, sorry) plugin - it works, but only for 32 bit version. for 64 bit version with an older plugin it opens only some files. What could be the problem? |
 |
| suedti |
| Posted: Mar 24 2012, 09:02 AM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 34551
Joined: 24-March 12

|
Hi I put the last version of DShowInputDriver.vdplugin into plugin32 directory but doesn't appears when I select/open files. I don't know why. Older versions appears but can’t open wmv videos. |
 |
| phaeron |
| Posted: Mar 24 2012, 09:02 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Note that it is plugins32 and not plugin32, in case that wasn't a typo....
Are you folks at least seeing VirtualDub indicate that the plugin has loaded by the count in the status bar on startup? |
 |