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 13th January 2020, 23:09   #941  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,632
Yip, MagicUV and also UT_Video are great lossless codecs for AVI, and AVI is pretty much bulletproof as source clip [so long as you aint daft enough to use DivX/XVid],
you can spend a lot of time screwing around with non AVISource source filters, almost always less strain on the heart to first just convert to AVI via FFMPeg,
exception being DGIndex where is pretty damn solid too. [EDIT: 10 bit AVI may though still be problematic]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 14th January 2020, 00:33   #942  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
So, interesting development.

I took 15 minutes of footage, decided to just arbitrarily put in a huge file size (10GB) and then limit the frames to 7100 frames and run a segmented export.

It gave me four total segments. 3.19GB, 3.45GB, 3.80GB, and 155.56MB (respectively 4m:56s each, and 11 seconds)


So.... I guess there is no sanity check on that input box or something? Or maybe the wording on it just never got update
I did a stream copy so no idea if that influenced it at all.

Last edited by osgZach; 14th January 2020 at 00:38.
osgZach is offline   Reply With Quote
Old 14th January 2020, 06:20   #943  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 4,113
Quote:
Originally Posted by osgZach View Post
So, interesting development.

I took 15 minutes of footage, decided to just arbitrarily put in a huge file size (10GB) and then limit the frames to 7100 frames and run a segmented export.

It gave me four total segments. 3.19GB, 3.45GB, 3.80GB, and 155.56MB (respectively 4m:56s each, and 11 seconds)


So.... I guess there is no sanity check on that input box or something? Or maybe the wording on it just never got update
I did a stream copy so no idea if that influenced it at all.

Different types of content have different compression ratios

7100 frames of complex, noisy footage would be much larger than 7100 frames of 1 color black, for all types of compression schemes (lossy, lossless, I-frame, or long GOP)

Uncompressed video, however, will lead to the same filesize per frame
poisondeathray is offline   Reply With Quote
Old 14th January 2020, 07:18   #944  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
I think you've overlooked the context of the data.

As mentioned earlier, I output lossless MagicYUV files.
I requested a modification to the alleged 2GB file size limit on segmented AVI output - which it appears is not an actual limit after some further testing. I put 10GB on purpose to see if it would reject it or break the output in some way, and then I chose 7100 to make sure I got several segments over a 21k frame selection range.

osgZach is offline   Reply With Quote
Old 14th January 2020, 08:02   #945  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,037
I believe the 2 GB limit for legacy AVI is not related to FAT32 files, but to 32 bit chunk sizes in the AVI structure, which are often even interpreted as signed. OpenDML was the AVI 2.0 extension to circumvent this internal limit.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 15th January 2020, 06:13   #946  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,632
Makes sense, thanks LigH.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 16th January 2020, 04:06   #947  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
hmm ok, still seeing some weirdness here I guess.

I took a MagicYUV (M8Y0) input for a denoised Wrath of Khan I made a while ago, and gave it enough frames to split down the middle (58m15s both files). But when I try to open either of them in WMP, JRiver, etc it won't play. VLC says it has to rebuild the file index. Openinng with Vdub prompts an operation for "Reconstructing Index Block", it hangs for a bit, then throws out this warning



seeking around takes a few seconds to accomplish.

I can open an earlier aborted output just fine, because that file was only 500MB so I am guessing there may still be something to investigate with VDubs file splitting abilities. The only thing I did here aside from specify a large maximum frame per segment, was increasing the file size limit to 500GB I'll experiment with some lower values on the size limit to see if it has any weird influence on output errors.

