PDA

View Full Version : Saving of a cutted film does not work (with save processing settings)


Alvy
20th September 2004, 08:57
Hello,
since VD 1.5.1 (or maybe some versions after) VDud or VDMod does not save those settings (on another windows installation it used to work but now even after reinstalling it doesn't).
I use Win2K SP4.

Here are vcf files of a film (opend, removed first 20000 frames, saves processing settings:

With VirtualDub 1.5.1
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.audio.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(20001,162986);


With VirtualDubMod 1.5.10 (same with VD 1.5.10 and 1.6)
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource(0x73647561,0);
VirtualDub.stream[0].DeleteComments(1);
VirtualDub.stream[0].AdjustChapters(1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();

---
Manually adding "VirtualDub.subset.AddRange(20001,162986);" to the 1.5.10 script does not help.

Has anybody an idea how I can get newer versions to work?

Alvy
20th September 2004, 09:11
Script of VD 1.6:
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(0);
VirtualDub.video.SetOutputFormat(0);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.audio.filters.Clear();


Loading the 1.51 script in VD 1.6 works (except color depth gets wrong).

rfmmars
21st September 2004, 07:11
Also there is many filters that don't save with the right information. I believe that the problem lies with the writer of the filter than with Virtualdub(xxx)

richard
www.photorecall.net

Alvy
21st September 2004, 09:00
So there is nothing I can do than using the old version?

In the meanwhile I found out that this change happend between VD 1.5.7 (works) and VD 1.5.9 (doesn't)(I don't have 1.5.8 to try).

Changes between:

Current build (1.5.8, stable):
[features added]
* DirectDraw support is disabled when Terminal Services
or Remote Desktop clients are detected to work around
a DirectX clipping bug.
* Re-enabled places bar on open and save dialogs.
* Disabled FPU state warning and made the fixup silent.
WAY too many drivers are screwing up the FPU unit.
* Edit lists can now be omitted from configuration
files without needing to close the source file.

[bugs fixed]
* Main window is disabled during MPEG-1 scan to prevent
crash if main window is closed.
* Previous-key and next-key movement commands were not
correct for B-frames in an MPEG-1 file.
* Fixed decoding of MPEG-1 B-frames at the start of
GOPs with broken_link set.
* Palette change blocks no longer appear as garbage
video streams. In-stream palette changes are still
not supported, however.
* biSizeImage was incorrect when using fast recompress
in YV12 mode.
* Sequence appends failing on the first file now throw
an error rather than a warning.

[regressions fixed]
* A race condition in the fast write code occasionally
resulted in spurious write errors.
* Fixed swapped 00db/00dc tags in AVI output.
* Fixed display of 8-bit paletted video.
* Program starts under Windows 95 again.


From 1.5.8 to 1.5.9 ?? haven't found anywhere (and no changelog in zip)

FreQi
27th September 2004, 18:44
When saving your processing settings, check the box for "Save ranges" or whatever it is at the bottom of the Save As dialog box. That'll preserve your AddRange()'s the next time you load processing settings. It'll be checked by defualt the next time you save.

Alvy
2nd October 2004, 09:49
Ahrg. I have never seen this box before.

Thank you :)

FreQi
4th October 2004, 03:47
I got lost with that myself when I first tried 1.5.x. You'll find it even more frustrating when you use 1.5.10. For some reason, it soen't apply your trim's to the AC3 when you demux it. Apparently the last verion that did that was in 1.5.4 for some reason.