komandors
Идея расчета промежуточных кадров в играх уже была реализована в StarWars s 2010 году (Siggraph) сообщение на iXBT

Страница со статьей и демо-роликами: Real-time Frame Rate Up-conversion for Video Games

1,477

(10 replies, posted in Using SVP)

ITN
Yes. You can use "To screen" option. If you use SVP4 PRO then you can adjust additional settings to get 62.5 fps from 25 fps.
To do that you need to set frc.target.tolerance = 0.100
SVP tray menu - Application settings - Additional options - All settings

TCmullet
In your script I did 6 modifications:
mod1. added distributor() to the end of script. It lets script to use multi-thread processing. Significant speedup in AvsPmod and player. For x264 and AVSMeter it is not necessary
mod2. added SetMTMode(1) just after AudioDub(video,audio) to to less memory use
mod3. moved AddBorders(0,0,0,8) just after GameDropFix line. It gives more quality to interpolated frames
mod4. change global threads=4 to global threads=7 to use more CPU to get more speed
mod5. use GameDropFixV5 instead of GameDropFix4
mod6. change Interframe call to DblFPS=true parameter inside GameDropFixV5

Script before changes: GDFv4_speed.png - 59 fps
Script after changes: GDFv5_speed.png - 84 fps

на выбор:
- Сохранение плавного видео
- Сохранение видео в 60 фпс для чайников (hybrid)
- Сохранить улучшенное видео в файл
- Сохранение 60 fps
- Сохранение видео с 60FPS
и по-английски:
- Convert Videos to 60fps in just a few clicks (Natural Grounding Player)
- Is it possible to convert a video to higher FPS using SVP? (Spirton: Convert videos to 60fps)
- InterFrameGUI

*GameDropFix, version 5*

# GameDropFixV5.avsi
# ==================
# release date: 2016-02-10, MAG79
# ____________
# Requrements:
# - avisynth 2.6 MT, http://forum.doom9.org/showthread.php?t=148782
# - masktools2 b1, https://github.com/tp7/masktools
# - mvtools 2.5.11.3, http://avisynth.org.ru/mvtools/mvtools2.html
# - svpflow1/2 from SVP4, https://www.svp-team.com/wiki/Plugins:_SVPflow
# - MS VC++ 2012 Redistributable x86, https://www.microsoft.com/en-us/search/ … p;form=dlc

