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 ... 13 14 [15] 16 17 ... 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
foxidrive
Posted: Oct 18 2007, 03:22 PM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



.idx is used for indexes on squillions of programs - is there an issue with using it in the plugin?
 
    Top
fccHandler
Posted: Oct 18 2007, 05:22 PM


Administrator n00b


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



@ale5000:
I'm open to suggestions.

The current index code is a mess, and after that business with the crashing and the hidden packet entries, I've decided that I have to find a better way to do this. I have some new code up and running, which I'll post as soon as I put it through some fair testing.

The biggest improvement is in memory usage. MPEGPacketInfo is now 8 bytes (down from 16) per packet, and MPEGSampleInfo is 12 bytes (down from 16) per sample.

Unfortunately this will again break all the previous .idx versions... rolleyes.gif

--------------------
May the FOURCC be with you...
 
     Top
fccHandler
Posted: Oct 19 2007, 07:36 AM


Administrator n00b


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



MPEG-2 plugin version 1.9:
http://fcchandler.home.comcast.net/Plugins/MPEG2

--------------------
May the FOURCC be with you...
 
     Top
Gromozeka
Posted: Oct 19 2007, 03:29 PM


Unregistered









fccHandler
QUOTE
MPEG-2 plugin version 1.9:
http://fcchandler.home.comcast.net/Plugins/MPEG2


Thanks! smile.gif

Can be Avery will make work with two audiopaths in virtualDub? As in VirtualDubMod? rolleyes.gif
 
  Top
XYZ
Posted: Oct 19 2007, 03:50 PM


Advanced Member


Group: Members
Posts: 48
Member No.: 22012
Joined: 27-August 07



QUOTE (Gromozeka @ Oct 19 2007, 03:29 PM)
Can be Avery will make work with two audiopaths in virtualDub? As in VirtualDubMod?

Don't you read other forums?

http://forums.virtualdub.org/index.php?act...ST&f=15&t=14715
 
     Top
Gromozeka
Posted: Oct 20 2007, 07:16 AM


Unregistered









biggrin.gif Thanks
 
  Top
ale5000
Posted: Oct 22 2007, 09:25 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



@fccHandler: The current extension looks good, it is the abbreviation of mpeg index. biggrin.gif

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
DarrellS
Posted: Oct 24 2007, 04:30 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Get "CodecMissing" when opening WMV2 in Virtualdub 1.7.6x3 with fccHandler's WMV plugin. Audio plays but no video.

Is this because there is no VFW codec for WMV1 and WMV2?

Thanks for all the work. Virtualdub is really growing up.


EDIT: set ffdshow video codec in VDub to use WMV9 to open WMV7 & WMV8 and now it opens.
 
     Top
DarrellS
Posted: Oct 24 2007, 07:28 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Not that I use Real Media but is there a real media input plugin in the works or is it too messed up of a format to even bother with?
 
     Top
fccHandler
Posted: Oct 24 2007, 11:03 PM


Administrator n00b


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



The RealMedia format isn't too bad, but (like WMV and FLV) it doesn't have a fixed frame rate, and that's always a problem. Codecs might also be a problem. The answer to your question is yes, I'm kinda toying with it, but I don't know yet if it's really going to work.

--------------------
May the FOURCC be with you...
 
     Top
DarrellS
Posted: Oct 25 2007, 02:17 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Thanks.

I usually use TMPGEnc for the WMV files since it usually doesn't cause any sync problems converting to mpeg but it's good to able to open them and any other format in Virtualdub if you want. There are times when putting a different sound track to these formats and converting to AVI is desirable and sometimes you get lucky with one of these files if it was created close to a normal framerate and it will turn out fine.

Thanks for all your hard work.
 
     Top
fccHandler
Posted: Oct 25 2007, 05:34 AM


Administrator n00b


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



Well, I hate to say it, but it doesn't look like this is going to work. The problem is the codec. I've come far enough to where I can extract a single keyframe from one of my .rm files, but I'm not finding a way to decompress it.

I did my best to create correct BITMAPINFOHEADERS for 'RV20' and RGB24, and to my surprise ICLocate() succeeded. It gave me a handle to ffdshow-tryouts libavcodec. Unfortunately the VFW configuration for ffdshow warns that their RV20 codec is "incomplete," and that does indeed seem to be the case. It just crashes when I send it my keyframe.

Unless I can find a solution for this, my RealMedia plugin is doomed from the start. Damn. sad.gif

--------------------
May the FOURCC be with you...
 
     Top
goodone91
  Posted: Oct 25 2007, 11:36 AM


Advanced Member


Group: Members
Posts: 31
Member No.: 21962
Joined: 21-August 07



If ffdshow is open-source, can't you mod it?
 
     Top
tateu
Posted: Oct 25 2007, 04:57 PM


Member


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



QUOTE (fccHandler @ Oct 24 2007, 10:34 PM)
I did my best to create correct BITMAPINFOHEADERS for 'RV20' and RGB24, and to my surprise ICLocate() succeeded.  It gave me a handle to ffdshow-tryouts libavcodec.

I've run into a similar problem trying to use FFDShow's h264 decoder on data from quicktime files. ICLocate succeeds but ICDecompress fails. FFMpeg can decode the exact same data, though.

I don't think I'm the one to do it...though I do have a partially working filter already for video only...but an FFMpeg input filter would be nice. My test seems to work for quite a few mkv, flv, mov, mp4, wmv, ogg, mpg and rm (RV10 + RV20, not RV30 or RV40) files...except for seeking and I'm not really sure what it does with variable frame stuff. It also just outright crashes on quite a number of files. I think getting a fully working filter is beyond my capabilities.
 
     Top
fccHandler
Posted: Oct 25 2007, 06:22 PM


Administrator n00b


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



QUOTE (goodone91 @ Oct 25 2007, 07:36 AM)
If ffdshow is open-source, can't you mod it?

Yeah, but I don't know how to fix it. I only know how to parse the file format (container). I don't know anything about the Real Video codecs. That's supposed to be ffdshow's job.


QUOTE (tateu @ Oct 25 2007, 12:57 PM)
I've run into a similar problem trying to use FFDShow's h264 decoder on data from quicktime files.  ICLocate succeeds but ICDecompress fails. FFMpeg can decode the exact same data, though.

What I found out today is that ffdshow's DirectShow RV20 decoder works; only the VFW codec crashes. There are different approaches to RV in all of the open source projects I've looked at (ffdshow, realmediasplitter, ffmpeg, and mplayer), and they seem to be using different builds of libavcodec. The RV20 decoder in ffmpeg is quite different from the RV20 decoder in mplayer, and both are different from the ones in ffdshow, and so on. What a mess.

This is turning into way more trouble than I anticipated, so I'm going to put it aside for now. I may come back to it some day, but right now I want to go back to trying to fix the sync issues in my WMV plugin.

--------------------
May the FOURCC be with you...
 
     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 ... 13 14 [15] 16 17 ... Last »
<< Back to VirtualDub Filters and Filter Development