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: (14) [1] 2 3 ... Last » ( Go to first unread post )
Test Thread: Virtualdub 1.7.x, 1.7.X?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
phaeron
Posted: Oct 17 2007, 05:26 AM


Virtualdub Developer


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



Note: VirtualDub 1.7.X is now live as 1.8.0 experimental -- please use the released version until the 1.8.1 test thread is launched!

Alright, enough of this "stable" crap. Time to show what I've been working on in the other branch. smile.gif

Why's it called 1.7.X? Because I don't know when it'll be released. So far, it looks like it'll be at least 1.7.8.

Notable new features in this version:

  • Video filters can now access video frames out of order and can change frame rate. There is still no support for multiple source frames yet, but this does allow for bob deinterlacing filters.
  • Multiple audio streams are now supported -- the source audio option is now a submenu. For those of you writing input drivers, hopefully you checked the stream number in GetAudioStream()....
  • The WAV audio option is now an "audio from other file" option, and can take video files that have audio tracks as well. Now we get to see which input drivers are reentrant. smile.gif
  • There are now internal decoders for A-law, mu-law, MPEG layer II, and MPEG layer III audio, for when external audio codecs aren't available for those formats. Prioritization relative to audio codecs can be controlled in Preferences, AVI. (This was requested for the AMD64 build, but it is available in the X86 build as well.)
  • True VBR audio read/write support, including direct mode. The warning's still there right now, but it will most likely go away. This is not yet available to input driver plugins since I haven't added API extensions for it, so input drivers returning IsVBR()==true will still use "psuedo-VBR" mode.
  • MP3 files can be used directly. Right now this always uses VBR mode, although I plan to add CBR mode support (actually, it's there, but I don't have a way to enable it yet). Also, this is only active if you have a bare MP3 stream -- if it's a WAV file, the WAV handler currently handles it.


Please include all feedback in this thread.
 
    Top
fccHandler
Posted: Oct 17 2007, 05:41 AM


Administrator n00b


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



Wow, that looks fun. I'll goof around with it tomorrow (I'm pretty beaten tonight). Thanks! smile.gif

--------------------
May the FOURCC be with you...
 
     Top
Placio74
Posted: Oct 17 2007, 06:19 AM


VideoAudio


Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07



That's great!
Thank you very match.

--------------------
VideoAudio.pl - Serwis o technologii wideo & audio
 
     Top
XYZ
Posted: Oct 17 2007, 12:00 PM


Advanced Member


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



I have been waiting for this very long time. Thank you very much! I just have few notices, if you don't mind.

- To eliminate a need for VirtualDubMod, it would be nice if you implement at least same options for audio stream manipulation as VirtualDubMod. So, there is missing Add/Delete stream (you have only a replace possibility). Not to mention that your demultiplexer is not logically organized, it is in wrong menu (File / Export / Raw audio), and not giving proper file extension depending of content.

- File / File Information show characteristics only for first audio stream, even if I choose second one in Audio / Source audio.