function GameDropFixV5(clip c, bool "myGPU", bool "myDebug", int "myErrSize", bool "DblFPS")
{
myGPU = default( myGPU, true )
myDebug = default( myDebug, false )
myErrSize = default( myErrSize, 12 )
dblFPS = default( dblFPS, false )

New in this version 5:
- modified to work with avisynth 2.6;
- speedup by using masktools2 b1 for avisynth 2.6 and svpflow1/2 (from last SVP4 version);
- internal modifications to get more stability and less memory use: no more memory leaks;
- new DblFPS parameter to fix dropped frame and double framerate with high quality in one pass;
- full length of clip are saved now without truncation at the end.

Usage:
- to fix dropped frames with GPU:

GameDropFixV5()

- to fix dropped frames with GPU and double framerate by insert interpolated frames:

GameDropFixV5(DblFPS=true)

- to fix dropped frames with debug info:

GameDropFixV5(myDebug=true)

Sample script:

SetMTMode(3,4)
DirectShowSource("video.mp4")
SetMTMode(2)
GameDropFixV5()
Distributor()

Download:
- GameDropFixV5_avsi.zip - only avsi-file
- GameDropFixV5_pluginsBundle.zip - whole plugins folder: avsi-file + masktools + mvtools + svpflow

dgrdsv
Тогда нужно сравнить версии и настройки MPC-HC, LAV, ffdShow raw

1,482

(10 replies, posted in Using SVP)

ITN wrote:

how would SVP handle the 25/50i switch?

SVP needs progressive as input. If you will use LAV decoder with HW-deinterlace (50/60 fps and Auto settings) then you will get 25p or 50p after decoding video automatically. SVP can handle it correctly.
But if some of frames will be duplicates (dropped frames) then such video will needed some additional processing to remove drops (usually it called frames decimation).

1,483

(10 replies, posted in Using SVP)

ITN
In general no way to successfully interpolate with SVP4 such non standard video on-the-fly without any tricks.

I know 2 standards: PAL (25/50) and NTSC (24/30). And one DVD must be either PAL or NTSC. It is very interesting to see 24, 25, 30 and 50i videos on one DVD.
Fisrt, I need example of video. Share to me any .vob file from that DVD please. I will look.

1,484

(53 replies, posted in Using SVP)

hyperx
I want to help but I need to see your system. It is interesting to me to look why skylake shows so huge CPU load.
If you don't afraid I can connect to you with teamviewer.

Send me your ID and pass via private message

убрать rc:true

1,486

(53 replies, posted in Using SVP)

FullHD and core i3-3217U:

Video: MPEG4 Video (H264) 1920x1080 60fps [V: h264 high L4.2, yuv420p, 1920x1080]
Audio: Dolby AC3 48000Hz 6ch 448kbps [A: ac3, 48000 Hz, 5.1, 448 kb/s]

MPC-HC:
Overlay in Window(zoom50%) = 25% CPU load
Overlay in Fullscreen = 28%
EVR Custom in Window(zoom50%) = 40%
EVR Custom in Fullscreen = 35%

For comparing this video with internal win10 application "Movies & TV" gives 8% CPU load in window and 7% in Fullscreen. Compare to yours results.

1,487

(53 replies, posted in Using SVP)

hyperx wrote:

45 % usage

I think it is too much.
My laptop with i3-3217U gives to me:
- 25% CPU load with EVR Custom in window and 18% in FullScreen mode;
- 13% with Overlay mixer in window and 25% in FullScreen mode;

I used video:

Video: MPEG4 Video (H264) 1280x690 59.94fps 2349kbps [V: jungle317_encoded_encoded.mp4 (h264 high L4.1, yuv420p, 1280x690, 2349 kb/s)]
Audio: AAC 44100Hz stereo 191kbps [A: jungle_track2.aac (aac lc, 44100 Hz, stereo, 191 kb/s)]

Try to disable any PixelShaders (PS2) in EVR Custom. Use bilinear resizer and disable shaders in Shaders tab.

Пользоваться или нет механизмом отправки отчетов об ошибке - это Ваше право. Специальной ветки для ошибок не будет. Есть конкретная ошибка, для которой не нашли решения на форуме - создавайте новую тему.

Про ошибку - спасибо. Исправим.

1,489

(53 replies, posted in Using SVP)

hyperx
I see just words. I need numbers.
Post here your SVPmark test results. CPU mode only and with GPU-acceleration.

It will be test of SVP libraries speed.

You can have SVP3 and SVP4 installed in the system but launch them only one at one time.

Your issue is very strange. If you exit SVP do you have player cashes with .MP4 and .WMV files?
If not then check what difference in filter list comparing to .AVI and .MKV.
Open file in MPC-HC - menu Play - Filters - Copy filters list to clipboard - paste to notepad or here to the forum.

1,491

(53 replies, posted in Using SVP)

Lets compare (descriptions from wikipedia article):

HD Graphics 4000 – 16 execution units and additional features, up to 332.8 GFLOPS at 1300 MHz

HD Graphics 530, GT2 – 24 execution units, up to 441.6 GFLOPS at 1.15 GHz

So, HD Graphics 530 must be faster than HD Graphics 4000 by 30%.

Look at the pictures I made some time ago for HD Graphics 4000 (orange line). In all cases with all RAM modes it gives acceleration compare to CPU only mode.

http://www.svp-team.com/forum/misc.php?action=pun_attachment&item=1655
http://www.svp-team.com/forum/misc.php?action=pun_attachment&item=1656
http://www.svp-team.com/forum/misc.php?action=pun_attachment&item=1657

dgrdsv
Попробовал скачанный Bluray. SVP4 заработал в MPC-HC из комплекта SVP на настройках по-умолчанию.
Открывал через пункт меню Файл - Открыть DVD/BD...
Рекомендую сравнить список фильтров. ReClock там необязательный. Вместо madVR может быть EVR Custom (но он у меня рушит плеер). Может кому пригодится текст ошибки EVR:

evr!CEVRAsyncResult::InvokeCallback+0x26
evr!CEVRServiceLookup::Notify+0x6f
evr!CMFVideoMixer::MFTProcessOutput+0x50a
evr!CMFVideoMixer9::MFTProcessOutput+0x27
mpc_hc!DSObjects::CEVRAllocatorPresenter::GetImageFromMixer+0x120
mpc_hc!DSObjects::CEVRAllocatorPresenter::GetMixerThread+0x1b1
mpc_hc!DSObjects::CEVRAllocatorPresenter::GetMixerThreadStatic+0x18
kernel32!BaseThreadInitThunk+0x24
ntdll!__RtlUserThreadStart+0x2f
ntdll!_RtlUserThreadStart+0x1b

Остальное в фильтрах должно быть один-в-один. Если у Вас не так воспользуйтесь пунктом "Копировать список фильтров в буфер" и вставьте этот список здесь. Либо скриншот.

Гопникус Вульгарис
Избавляться от дропов на старте нет смысла. Да и не получится, т.к. это практически неискоренимо: стартуют и подготавливаются сразу много компонентов одновременно. Самые реcурсо-требовательные - это непосредственно отрисовщик madVR и скрипт повышения плавности. Оба на старте производят ряд подготовительных действий. Самое главное - что во время воспроизведения число дропов в статистике не увеличивается.

По поводу замыленного изображения: это должно зависеть от исходника. Если все видео замыленные, то может это аппаратная особенность самого экрана?

Just tested:
- Trick works on Crimson 16.1 (7Jan) driver too. And for some video files it works without trick wink
- Trick works on Crimson 15.12 driver too. And for some video files it works without trick too.

Looks like madVR becomes better. From madVR v0.90.4 log:

* fixed: AMD x64 GPU driver crash (added a workaround, not my fault!)

Now I can use madVR on win10 with SVP GPU acceleration!
But it is not simple. smile

Used: Radeon R9 285 with Crimson 16.1.1 Beta, Win10 (build 10586), SVP 4.0.0.60, madVR 0.90.4, MPC-HC 1.7.10.

The trick is to change renderer without closing Player window:
1) Open with EVR: in MPC-HC - menu View - Options - Output - choose EVR custom - open video - see smooth playback
2) Change to madVR: in MPC-HC - menu View - Options - Output - choose madVR - reopen video

