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. |
2nd January 2020, 16:44 | #5023 | Link |
Registered User
Join Date: Nov 2019
Location: Venezuela
Posts: 2
|
Hello! I don't know if this hasn't really reported before but in case of not... (I google-searched it but found nothing else than a little post without reply).
For some reason in the latest release of AviSynthPlus (printerf version), when using Trim and Stack (Vertical/Horizontal), it does not Trim! All clips continue until longest clip is finished. Also for some reason, when using StackVertical(StackHorizontal(a,b),StackHorizontal(c,d)) to make 2x2 stacked videos, is the audio returned and not a! |
2nd January 2020, 18:02 | #5024 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Latest version is v3.4.0 (r2923), here:- https://github.com/AviSynth/AviSynthPlus/releases v3.4.0 is the latest stable until Pinterf publishes new one, some fixes are applied since then, but only in source, not in complied release. Here, Changes in v3.4.0:- https://forum.doom9.org/showthread.p...37#post1892037 Also, from post before "Changes" post, Quote:
[loads of users were downloading a 4 year old version of avs+ because it was linked in first post by Ultim]. That bug seems to have been fixed, I'm assuming that you are using Pinterf r2772-MT here[DONT USE, STILL HAS THE BUG]:- https://github.com/pinterf/AviSynthPlus/releases There were also a few test versions after r2772.
__________________
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 ??? Last edited by StainlessS; 2nd January 2020 at 18:04. |
||
2nd January 2020, 19:21 | #5025 | Link | |
Registered User
Join Date: Nov 2019
Location: Venezuela
Posts: 2
|
Quote:
|
|
2nd January 2020, 19:27 | #5026 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
While videohelp and avisynth.nl both point to the correct download areas and 3.4, the software infobox on the Wikipedia entry for AviSynth still points to r2772 and pinterf's repo, which is probably one source of continuing confusion and people grabbing r2772 instead of 3.4. I'm also not sure if the '(unofficial)' they've appended onto r2772 in the infobox is supposed to indicate that pinterf's builds weren't official x.x releases of Plus, or if it's more of an awkward way of saying Plus itself is 'unofficial' as related to Classic (given the 'preview release' is 2.6.1 Alpha). Granted, the entire lower half of that article is kind of a mess as well, but still.
|
3rd January 2020, 10:10 | #5027 | Link | |
Guest
Posts: n/a
|
Quote:
|
|
3rd January 2020, 16:21 | #5029 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Code:
Colorbars.convertToYV12 TemporalSoften(4,4,8,15,2) EDITED due to Wonkey_Monkey chiding.
__________________
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 ??? Last edited by StainlessS; 3rd January 2020 at 16:59. |
3rd January 2020, 19:23 | #5031 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
No, MinGW-w64/GCC builds are really just more for experimenting for the hell of it. Nothing to do with working better under Wine (which doesn't make much difference now, the VC 2015-2019 redist actually installs and gets used in Wine pretty easily).
|
3rd January 2020, 19:43 | #5032 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
Code:
AviSource("h:\Tape 1\capture_1.avi") converttoyv12(interlaced=true) assumeTFF() separatefields() temporalsoften(4,4,8,10,mode=2) fluxsmoothST(3,3) weave() assumefps(25) Edit: It also works when I put crop(2,0,-0,-0) before temporalsoften. (The frame then becomes 718x576). Edit2: It looks like temporalsoften must not be the first filter after separatefields() Last edited by Sharc; 3rd January 2020 at 20:18. |
|
4th January 2020, 01:23 | #5033 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
Should the following return false, given YUY2 is a 4:2:2 format? I can't see anything on the wiki to indicate YUY2 would be an exception.
Avisynth+ 3.4 Video = AnyEightBitSource Video = Video.ConvertToYUY2() return Is422(Video) Cheers. |
4th January 2020, 04:14 | #5034 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Is422 is for Planar formats. YUY2 isn't planar, and has its own special IsYUY2 function.
And http://avisynth.nl/index.php/Avisynthplus_color_formats shows the entire breakdown. |
4th January 2020, 04:59 | #5035 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,829
|
I assumed it must be an interleaved/planar related thing, but still, it would hurt if someone with Wiki access could add the "planar" qualification to the Is422() description to make it clear. http://avisynth.nl/index.php/Clip_properties
Thanks. PS. What about Is444()? Does it cover RGB formats too? It wouldn't be unreasonable to assume so. I'll test that one myself later. Last edited by hello_hello; 4th January 2020 at 05:06. |
4th January 2020, 12:04 | #5036 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Code:
# uncomment 1 #colorbars.ConverttoYV24 subtitle(String(Is444)) # true #colorbars.ConvertToPlanarRGB subtitle(String(Is444)) # false IsY, single plane luma (incl Y8). EDIT: Code:
Function IsAvsPlus() { FindStr(VersionString,"AviSynth+")!= 0||FindStr(VersionString," Neo")!=0 } Function AvsPlusVersionNumber() { IsAvsNeo?Eval(MidStr(VersionString,20,4)):IsAvsPlus?Eval(MidStr(VersionString,17,4)):0} Function IsAvs26() { VersionNumber>=2.6 } # Function X_PixelType(clip c) { c IsAvs26 ? PixelType : IsYV12?"YV12":IsYUY2?"YUY2":IsRGB32?"RGB32":"RGB24" } # Eg "RGB32" or "YUV420P10" Function X_IsYV411(clip c) { c IsAvs26 ? IsYV411 : False } Function X_IsY(clip c) { c IsAvsPlus ? IsY : IsAvs26 ? IsY8 : False } # True=Single Plane : (!IsRGB)=True = Any type with Y, YUY2/YUVA/Y8 etc. Function X_Is420(clip c) { c IsAvsPlus ? Is420 : IsYV12 } Function X_Is422(clip c) { c IsAvsPlus ? Is422 : False } # YUY2_Clip.Is422=False [ie not Planar] Function X_Is444(clip c) { c IsAvsPlus ? Is444 : IsAvs26 ? IsYV24 : False } Function X_IsRGB48(clip c) { c IsAvsPlus ? IsRGB48 : False } Function X_IsRGB64(clip c) { c IsAvsPlus ? IsRGB64 : False } Function X_HasAlpha(clip c) { c IsAvsPlus ? HasAlpha : IsRGB32 } Function X_NumComponents(clip c) { c IsAvsPlus ? NumComponents : IsAvs26&&IsY8 ? 1 : IsRGB32 ?4 : 3 } # Num of channels Function X_Bpc(clip c) { c IsAvsPlus ? BitsPerComponent : 8 } # Bits per channel, 32 = Float Function X_YMod(clip c) { c IsAvsPlus ? (NumComponents==1||IsRGB?1:Height/ExtractU.Height):(IsYV12 ?2:1) } # Y Min crop multiple for Progressive Function X_XMod(clip c) { c IsAvsPlus ? (NumComponents==1||IsRGB?1:Width/ExtractU.Width):IsAvs26?(IsYV411?4:IsY8||IsRGB?1:2):(IsRGB?1:2)} # X Min crop multiple
__________________
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 ??? Last edited by StainlessS; 4th January 2020 at 12:26. |
|
4th January 2020, 16:44 | #5037 | Link |
Guest
Posts: n/a
|
Thanks for the clarification! I don't want Wine on my main machine, but I might try it on an old rig at some point. Even if AviSynth+ were to run natively on Linux at some point, it occurs to me that some means of previewing scripts would be needed as well.
|
5th January 2020, 01:41 | #5038 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Previewing scripts is extremely trivial, libavformat just needs to be directed to look for AviSynth+ instead of AvxSynth (I have a patch locally to do that, even). But like I said, disabling/working around some of the Windows-specific bits means that the compiled libavisynth.so won't load.
|
5th January 2020, 11:55 | #5039 | Link |
Guest
Posts: n/a
|
It's great to hear that it would be trivial, but I've always used VDub or (occasionally) AvsPMod to preview AviSynth scripts, so its not obvious to me how redirecting libavformat would help. To be clear, the means of previewing the script wouldn't matter to me as long as I could step back and forth frame by frame and see the effect of changes. (Yes, I realize that at present this is all hypothetical and that there are Windows-specific parts that won't work.)
|
5th January 2020, 20:37 | #5040 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
It's not really hypothetical; it's already possible to do that right now* using AvxSynth. Because FFmpeg forms the backbone of practically every video tool of note on Linux, as long as the FFmpeg libraries the tool links against were built with --enable-avisynth, said tool should be able to open and play the scripts just fine so long as it doesn't restrict file extensions (ffplay and mpv have no problem playing scripts; VLC needs to let *.avs be an accepted extension for it to do so). Stepping frame-by-frame is possible in several of the more NLE-esque offerings (I tried with kdenlive; worked fine).
So swapping AvxSynth out for AviSynth+ basically just means the capabilities of the core library massively expand because of the significant differences between AviSynth 2.5.8 (what AvxSynth essentially is) and Plus. The main thing being that AviSynth+ is actually up-to-date, so there's a greater likelihood of newer tools being developed around it that don't have to be as hefty as a full NLE suite. Not to mention that very very few plugins were ever ported to AvxSynth, so AviSynth+ would just naturally attract more plugins getting ported. *read: since 2013, actually. Last edited by qyot27; 5th January 2020 at 20:40. |
|
|