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 > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2019, 22:44   #2441  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,932
And L-SMASH Works too... ah, sorry, off-topic
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th March 2019, 10:42   #2442  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
Thx for compiling ffms2 with dav1d. Sadly the decoding of av1 files looks broken. pink blocks etc.
But I get 200fps with dav1d and no seeking issues xD
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository

Last edited by ChaosKing; 5th March 2019 at 10:49.
ChaosKing is online now   Reply With Quote
Old 5th March 2019, 11:03   #2443  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
https://forum.doom9.org/showthread.p...94#post1866894
Looks fine with libaom. But I can't be sure that rav1e produced 100% valid encodes.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 5th March 2019, 18:59   #2444  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
I made an encode with the linked rav1e.exe: The image just "freezes" after ~20 frames with dav1d (but no pink blocks anymore). No problems with libaom. So is it a decoder or encoder issue?
https://www.dropbox.com/s/2dznywf410...b_180.ivf?dl=1
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 5th March 2019, 19:09   #2445  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,478
The sample decodes fine through ffmpeg and ffplay with libdav1d 0.2.0.
sneaker_ger is offline   Reply With Quote
Old 5th March 2019, 22:14   #2446  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,062
It might be related to this PR that has to do with fixing FFMS2's handling of VP9; the most recent note is that fixing the PR is probably needed for AV1 now too.

Read: it may have nothing to do with the encoder or the decoder, but about the ability of FFMS2 to use the FFmpeg API to parse the bitstream in the correct way, and certain encoder/decoder combinations expose errant behavior in the parser. This would explain why ffplay (or mpv) works fine on the same sample and the same build of libdav1d that FFMS2 uses, but FFMS2 exhibits problems.
qyot27 is offline   Reply With Quote
Old 6th March 2019, 05:34   #2447  |  Link
masterkivat
Registered User
 
Join Date: Dec 2008
Location: Brazil
Posts: 21
Quote:
Originally Posted by Wolfberry View Post
ffms2-7c36121-win64

Libraries:
FFmpeg 4.2-dev-93293-gdb332832a1
libdav1d 0.2.1-e29cb9af
libvpx 1.8.0-198-gaba995832
libxml2 2.9.9
openssl 1.1.1b


Thanks HolyWu for the meson build system
this can be used on Vapoursynth? (like, renaming libffms2.dll to ffms2.dll and put on 'plugins64'?)
masterkivat is offline   Reply With Quote
Old 6th March 2019, 08:24   #2448  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
Quote:
Originally Posted by masterkivat View Post
this can be used on Vapoursynth? (like, renaming libffms2.dll to ffms2.dll and put on 'plugins64'?)
Yes, it even works without renaming.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 6th March 2019, 09:38   #2449  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
No decoding issues with this build. I get 66fps. With the previous build https://forum.doom9.org/showthread.p...11#post1866411 it's under 40fps, so a nice increase at least!
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 11th March 2019, 04:19   #2450  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,062
Quote:
Originally Posted by qyot27 View Post
It might be related to this PR that has to do with fixing FFMS2's handling of VP9; the most recent note is that fixing the PR is probably needed for AV1 now too.

Read: it may have nothing to do with the encoder or the decoder, but about the ability of FFMS2 to use the FFmpeg API to parse the bitstream in the correct way, and certain encoder/decoder combinations expose errant behavior in the parser. This would explain why ffplay (or mpv) works fine on the same sample and the same build of libdav1d that FFMS2 uses, but FFMS2 exhibits problems.
Now that I've had some time, I can confirm that yes, those patches (after being adjusted to also handle AV1 in addition to VP9) do appear to fix the problems FFMS2 has with AV1 through libdav1d. No apparent freezing, no corrupted blocks with the test sample I'd been using.

Of course, it's probably a case of the patches needing to be reworked differently from their current state, so...
qyot27 is offline   Reply With Quote
Old 11th March 2019, 11:45   #2451  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
Quote:
Originally Posted by Wolfberry View Post
ffms2-7c36121-win64

New build with libdav1d and also applied the modified patch.