- When I open AVI file, I get warning message about VBR, even when audio is uncompressed PCM (1.7.6 version don't display warning message with same AVI file).

- If I try to append AVI files with two audio streams - VD crash. I have tried 3 different AVI files, each of them is spllited on 2 or 3 parts, and VD crash with every one. VirtualDubMod works fine with two of them, and with one of them it displays error message about different audio formats but it not crash (AVI-Mux GUI correctly joins even this one). If you wish, I can paste crashinfo file here.

Anyway, this is really great what you did. Thanks again.
 
     Top
neuron2
Posted: Oct 17 2007, 12:49 PM


Advanced Member


Group: Members
Posts: 1244
Member No.: 5294
Joined: 18-July 03



.
 
    Top
FievelMousey
Posted: Oct 17 2007, 08:12 PM


Member


Group: Members
Posts: 11
Member No.: 22153
Joined: 25-September 07



I get a error that this one caint capture video to AVI what up with that.


Looks like its not switching over to codecs usable only in capture mode. It is showing all looks like as it does when recompressing video in non capture mode.
 
     Top
Moitah
Posted: Oct 17 2007, 11:18 PM


Advanced Member


Group: Members
Posts: 210
Member No.: 8955
Joined: 20-February 04



I modified the FLV and WMV plugins to return false for GetVideoSource and set mFlags to VDInputDriverDefinition::kFlagSupportsVideo | VDInputDriverDefinition::kFlagSupportsAudio. When I do File > Open video file and pick the file, VirtualDub crashes with both instead of saying File does not have a video stream. Also when I do Audio > Audio from other file and pick a FLV/WMV, VirtualDub crashes when I click play.

BTW the 0.6 SDK documentation for kFlagSupportsAudio says:
This indicates to the host that this plugin should be included in features that load files for video.

All these new features are great, nice work.
 
      Top
neuron2
Posted: Oct 18 2007, 12:53 PM


Advanced Member


Group: Members
Posts: 1244
Member No.: 5294
Joined: 18-July 03



.
 
    Top
phaeron
Posted: Oct 19 2007, 05:06 AM


Virtualdub Developer


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



Sorry, been slammed with work the past couple of days. Thanks for all the great feedback so far, though!

I rewrote the AVI index code pretty heavily in 1.7.X, so it's got some bugs... that's what's fouling append, and large AVIs have issues too. Working on getting those fixed (and some proper unit tests in place).

Capture not working, crash with no-video file: Will be fixed in next drop.

There are no docs for the new filter features yet, because it isn't finalized and I haven't had a chance to update the docs properly (I'd like to merge it into the plugin SDK). The updated header is in src\h\vd2\plugin\vdvideofiltold.h. These are the pertinent definitions:

CODE

#define VIRTUALDUB_FILTERDEF_VERSION  (12)

typedef sint64 (*FilterPrefetch   )(const FilterActivation *fa, const FilterFunctions *ff, sint64 frame);

typedef struct FilterDefinition {
...
FilterDeserialize deserializeProc;
FilterCopy   copyProc;

FilterPrefetch  prefetchProc;  // (V12)
} FilterDefinition;

class VFBitmap {
public:
...
DWORD dwFlags;
HDC  hdc;

uint32 mFrameRateHi;  // Frame rate numerator (V12)
uint32 mFrameRateLo;  // Frame rate denominator (V12)
sint64 mFrameCount;  // Frame count; -1 if unlimited or indeterminate (V12)
...
};


The key is that paramProc can change the FrameRateLo/Hi/Count fields in the fa->dst structure, if the API version is at least V12. This causes the frame rate and/or length of the output stream to change. There is also a new prefetchProc that allows greater control over the source frame associated with each output frame. If prefetchProc is not supplied, the source frame is assumed to be the one with the closest mid-frame timestamp to that of the output frame.
 
    Top
fccHandler
Posted: Oct 19 2007, 07:03 PM


Administrator n00b


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



As a test, I modified my MPEG-2 plugin by adding kFlagSupportsAudio, so it appears in the "audio from other file" dialog. Then I started 1.7.X and opened an MPEG-2 movie. Then I used the "audio from other file" dialog to load the audio from another MPEG-2 movie. It all seemed to work well, until I tried to quit VirtualDub. Here's the crashlog:

http://fcchandler.home.comcast.net/crash.zip

(The zip includes a debug build of the MPEG-2 plugin with kFlagSupportsAudio turned on.)

The crash only happens if I quit with the audio file still open. If I select "no audio" to release the audio file, then it doesn't crash when I quit.

--------------------
May the FOURCC be with you...
 
     Top
dum
Posted: Oct 19 2007, 11:02 PM


Newbie


Group: Members
Posts: 4
Member No.: 22268
Joined: 19-October 07



Thanx a lot!!! You are making a great tool for us!
 
     Top
fccHandler
Posted: Oct 20 2007, 06:21 AM


Administrator n00b


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



Since we're being all experimental and stuff, here is an experimental version of MPEG2X plugin 2.0, which tries to take advantage of some of the new features of VirtualDub 1.7.X:

http://fcchandler.home.comcast.net/Plugins...EG2X/MPEG2X.zip
http://fcchandler.home.comcast.net/Plugins...EG2X-source.zip

There is no "choose audio" dialog anymore. Instead, all supported audio streams (MPEG, AC-3, and LPCM) are parsed and presented to the 1.7.X host upon request. Indexing still works (I think). I haven't tested jobs yet. Crash reports, bugs, and/or suggestions for improvement are all welcome. smile.gif


@phaeron:
Something I found lacking in 1.7.X is a method for the plugin to determine which audio stream is currently selected in VirtualDub, so it can display that stream's properties in its File Information dialog.

--------------------
May the FOURCC be with you...
 
     Top
phaeron
Posted: Oct 20 2007, 07:38 AM


Virtualdub Developer


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



New drop with bug fixes:

http://www.virtualdub.org/beta/VirtualDub-...1.7.X-test2.zip
http://www.virtualdub.org/beta/VirtualDub-...test2-AMD64.zip
http://www.virtualdub.org/beta/VirtualDub-....X-test2-src.7z
 
    Top
Gromozeka
Posted: Oct 20 2007, 10:48 AM


Unregistered









Audio file not play!
Audio is from vob - ac3
 
  Top
Placio74
Posted: Oct 20 2007, 11:34 AM


VideoAudio


Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07



QUOTE (Gromozeka @ Oct 20 2007, 10:48 AM)
Audio file not play!
Audio is from vob - ac3

You have installed AC3 ACM codec?

VirtualDub-1.7.X-test2, MPEG2X plugin and AC-3 ACM Codec - i'm can play and hear AC3 audio (contain in VOB) without any problems...

--------------------
VideoAudio.pl - Serwis o technologii wideo & audio
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
196 replies since Oct 17 2007, 05:26 AM Track this topic | Email this topic | Print this topic
Pages: (14) [1] 2 3 ... Last »
<< Back to Testing / Bug Reports