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 21st February 2024, 09:53   #1241  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,872
Quote:
Originally Posted by v0lt View Post
I don't have this problem with the latest test build.
After having tested your last build for some days, I can say that it works really well, with AVS scripts as well.

Thank you!

Does it decode video in hw or sw? I have noticed some stuttering when scrolling backward.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd February 2024, 20:18   #1242  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
Quote:
Originally Posted by tormento View Post
Does it decode video in hw or sw? I have noticed some stuttering when scrolling backward.
avlib-1.vdplugin decodes in software mode.
v0lt is online now   Reply With Quote
Old 28th February 2024, 14:39   #1243  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,872
Quote:
Originally Posted by v0lt View Post
avlib-1.vdplugin decodes in software mode.
Can you do something for reverse frame by frame (left arrow)?

It's so slow compared to forward mode.

Try with hevc.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 28th February 2024, 14:58   #1244  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,175
That would require the caching of the whole GOP decoding sequence of P frames from the previous IDR frame to your current "mini GOP" of B frames between the surrounding I/P frames. That would cost a lot of RAM and a serious amount of code.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th February 2024, 15:20   #1245  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
Quote:
Originally Posted by tormento View Post
Can you do something for reverse frame by frame (left arrow)?
I'm updating FFmpeg and fixing bugs that appeared after the update. I do not plan to change the functionality of the plugin; I do not have the time and competence for this.
v0lt is online now   Reply With Quote
Old 28th February 2024, 15:34   #1246  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,872
Quote:
Originally Posted by LigH View Post
That would require the caching of the whole GOP decoding sequence of P frames from the previous IDR frame to your current "mini GOP" of B frames between the surrounding I/P frames. That would cost a lot of RAM and a serious amount of code.
The "old" VirtualDub2 isn't so slow.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 28th February 2024, 20:09   #1247  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,175
But it uses a severely outdated ffmpeg version with a different set of interface functions. Well possible that to make it support modern A/V formats better, some features had to be implemented in a different way, and to make full use of those, we would need a specialist in ffmpeg APIs in different major versions...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 29th February 2024, 19:28   #1248  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
Quote:
Originally Posted by tormento View Post
The "old" VirtualDub2 isn't so slow.
I didn't see much difference. Moving backward within the current GOP is fast, but there is a slight delay when moving to an earlier GOP. This is the same for old and new avlib-1.vdplugin.

If you have a very large distance between keyframes, then you can try increasing the cache size in the "Cashing input driver" settings. By default there is 0.5 GB.
v0lt is online now   Reply With Quote
Old 29th February 2024, 20:59   #1249  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 242
Using ffmpeg as frameserver possible?

First of all:
I never touched that frameserving thing;
I only now that VD2 may use AviSynth as frameserver and by this
may use AviSynth's very special filters.

Now I came to the point of using an ffmpeg filter and
do further manipulation in VD2.
I did this using an intermediate lossless file.
Not so nice.

So I wonder... if someone can drop some info about frameserving
from ffmpeg to VD2.
(Or is there a different way of using an ffmpeg filter in VD2?)
nji is offline   Reply With Quote
Old 3rd March 2024, 17:38   #1250  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,841
1. Make an empty .avs.
2. It will be an one-liner. Call your desired ffmpeg-based source filter
http://avisynth.nl/index.php/FFmpegSource
FFmpegSource2("<yourpathhere>")
OR
http://avisynth.nl/index.php/LSMASHSource
LWLibavVideoSource("<yourpathhere>")
3. Drag and drop your .avs onto VD, may it be VD shortcut or open VD window.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 3rd March 2024, 18:51   #1251  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 242
Thanks for your help.

Still you got me wrong:
By "ffmpeg filter" I didn't mean source filter (just to open a file with ffmpeg),
but moreover an ffmpeg manipulation filter. For example:

Open movie and deinterlace it - then pass to VD.
nji is offline   Reply With Quote
Old 4th March 2024, 14:14   #1252  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,175
Avisynth is indeed a frameserver which does a lot more than just serve frames from a supported source media format to an application which would usually only ask Windows to handle an AVI file. The real power is in all the core functions and plugins which allow manipulation of the video between opening the input and serving the output.

Many of the filters available in ffmpeg are also available in Avisynth and its plugins (either exactly the same or almost identical). And even more. So you don't actually need to cling to ffmpeg, you may just have to find the analog (or even better) filters in Avisynth.

I guess we could explain it better when you can provide a more or less complex example of what you are used to do in ffmpeg, so we can translate it to an equivalent Avisynth script. And this may even go beyond the topic of this thread... VirtualDub(2) does not really need to care how it receives its material, only that it is in a compatible uncompressed format which can be forwarded to the encoders it supports.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th March 2024, 07:07   #1253  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
VirtualDub2 x64 with updated avlib-1.vdplugin (ffmpeg 6.1.1 test 12)
Alternative link
Fixed a crash when calling RunNullVideoPass().
VirtualDub2 has been rebuilt in Visual Studio 2019.

Source code:
https://github.com/v0lt/VirtualDub2
https://github.com/v0lt/avlib_vdplugin

Last edited by v0lt; 8th March 2024 at 07:27.
v0lt is online now   Reply With Quote
Old 10th March 2024, 17:07   #1254  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,872
Quote:
Originally Posted by v0lt View Post
Fixed a crash when
Dunno if it happened with previous versions too but I can't jump to keyframes in a video, both with shortcut and with key buttons. It simply jumps to the end or the beginning of the video.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 11th March 2024, 19:37   #1255  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
Quote:
Originally Posted by tormento View Post
Dunno if it happened with previous versions too but I can't jump to keyframes in a video, both with shortcut and with key buttons.
I don’t confirm this.
v0lt is online now   Reply With Quote
Old 11th March 2024, 21:25   #1256  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,872
Quote:
Originally Posted by v0lt View Post
I don’t confirm this.
Try with a mkv.

I can send you a video clip of the issue.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 12th March 2024, 15:28   #1257  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,159
VirtualDub2 x64 with updated avlib-1.vdplugin (ffmpeg 6.1.1 test 13)
Alternative link
Fixed reading of key frames for MKV.
v0lt is online now   Reply With Quote
Old 13th March 2024, 05:04   #1258  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,180
Quote:
Originally Posted by kedautinh12 View Post
Vapoursynth users
He's not a VapourSynth supporter, he's an ffmpeg one.
Sadly most ffmpeg Devs are rude and not polite.
The fact that he's adding a derogatory comment against Avisynth like that in this VirtualDub topic just demonstrates it as it doesn't bring anything to the conversation and it's done only to instigate an argument.
The remarks he made are downright disrespectful to the people who spent time on this amazing frameserver.
That being said, VirtualDub and Avisynth have always worked together and I would imagine that they will keep doing so for years to come.
Besides, facts are that we can do 32bit float YUV calculations in Avisynth and we've been able to do that for almost 10 years while his beloved FFMpeg can't go past 16bit planar, so before attacking other frameserver he should be checking his own.


Thanks for the new version, I'll test it tomorrow.

Last edited by FranceBB; 13th March 2024 at 05:07.
FranceBB is offline   Reply With Quote
Old 21st March 2024, 23:32   #1259  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,562
Quote:
Originally Posted by richardpl View Post
Avisynth is low quality plugin and code dumpster, do not use it.
Struck for rule 2. Ignore richardpl and his pot-stirring, it's a weak troll.

Last edited by foxyshadis; 12th April 2024 at 00:30.
foxyshadis is offline   Reply With Quote
Old 28th March 2024, 09:29   #1260  |  Link
SkilledAbbot
Registered User
 
SkilledAbbot's Avatar
 
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 26
Moderate as necessary, but just dropping in to say, thank you to the entire Vdub history. I still use as of right now since 2002. And If that is link to newer version, can't wait to try it out.
__________________
---

My Photo Blog
SkilledAbbot 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 15:08.


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