Last edited by osgZach; 16th January 2020 at 04:10.
osgZach is offline   Reply With Quote
Old 16th January 2020, 10:20   #948  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,915
Sounds like VirtualDub just literally splits the file output, rather than creating two valid AVI files. The index would be in the second half (it's also always written on abort, I believe, making an aborted file valid), and the second half would not contain any headers.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 17th January 2020, 07:08   #949  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
Quote:
Originally Posted by wonkey_monkey View Post
Sounds like VirtualDub just literally splits the file output, rather than creating two valid AVI files. The index would be in the second half (it's also always written on abort, I believe, making an aborted file valid), and the second half would not contain any headers.
I don't think this is the case. I just set it to 2GB segment size and every single one outputs / loads fine independently outside of Vdub, even moved a single segment to another location and loaded without any hiccups.
I'm going to re-run the job I just with the messed up outputs when I go to bed and see what happens. Still hoping I just caused a glitch doing other stuff on the PC.
osgZach is offline   Reply With Quote
Old 17th January 2020, 17:37   #950  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
The magic number seems to be a segment size of 4096MB anything above this appears to produce index errors in all files, except for the final segment, if it is below that size.
osgZach is offline   Reply With Quote
Old 17th January 2020, 19:03   #951  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 740
There is error in file creation when using segments: odml header/index is disabled. Looks fixable
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 19th January 2020, 02:12   #952  |  Link
osgZach
Registered User
 
Join Date: Feb 2009
Location: USA
Posts: 680
I've been testing out a fixed build provided by shekh, and it appears to work well.

I am also currently investigating my work flow to try and determine where and how an extra frame was inserted into a video stream (at the end). I will report back here when I have some findings. I vaguely recall confusion about the way vdub reports an extra frame in the past - or perhaps I am misremembering?
osgZach is offline   Reply With Quote
Old 27th January 2020, 21:26   #953  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,194
Bug reporting, setting in preference doesn't save unless I explicitly clicked "save". Clicking "ok" after changes doesn't save.
lansing is offline   Reply With Quote
Old 28th January 2020, 08:30   #954  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 740
Quote:
Originally Posted by lansing View Post
Bug reporting, setting in preference doesn't save unless I explicitly clicked "save". Clicking "ok" after changes doesn't save.
This is the purpose of "save". Not a bug
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 28th January 2020, 10:33   #955  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,915
I would say it is outdated/unexpected behaiour, though. These days an "OK" is expected to save and for those changes to persist. That's if there is even an "OK" to begin with, since even that seems to be falling out of fashion these days.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 28th January 2020, 11:30   #956  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 740
Quote:
Originally Posted by wonkey_monkey View Post
I would say it is outdated/unexpected behaiour, though. These days an "OK" is expected to save and for those changes to persist. That's if there is even an "OK" to begin with, since even that seems to be falling out of fashion these days.
This project has deep roots in legacy and software archeology
Anyway, thanks for suggestion.
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 28th January 2020, 11:47   #957  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,194
Quote:
Originally Posted by shekh View Post
This is the purpose of "save". Not a bug
But then why does the setting change get "remembered" for that instance of the program and not after I close and reopen the app?
lansing is offline   Reply With Quote
Old 28th January 2020, 13:08   #958  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 740
Quote:
Originally Posted by lansing View Post
But then why does the setting change get "remembered" for that instance of the program and not after I close and reopen the app?
Exactly, to let you use the setting "now" while keeping the saved preferences unchanged (for someone paranoid about making global changes?).
I made it worse with this feature: https://sourceforge.net/p/vdfiltermod/wiki/vdscript/
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 28th January 2020, 13:41   #959  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,194
Quote:
Originally Posted by shekh View Post
Exactly, to let you use the setting "now" while keeping the saved preferences unchanged (for someone paranoid about making global changes?).
That does not make any sense. Why would anyone making a change in setting scared about making changes? If anyone is scared about messing up, there can be a "restore default" button.
lansing is offline   Reply With Quote
Old 14th March 2020, 01:06   #960  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 686
Feature request:

When rendering video from YUV to RGB on the UI, is there a place for me to select which colormatrix to use for the input pane?

Imported a BT.2020 YUV420P16 avs clip, and the color displayed seems to be either 601 or 709 matrix.

Hopefully there's an option to select the correct colormatrix.

I'm perfectly fine with a context menu to pick 2020 every time I load a clip. But if this has already been implemented somewhere, please kindly let me know.

Edit: It seems Decoding Format is what I was looking for. Still, 2020 could be added to the input color space.

Last edited by MeteorRain; 14th March 2020 at 04:18.
MeteorRain 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 04:31.


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