Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (19) « First ... 4 5 [6] 7 8 ... Last » ( Go to first unread post )
VirtualDub File Input Filter, how to create one
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Gromozeka
Posted: Oct 7 2007, 08:58 AM


Unregistered









fccHandler:
When i install wmv2 from ffdshow - virtualDub test 3 and test4 has open this wmv mellow.gif May be you must added decoder wmv1, wmv2 and wmv3 on your plugin?
 
  Top
KornX
  Posted: Oct 7 2007, 09:15 AM


Advanced Member


Group: Members
Posts: 41
Member No.: 2043
Joined: 18-January 03



QUOTE (fccHandler @ Oct 5 2007, 09:15 PM)
QUOTE (KornX @ Oct 5 2007, 02:44 PM)
are you planning a plugin for asf/wmv too?
Or some other formats?

Yes, you haven't been reading the thread. I've already started one for ASF/WMV. smile.gif


Me s´cusi!
But the questions with the other formats is still a little open!
I had imagined about wmv/asf, but some others also?
(I had kinda hoped 'bout evo smile.gif)

Enjoy the day,

KornX


--------------------
There are only 10 types of people;
Those who do and those who don't understand binary.
 
     Top
phaeron
Posted: Oct 7 2007, 06:35 PM


Virtualdub Developer


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



Hey guys, it's not fccHandler's job to write all of the input plugins. We need more people. smile.gif
 
    Top
pintcat
Posted: Oct 7 2007, 07:42 PM


Advanced Member


Group: Members
Posts: 142
Member No.: 18182
Joined: 19-February 06



True. Regarding the WMV plug-in, I've spotted a little bug when configuring a filter with a preview option. Once the option is enabled and you try to move the timeline in the small preview window to somewhere in the middle of the movie, VDub completely crashes and has to be forced to shut down. Same effect with the preview in the cropping window. Watching the video in the main window still works fine.
 
     Top
tateu
Posted: Oct 7 2007, 08:22 PM


Member


Group: Members
Posts: 17
Member No.: 22214
Joined: 7-October 07



QUOTE (phaeron @ Oct 7 2007, 06:35 PM)
Hey guys, it's not fccHandler's job to write all of the input plugins. We need more people. smile.gif

I've started porting my avisynth quicktime reader. It seems to be working...so far. I hope to have a test version ready within a week or so.
 
     Top
heustess
Posted: Oct 7 2007, 08:28 PM


Advanced Member


Group: Members
Posts: 67
Member No.: 21872
Joined: 5-August 07



QUOTE (phaeron @ Oct 7 2007, 06:35 PM)
Hey guys, it's not fccHandler's job to write all of the input plugins. We need more people. smile.gif

I certainly agree. However, would it be possible, fccHandler, to tell me what audio codec you have installed that allows you to play the audio in "Birthday Blues 1"? All the wmvs on my site have this type of audio and can be played in Windows Media Player but not in VirtualDub (even with all your great plugins).

--------------------
http://heustess.com/
 
      Top
fccHandler
Posted: Oct 7 2007, 08:40 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (pintcat @ Oct 7 2007, 03:42 PM)
I've spotted a little bug when configuring a filter with a preview option. Once the option is enabled and you try to move the timeline in the small preview window to somewhere in the middle of the movie, VDub completely crashes and has to be forced to shut down. Same effect with the preview in the cropping window.

I can't reproduce that. Although I did notice that the filter preview can be extremely slow when dragging the timeline pointer around, to the point where you might think it hanged.

I uploaded a new build today with some fixes:

http://fcchandler.home.comcast.net/Plugins/WMV/

If you're opening a WMV with VBR audio, you'll also need the VirtualDub 1.7.6 test4 build (previous page) which greatly improves the sync.

--------------------
May the FOURCC be with you...
 
     Top
fccHandler
Posted: Oct 7 2007, 08:50 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (heustess @ Oct 7 2007, 04:28 PM)
would it be possible, fccHandler, to tell me what audio codec you have installed that allows you to play the audio in "Birthday Blues 1"?

Except for AC3ACM, I only have the audio codecs which came with Windows XP Pro SP2. I've never installed any others myself. However, I did install Windows Media Player 10, and I know it added and changed a lot of things. Which version of WMP do you have installed?

When I open birthdayblues1.wmv in the new version of my WMV plugin, the information dialog says "Windows Media Audio V2 (0x0161)".

--------------------
May the FOURCC be with you...
 
     Top
phaeron
Posted: Oct 7 2007, 08:56 PM


Virtualdub Developer


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



I was able to reproduce the hang. What's happening is that the WMV plugin isn't setting the byte and sample count return values on a buffer-too-small error, which is causing the getFrame() routine to loop in some cases. I went ahead and changed the API to not require this as it's more consistent with AVIStreamRead() anyway. New version:

(deleted)

FYI, I had planned on releasing 1.7.6 this weekend to fix the nasty AMD64 crashes, but I'm going to hold this release until the input driver plugin API problems are worked out. Stay tuned for some updated docs, too.

Updated:
Test-5 pulled, still broken. Fixing

This post has been edited by phaeron on Oct 7 2007, 09:55 PM
 
    Top
fccHandler
Posted: Oct 7 2007, 09:03 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (phaeron @ Oct 7 2007, 04:56 PM)
the WMV plugin isn't setting the byte and sample count return values on a buffer-too-small error

That was actually one of the goofs I fixed in version 1.1, which is why I couldn't reproduce it.

--------------------
May the FOURCC be with you...
 
     Top
tateu
Posted: Oct 7 2007, 09:08 PM


Member


Group: Members
Posts: 17
Member No.: 22214
Joined: 7-October 07



Is there a permanent place available to store default preferences for our plugin, instead of opening a dialog box for every new video, such as adding a new option to Main Menu -> Options -> Preferences?
 
     Top
phaeron
Posted: Oct 7 2007, 09:40 PM


Virtualdub Developer


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



No. If the extended options checkbox is checked in the open dialog or SHIFT is held when a file is selected on the MRU list, however, your input plugin will get calls to its options dialog call just like the internal plugins do.
 
    Top
heustess
Posted: Oct 7 2007, 10:12 PM


Advanced Member


Group: Members
Posts: 67
Member No.: 21872
Joined: 5-August 07



@fccHandler:
I have WMP11 that came with Vista Home Premium. I installed Windows Media Encoder and your AC3ACM and WMV plugin only and could not play video or audio in VirtualDub. After installing Microsoft's Codecs Installation Package for Windows Media Video 9 VCM (wmv9VCMsetup.exe) I could play the video but not the audio in VirtualDub. Perhaps WMP9 or WMP10 has the missing audio codec. My WMV information says " Compression: Unknown tag 0x0161".

--------------------
http://heustess.com/
 
      Top
fccHandler
Posted: Oct 7 2007, 10:40 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



I believe the codec is msaud32.acm in my system32 folder. It has the same date as all of the original system files, so it probably came with Windows XP as part of Windows Media Player 9.

AFAIK, wmv9VCMsetup.exe only installs the video codec. But a Google search for "codecs installation package" brings up a lot of interesting links:

http://www.google.com/search?hl=en&safe=of...llation+package


everyone:
In other news, I just found out that neither of my plugins will work on Windows 98, due to a really stupid bug. I'll fix that in the next releases.

--------------------
May the FOURCC be with you...
 
     Top
phaeron
Posted: Oct 7 2007, 11:56 PM


Virtualdub Developer


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



Sheesh, let's try this again. New update for host and SDK:

http://www.virtualdub.org/beta/VirtualDub-...1.7.6-test6.zip
http://www.virtualdub.org/beta/VirtualDub-...test6-AMD64.zip
http://www.virtualdub.org/beta/VirtualDub-....6-test6-src.7z

http://www.virtualdub.org/beta/VDPluginSDK-0.6.zip

Test-6 fixes some rather nasty bugs in the streamGetFrame() path regarding null frames, which was causing all of the havoc in the filter preview. However, one consequence of the fixes is that I had to break the current version of fccHandler's MPEG-2 plugin (it periodically decodes duplicate frames). Here are the changes to watch out for:

  • The last parameter to IVDXVideoDecoder::DecodeFrame() was documented as a frame number -- it's actually a sample number. In addition, the render path was always passing down garbage for this value, which is now fixed.
  • Some code paths were passing empty samples to the decoder with the frame number as the sample number. Knowing the frame to decode for a null frame is necessary to handle B frame decoding, and this ended up being quite a mess because it meant that the video decoder had to do frame<->sample translation. The last two parameters to the decode call are now always the sample number, and -1 is passed for the sample number for the null case in order to distinguish it from a legitimate frame. This is the change that breaks the MPEG-2 plugin.
  • The render path was always passing preroll=false. (There may be a bit of speed improvement with MPEG formats as a result, due to omitted unnecessary framebuffer conversions when decoding I/P frames on the way to B frames.)
  • The path that the filter preview was using was not doing frame translation correctly. IVDXVideoDecoderModel::SetDesiredFrame() now always receives a sample number as documented.
  • TimeToPositionVBR() and PositionToTimeVBR() was documented as always being required -- this was false and the docs now say that they are only called if IsVBR() returns true.

 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
281 replies since Sep 25 2007, 05:43 AM Track this topic | Email this topic | Print this topic
Pages: (19) « First ... 4 5 [6] 7 8 ... Last »
<< Back to VirtualDub Filters and Filter Development