Libraries:
FFmpeg 4.2-dev-93320-g5ab44ff20c
libdav1d 0.2.1-7f7b5586
No more corrupted blocks and ~280fps with 1080p, tested video was encoded with rav1e.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository

Last edited by ChaosKing; 11th March 2019 at 14:21.
ChaosKing is online now   Reply With Quote
Old 11th March 2019, 13:54   #2452  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 920
*bump*

Quote:
Originally Posted by Selur View Post
32bit version too please.
filler56789 is offline   Reply With Quote
Old 11th March 2019, 14:57   #2453  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 97
Quote:
Originally Posted by Wolfberry View Post
ffms2-7c36121-win64

New build with libdav1d and also applied the modified patch.

Libraries:
FFmpeg 4.2-dev-93320-g5ab44ff20c
libdav1d 0.2.1-7f7b5586
I got error "There is no function named 'FFAudioSource'" when using it with AVS
tuanden0 is offline   Reply With Quote
Old 11th March 2019, 15:08   #2454  |  Link
Groucho2004
►◄
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,402
Quote:
Originally Posted by tuanden0 View Post
I got error "There is no function named 'FFAudioSource'" when using it with AVS
1. Post your script
2. Run Avisynth Info Tool from my signature
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 11th March 2019, 17:51   #2455  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 161
Quote:
Originally Posted by tuanden0 View Post
I got error "There is no function named 'FFAudioSource'" when using it with AVS
Same here with 'ffvideosource("MVI_0001.MOV")'
Build of HolyWu is fine.

Code:
[OS/Hardware info]
Operating system:           Windows 10 (x64) (Build 17763)

CPU:                        Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz / Coffee Lake (Core i7)
                            MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, FMA3, AVX, AVX2
                            6 physical cores / 12 logical cores


[Avisynth info]
VersionString:              AviSynth+ 0.1 (r2772, MT, x86_64)
VersionNumber:              2.60
File / Product version:     0.1.0.0 / 0.1.0.0
Interface Version:          5
Multi-threading support:    Yes
Avisynth.dll location:      C:\Windows\SYSTEM32\avisynth.dll
Avisynth.dll time stamp:    2018-12-20, 12:55:16 (UTC)
PluginDir2_5 (HKLM, x64):   C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+   (HKLM, x64):   C:\Program Files (x86)\AviSynth+\plugins64+


