Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th August 2017, 12:36   #321  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 370
Yes, entire "output pixel format" selection is a workaround for VFW codecs. VFW defines no protocol to find out what format codec "wants" as the input.
With updated codecs like x264 I move the format decision to codec itself so there is no need and possibility to repeat this selection in vdub gui.
In theory, I could also do it for the lagarith codec, but in reality I don't want to spend time on it. Btw what is the benefit of lagarith vs utvideo?

Maybe good idea to rename "autoselect" to something less misleading. For me "auto" sounds like "smart choice/do not touch".
__________________
VirtualDub FilterMod
shekh is offline   Reply With Quote
Old 26th August 2017, 15:36   #322  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 4,982
Quote:
Btw what is the benefit of lagarith vs utvideo?
Well one is much smaller file size where many duplicates (some kind of repeat frame flags).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace
StainlessS is offline   Reply With Quote
Old 30th August 2017, 20:55   #323  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 697
I ran into another problem, I have an old xvid+mp3 avi file, but the program is reporting as a mpeg4 stream and won't let me cut it with direct stream copy. I'm getting the error "The source video stream uses a compression algorithm which is not compatible with AV files". It works fine with the original Virtualdub.
lansing is online now   Reply With Quote
Old 30th August 2017, 21:13   #324  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 370
Just press ctrl+o (file->open) and change input driver to AVI. You will get the original direct copy behavior.
__________________
VirtualDub FilterMod
shekh is offline   Reply With Quote
Old 30th August 2017, 21:26   #325  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 697
Quote:
Originally Posted by shekh View Post
Just press ctrl+o (file->open) and change input driver to AVI. You will get the original direct copy behavior.
Ok it works now.
lansing is online now   Reply With Quote
Old 3rd September 2017, 02:43   #326  |  Link
angelxesone
Registered User
 
Join Date: Aug 2017
Posts: 1
Caching Driver uses too much RAM

Hi Shekh..hi all..

Is there an option to the caching input driver to limit the amount of RAM to be used, or maybe how many frames it can cache?

I keep reaching my max RAM when doing full encodes, and seeing "out of memory", "thread not cycling", "stuck when trying to abort" and other errors.

It keeps eating RAM even doing full encodes in batch mode, which if I remember reading somewhere, should disable the caching, CMIIW.

Also, using the caching driver, when opening different video files it shows different max RAM / frames to cache for each video. How is this calculated? My guess is it's about the GOP size or something, I don't really understand how it works, sorry. Sometimes it's as small as 100MB with 50 frames, and the largest I've seen is 6GB with 500 frames on UHD videos (on my 16GB RAM machine).

I'm sorry if this is a stupid question, but I've read this thread (albeit speedily) and I cant find an answer to my problem.

BTW I'm doing encodes on a few (old, I know) Windows Server 2008 with 4GB RAM each. And doing 4K UHD encodes is killing the memory after a few minutes.
Right now I'm back using avisynth and it works great on 8bit sources, even UHD ones. When I'm seeing 10bit sources... I'm stuck.
Also with the old Windows Server, compability problems arise when I'm searching for (modern) tools on video encoding. (even using win xp compatible x265 builds)

Thank you for any advice.
angelxesone is offline   Reply With Quote
Old 3rd September 2017, 03:12   #327  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 370
Actually I also run in trouble with some UHD, and thinking to add this option for max RAM. Currently the limit is based on total physical RAM and there is no way to change it.
It finds the maximum GOP length and assumes twice as much (but not less than 32) as desired cache size. Of course this caching is useless during encoding, but something prevents disabling it, I don't remember. Will look again.
__________________
VirtualDub FilterMod
shekh is offline   Reply With Quote
Old 17th September 2017, 22:41   #328  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 370
With new version the RAM used by input driver is much smaller. There is option for cache size (default is 0.5 Gb) and an option to disable cache per file.
Also the cache shrinks automatically during encoding operation.

Other news: DIB format support is expanded with P010, P016, v410, Y410, r210, R10k.
Test modes (Tools->Create test video) can create 16-bit color cube etc. Also with alpha.
New internal filter DrawText works with: RGB 8, RGB 16, YUV 8, YUV 16, 4:4:4, 4:2:2, 4:2:0, full range, limited range, ...

Changed behavior of preview.
Old (wrong) behavior:
1) during preview the time slider runs ahead of actual displayed frame (+2 frames or something).
2) when you stop preview, the displayed frame would catch up the timeline (therefore it never stopped where I wanted).
Now it is all nice.
__________________
VirtualDub FilterMod
shekh is offline   Reply With Quote
Old 18th September 2017, 07:40   #329  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,801


Optimization is always useful.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.