If open video straight with madVR I still get error:

WARNING: Following frames may be wrong.
amdocl!clSetKernelExecInfo+0x2787b
amdocl!clSetKernelExecInfo+0x27818
amdocl!clSetKernelExecInfo+0x269c7
amdocl!clSetKernelExecInfo+0x254bf
amdocl!clSetKernelExecInfo+0x5958
amdocl!clSetKernelExecInfo+0x14ac
amdocl!clSetKernelExecInfo+0x16e9c
kernel32!BaseThreadInitThunk+0x24
ntdll!__RtlUserThreadStart+0x2f
ntdll!_RtlUserThreadStart+0x1b

Youtube step-by-step: https://youtu.be/OXc-fmHt838

1,496

(53 replies, posted in Using SVP)

I see here identification of the error:
- Display driver IGFX
- error P1 141
- module igdkmd64.sys
phrase to search: "LKD_0x141_Tdr:6_IMAGE_igdkmd64.sys"

I google "IGFX P1 141" and "LKD_0x141_Tdr:6_IMAGE_igdkmd64.sys" and found many topics. Sorry, but it is repeatable error. And I found only one official solution.
It on intel forum:
Display Driver has stopped working and has recovered where Intel Beta Graphics Driver for Windows® 7/8.1/10* [15.40] recomended (intel graphics 530 is supported). Try it.

duritskiy
Правильное наблюдение. Только оно не для всех видеокарт подходит. Для средних и производительных видеокарт - меньшая нагрузка на процессор все же при использовании EVR. И то в каждом конкретном случае, если есть желание добиться минимальной загрузки процессора надо практические замеры делать.

1,498

(53 replies, posted in Using SVP)

hyperx
I mean error from Windows Event Log. In german it is: Ereignisanzeige
http://techmixx.de/windows-10-ereignisa … verstehen/

Please post here full description of error when driver crashes.

dgrdsv
Как видео включаете? Надо открывать самый большой .m2ts из папки BDMV\STERAM. Тогда будет использован LAV-декодер. И SVP4 заработает.

nemoW
Мои поздравления насчет Shiandow's SSIM downscaling!
Теперь можно 4K-видео на FullHD мониторах смотреть с (почти) исходной четкостью wink