[CPP 2.5 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64\avstp.dll  [1.0.3.0]
C:\Program Files (x86)\AviSynth+\plugins64\colormatrix.dll  [2.5.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\dfttest.dll  [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64\dither.dll  [2015-12-30]
C:\Program Files (x86)\AviSynth+\plugins64\EEDI2.dll  [0.9.2.0]
C:\Program Files (x86)\AviSynth+\plugins64\LSMASHSource.dll  [2018-05-30]
C:\Program Files (x86)\AviSynth+\plugins64\TDeinterlace.dll  [1.1.0.0]

[CPP 2.6 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll  [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64\AutoAdjust.dll  [2.6.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\Average.dll  [0.94.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\aWarpsharpMT.dll  [2.0.1.0]
C:\Program Files (x86)\AviSynth+\plugins64\DCTFilter_avx2.dll  [0.5.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\Deblock.dll  [2013-12-03]
C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll  [2.13.1.3]
C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll  [2.10.0.2]
C:\Program Files (x86)\AviSynth+\plugins64\eedi3.dll  [0.9.2.3]
C:\Program Files (x86)\AviSynth+\plugins64\fft3dfilter.dll  [2.6.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\FrameRateConverter-x64.dll  [2017-09-02]
C:\Program Files (x86)\AviSynth+\plugins64\grunt-x64.dll  [2016-05-17]
C:\Program Files (x86)\AviSynth+\plugins64\KNLMeansCL.dll  [2018-01-29]
C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll  [2.2.18.0]
C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll  [2.7.40.0]
C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll  [0.9.4.51]
C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll  [0.97.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\SmoothAdjust.dll  [3.2.0.0]
C:\Program Files (x86)\AviSynth+\plugins64\svpflow1.dll  [4.2.0.133]
C:\Program Files (x86)\AviSynth+\plugins64\svpflow2.dll  [4.2.0.145]
C:\Program Files (x86)\AviSynth+\plugins64\TIVTC.dll  [1.0.11.0]
C:\Program Files (x86)\AviSynth+\plugins64\vinverse.dll  [2013-11-30]
C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll  [0.0.2.0]

[Scripts (AVSI)]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi  [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64\AnimeIVTC.avsi  [2018-04-17]
C:\Program Files (x86)\AviSynth+\plugins64\Deblock_QED.avsi  [2017-05-05]
C:\Program Files (x86)\AviSynth+\plugins64\dither.avsi  [2015-12-30]
C:\Program Files (x86)\AviSynth+\plugins64\FFMS2.avsi  [2019-02-22]
C:\Program Files (x86)\AviSynth+\plugins64\FrameRateConverter.avsi  [2017-09-03]
C:\Program Files (x86)\AviSynth+\plugins64\LSFmod.avsi  [2018-07-13]
C:\Program Files (x86)\AviSynth+\plugins64\QTGMC.avsi  [2019-02-21]
C:\Program Files (x86)\AviSynth+\plugins64\SMDegrain.avsi  [2019-02-18]
C:\Program Files (x86)\AviSynth+\plugins64\Srestore.avsi  [2019-02-21]

[Uncategorized DLLs (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64\ffms2.dll  [2019-03-11]

[Uncategorized files]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt  [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64\ffmsindex.exe  [2019-03-11]
Morku is offline   Reply With Quote
Old 11th March 2019, 18:16   #2456  |  Link
Groucho2004
►◄
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,402
Quote:
Originally Posted by Morku View Post
Same here with 'ffvideosource("MVI_0001.MOV")'
I have no idea what to make of this ffms2.dll. PE Explorer seems to think it's corrupt. There are no exports whatsoever.

@Wolfberry
I presume you tested this build so it worked in your environment. Any idea why it does not work for others?
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 11th March 2019 at 18:18.
Groucho2004 is offline   Reply With Quote
Old 11th March 2019, 20:00   #2457  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
Maybe it was compiled only with vapoursynth support? It only works in VS on my machine.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 12th March 2019, 09:02   #2458  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 999
I can't get it to work in avs or via avs.Loadplugin. How did you test it in VS?

I get some "FunctionExists not implemented" messages in VS with core.avs.LoadPlugin(r"D:\ffms2.dll"),
but clip = core.avs.FFVideoSource(r"D:\amy.mkv") or clip = core.avs.ffms2(r"D:\amy.mkv") doesn't work.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is online now   Reply With Quote
Old 12th March 2019, 11:20   #2459  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 97
Quote:
Originally Posted by Wolfberry View Post
I am using the meson build system by HolyWu: https://github.com/FFMS/ffms2/pull/338

The src/avisynth source files are indeed missing.

I compiled a new build with AVS+ headers

Tested by using core.avs.LoadPlugin and it loads.
Libraries are the same as the previous build.
I tried your new build but still missing FFAudio Source

Here's my script:
Quote:
a=FFAudioSource("E:\Download\Source\Discovery\[JAV-11] Sora Aoi Collection.mkv")
a=AssumeFPS(a, 24000, 1001)
c=FFVideoSource("E:\Download\Source\Discovery\[JAV-11] Sora Aoi Collection.mkv",colorspace="YV12")
c=AssumeFPS(c, 24000, 1001)
AudioDub(c,a)
tuanden0 is offline   Reply With Quote
Old 14th March 2019, 00:29   #2460  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 920
Quote:
Originally Posted by Wolfberry View Post
I understand why there are no avisynth support in the autotools / meson build system.

Because gcc compiled plugins will not work in (msvc compiled) avisynth, so no avisynth support unless I can build it with msvc (so far it fails miserably)
Are you really sure of that?

When you say gcc, ¿don't you mean «a NON-MinGW-w64 toolchain»?
filler56789 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 08:49.


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