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. |
6th February 2014, 08:42 | #561 | Link | |
User of free A/V tools
Join Date: Jul 2006
Location: SK
Posts: 826
|
Quote:
EDIT: I just tried with Chrome on Windows 7 - same issue with "Download as ZIP". Last edited by kypec; 6th February 2014 at 09:30. Reason: Another browser checked |
|
6th February 2014, 10:37 | #562 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
__________________
AviSynth+ |
|
6th February 2014, 10:46 | #563 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
I was afraid of this. Then I think this is something to be fixed in FFAudioSource(). The special test builds for you were the same as stable r1576 (which you said was still working), except I removed the audio caches. No changes, just pure code removal, so that the Cache filters becomes completely transparent for audio and call through directly to the source filter. So unless the audio cache has been doing something funky, I think this might be a problem in FFAudioSource(). I'm not 100% sure though, as I'm not familiar with the audio cache of old AviSynth.
__________________
AviSynth+ Last edited by ultim; 6th February 2014 at 10:56. |
|
6th February 2014, 10:48 | #564 | Link |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Thx. This will probably be true for all filters that use the GPU. For these filters, there is nothing Avs+ can do about them, aside from using mode 3. Try to place these calls towards the beginning of your script to minimize the performance affect on other filters.
__________________
AviSynth+ |
6th February 2014, 14:29 | #565 | Link | |
Registered User
Join Date: Oct 2011
Posts: 52
|
Quote:
AvsPmod-2.5.1-r426-x86-04874ed.7z Last edited by zero9999; 6th February 2014 at 18:31. |
|
6th February 2014, 15:59 | #566 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
(There is no Lanczos3 so I left it out) Code:
AVS+ r1689 2.60A5 Spline64 161 190 Bicubic 341 298 Bilinear 382 461 |
|
6th February 2014, 16:09 | #568 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Code:
blankclip(1630,1920,1080,"YV12",23.976) AVS+ 2.60A5 Spline64resize(1280,1080) 211 250 Bicubicresize(1280,1080) 472 379 Bilinearresize(1280,1080) 472 571 |
|
6th February 2014, 17:40 | #570 | Link | ||||
Registered User
Join Date: Aug 2010
Posts: 134
|
Quote:
Quote:
avs+ runs it at 12 fps with mode 2 but if i choose mode3 for fft3dgpu it runs at 6 fps. However, if i put prefetch before fft3dgpu script seems to run correctly, and at 16 fps. |
||||
6th February 2014, 17:43 | #571 | Link |
Registered User
Join Date: Dec 2011
Posts: 77
|
Just a note: having filter after Prefetch() will currently result in two group of pipelined filter: filter before Prefetch() will run in number of threads specify, while filter after Prefetch() will run in single, main thread. Not sure if this behaviour will change or not.
__________________
AviSynth+ |
6th February 2014, 18:27 | #572 | Link | ||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Quote:
How much of an equivalent is /arch in MSVC to GCC's -msse/etc. parameters? Does it have an impact on the intrinsics (since the option to dis/enable them is different), or are the two completely separate and the /arch stuff just optimizes the C/C++ parts? Quote:
https://github.com/FFMS/ffms2/blob/master/src/core/audiosource.cpp#L343 Not sure if anything particular jumps out, but I thought I'd still point to it. |
||
6th February 2014, 18:30 | #573 | Link |
Registered User
Join Date: Dec 2011
Posts: 77
|
It only affect compiler-generated code. Unlike GCC/Clang, the flag has no effect on intrinsics. But we have dynamic dispatcher with pure-C path for every internal filter so multiple version of filter is chosen automatically at runtime.
__________________
AviSynth+ |
6th February 2014, 19:01 | #574 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
The solution that you have implemneted, putting fft3dgpu *after* Prefetch(), is also a perfect solution, and is even better than placing it just before the Prefetch() if you have nothing after fft3dgpu.
__________________
AviSynth+ |
|
6th February 2014, 19:03 | #575 | Link | |
AVS+ Dev
Join Date: Aug 2013
Posts: 359
|
Quote:
__________________
AviSynth+ |
|
6th February 2014, 23:15 | #576 | Link | ||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Quote:
Quote:
The results are as follows: SSRC = error message is thrown just before the end of the read, script exits immediately causing audio to be truncated at the end ResampleAudio = error message is thrown immediately, script exits, empty output file No resampling step(s) at all = output audio is 44056kHz, no error is thrown, read ends successfully with no truncation Steps to reproduce: Generate test video+audio with FFmpeg: Code:
ffmpeg -f lavfi -i testsrc=duration=60:size=352x176:rate=30 -f lavfi -i aevalsrc="sin(440*2*PI*t):s=44100" -vcodec mpeg4 -acodec aac -strict experimental -t 60 output.mp4 Code:
ffmsindex -t -1 output.mp4 Code:
FFmpegSource2("output.mp4",atrack=-1,fpsnum=30000,fpsden=1000) #SSRC(48000,fast=false) AssumeFPS(29.97,sync_audio=true) #SSRC(48000,fast=false) #ResampleAudio(48000) |
||
7th February 2014, 02:27 | #577 | Link |
Registered User
Join Date: May 2008
Posts: 1,840
|
What I meant by Lanczos3 is lanczosresize(taps=3) which is default.
Interesting that intel has the same kind of results, I don't have time to test horizontally only right now but I can do it in a few hours if it's still needed.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650 PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0 |
Thread Tools | Search this Thread |
Display Modes | |
|
|