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. |
![]() |
#1241 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,872
|
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 |
![]() |
![]() |
![]() |
#1242 | Link |
Registered User
Join Date: Dec 2008
Posts: 2,159
|
avlib-1.vdplugin decodes in software mode.
__________________
MPC-BE 1.8.3 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1244 | Link |
German doom9/Gleitz SuMo
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.
|
![]() |
![]() |
![]() |
#1245 | Link |
Registered User
Join Date: Dec 2008
Posts: 2,159
|
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.
__________________
MPC-BE 1.8.3 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1247 | Link |
German doom9/Gleitz SuMo
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...
|
![]() |
![]() |
![]() |
#1248 | Link |
Registered User
Join Date: Dec 2008
Posts: 2,159
|
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.
__________________
MPC-BE 1.8.3 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1249 | Link |
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?) |
![]() |
![]() |
![]() |
#1250 | Link |
Big Bit Savings Now !
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..." |
![]() |
![]() |
![]() |
#1251 | Link |
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. |
![]() |
![]() |
![]() |
#1252 | Link |
German doom9/Gleitz SuMo
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. |
![]() |
![]() |
![]() |
#1253 | Link |
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. |
![]() |
![]() |
![]() |
#1254 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,872
|
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 |
![]() |
![]() |
![]() |
#1255 | Link |
Registered User
Join Date: Dec 2008
Posts: 2,159
|
I don’t confirm this.
__________________
MPC-BE 1.8.3 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1257 | Link |
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.
__________________
MPC-BE 1.8.3 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1258 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,180
|
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. Quote:
![]() Last edited by FranceBB; 13th March 2024 at 05:07. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|