1,576

(4 replies, posted in Using SVP)

trandoanhung1991 wrote:

If it works, there's no point in increasing the thread count, is there?

Yes. You are right. You need find the optimum number. Practically it must be: Threads = logical cores * 1.8
But in each case the number can be more or less to avoid stutter or memory leaks.

Demo animation

Mystery
I told about such "smart black bars lighting"...
The idea is to detect and colorize black bars at short scenes interleaved with full-sized scenes. Logos and subtitles must remain untouched.

demo video: BoA - Kiss My Lips (lighting).mp4 (155.9 MB)
View it with SVP smile

concept avs-script:

SetMtMode(3,4)
DirectShowSource("BoA - Kiss My Lips.mkv")
lights=16

SetMTMode(2)
global top = Crop(0, 0, 0, 106).BilinearResize(16,16)
global btm = Crop(0, 974, 0, 0).BilinearResize(16,16)

topS=Crop(0,108,0,4).blur(0,1).blur(0,1).PointResize(1920,8).blur(0,1)
global topS=topS.BicubicResize(lights,108).BicubicResize(1920,108)
btmS=Crop(0,972-4,0,4).blur(0,1).blur(0,1).PointResize(1920,8).blur(0,1)
global btmS=btmS.BicubicResize(lights,108).BicubicResize(1920,108)
ScriptClip("""AverageLuma(top)>20 ? last : overlay(last,topS,mode="lighten")""")
ScriptClip("""AverageLuma(btm)>20 ? last : overlay(last,btmS,y=972,mode="lighten")""")

distributor()

Pictures are attached.

I have two solutions:
1. Disable black bars detection. And cut frame manually to constant size you want.
2. To develop "smart" black bars lighting algorithm.

Solution 1 you can use now with SVP4. For solution 2 a some time is needed. It can be realized in the future.

1,580

(51 replies, posted in Using SVP)

the_darkang3l
You didn't answer.

Nintendo Maniac 64 wrote:

Did you manually increase the amount of processing threads in SVP?

SVP tray menu - Application settings - Additional options - Processings threads - try 19 and above

1,581

(51 replies, posted in Using SVP)

the_darkang3l
Because of switchable graphics your Intel HD Graphics 4600 used to render the picture.
1. Use EVR custom with D3D Fullscreen option enabled. And choose Resizer without PixelShaders (PS): MPC-HC - View - Options - Output
2. Remove all pixel shaders from both lists (pre-resize and post-resize): MPC-HC - Play - Shaders - Select Shaders

AngReload
Посмотрел, почитал. Да. Согласен.

Maken1
You can upload pictures to this forum (attach up to 5 to every your post). They will be safe here wink

Paradox949
What resolution have your display?

Черный фон в плане цветности - слишком легкий и крайний случай. Красный цвет, если вылезет за края букв, будет выглядеть черным, как будто все хорошо.

Nikitayev
Пакет называется SmoothVideo Project, а в статье указано "Smooth Video Pack". smile
И он не "условно бесплатный", а имеет две версии: платную и бесплатную.

1,587

(12 replies, posted in Using SVP)

stefanogiusio
Why you need it? Audio delay it best way to make audio and video in sync.

Trim is not fully supported in ffdShow's avisynth.

What definitely won't work are things that reorder large parts of the video (like Trim and (Un-)AlignedSplice when applied to more than a few frames, or Reverse)

from official description

mashingan
Oh, now I see. Thank you.
Sorry, I have not legacy AMD adapter to check Crimson beta for you. wink
If you will install it then inform us about the issue, please.

mashingan
Sorry, your graphic adapter is not supported by Crimson drivers.

See http://support.amd.com/en-us/download/d … ws+10+-+64 > Supported products

Users tell me about Player's crashes with AMD Crimson drivers.

I confirm the issue. I checked Radeon Software Crimsom edition 16.1, 15.12 and 15.11.
If you use GPU Acceleration in SVP with your AMD graphic adapter and use madVR renderer in player then it can lead to player's crash.

Error from drDump:

WARNING: Following frames may be wrong.
amdocl!clSetKernelExecInfo+0x27cdb
amdocl!clSetKernelExecInfo+0x27c78
amdocl!clSetKernelExecInfo+0x26d17
amdocl!clSetKernelExecInfo+0x2580f
amdocl!clSetKernelExecInfo+0x5958
amdocl!clSetKernelExecInfo+0x14ac
amdocl!clSetKernelExecInfo+0x16efc
kernel32!BaseThreadInitThunk+0x24
ntdll!__RtlUserThreadStart+0x2f
ntdll!_RtlUserThreadStart+0x1b

To avoid the player crashes You can do one thing from these:
1. Switch GPU Acceleration in SVP to another adapter (Intel or NVIDIA): SVP tray menu - Application settings - GPU Acceleration
2. Switch renderer from madVR to EVR custom: MPC-HC - View menu - Options - Output - select Enchanced Video Renderer (custom presenter) and enable D3D Fullscreen option to avoid jerkiness in fullscreen
3. Disable GPU Acceleration in SVP: SVP tray menu - Application settings - GPU Acceleration - No acceleration
4. Install Catalyst drivers 15.7 (15.7.1). This driver is working well with SVP GPU Acceleration and madVR renderer

checked on win10 x64 with Core i5-3570K and AMD Radeon R9 285

hoover1979
Why you need resize in ffdShow? It can use only one thread of your CPU. It for testing purposes only.
Just disable it. Use resize in the renderer. It gives you more quality and it much faster.

And you can't edit script at ffdShow Avisynth tab. It automatically generated by SVP.
If you have SVP4 PRO then you can add conditions about source video resolution.

1,592

(51 replies, posted in Using SVP)

the_darkang3l wrote:

what url to put in the img tags to upload images, I wanted to show you the EVR OSD and the SVP performance monitor.

In preview post mode you can add any file as attachment to your post. It can be png/jpg picture. Browse from your hard disk.

1,593

(2 replies, posted in Эксплуатация SVP)

phoenix_1024
Спасибо за сообщение об утечках памяти. Будем исправлять.

На каком-то моменте, начинается рост потребляемой памяти процессом SVP с 20-30мб
Можно подробнее, что это за момент? Пауза при воспроизведении с плавностью?

danil4eg
да

1,595

(26 replies, posted in Using SVP)

Nintendo Maniac 64
Yes! Of course! Drivers must be installed both for Intel GPU and for NVIDIA GPU. smile

hoover1979
You do not need to "disable" driver.

1,596

(26 replies, posted in Using SVP)

The picture above is for SVP 3.1.7

hoover1979
Why do you think that upscaling does the ffdShow filter?
Check every filer in filter list. MPC-HC while playing SD reslution video maximize player window and open menu Play - Filters.
For each video filter (LAV video, ffdShow, ) open its window - Pin Info tab - look to resolution in pin [In] and in Pin [Out].

What I see on my system (and I think it must be so):

Filter : LAV Video Decoder
[In]
Video: MPEG4 Video (H264) 640x356 25fps 527kbps
[Out]
Video: YV12 640x356 25fps

Filter : ffdshow raw video filter
[In]
Video: YV12 640x356 25fps
[Out]
Video: NV12 640x356 25fps

Filter : Enhanced Video Renderer
[In]
Video: YV12 640x356 25fps

So the render does the upscaling.

hoover1979 wrote:

And this effects ALL video playing apps.  MPC-HC, MPC-BE, PotPlayer, VLC, PowerDVD, Windows Media Player, Total media 5

Then I think it is video. Can you give me a link to this video to take a closer look?

TCmullet
As you not answer me I went another way. I take 720p version of this youtube video.
This video has constant pattern 'N-N-J-D'. There one Jump (J) and one drop (D) in every 4 frames. So, for such video you can use another script. It will give you more quality.
If use numbers then pattern is 1-2-4-4 and we need to restore frame #3. We will get 1-2-3-4 when 3 is interpolated frame between frames #2 and #4.

Script FixDropInPattern1244

SetMemoryMax(1024)
global threads=13
global svp_scheduler=true

LoadPlugin("C:\Program Files (x86)\SVP 4 PRO\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP 4 PRO\plugins\svpflow2.dll")

SetMTMode(3,threads)
DirectShowSource("NEWFRO~1.MP4")
SetMTMode(2)

super_params = "{gpu:1}"
analyse_params="{main:{search:{coarse:{distance:4,bad:{sad:2000}},type:2,distance:4},penalty:{lambda:1,pglobal:10000}},refine:[{thsad:65000}]}"
smoothfps_params="{rate:{num:2,den:1},algo:13,scene:{blend:true}}"

super=SVSuper(super_params)
vectors=SVAnalyse(super, analyse_params)
fix = SVSmoothFps(super, vectors, smoothfps_params, mt=threads).Subtitle("-fix50")
fix50n = fix.selectEvery(2,1)
fix50n = fix50n.trim(1,1)+fix50n

interleave( \
 SelectEvery(fix50n,4,0), \
 SelectEvery(4,1), \
 SelectEvery(4,2), \ 
 SelectEvery(4,3))

distributor()

If you need to hide subtitle then remove .Subtitle("-fix50") function from the script.
This script has no memory leaks.

4770k has internal graphics Intel HD Graphics 4600, it weaker then your discrete graphics R9 290. So you need to check:
- display connection. It must be connected to R9 290 output;
- SVP4 HW acceleration. R9 290 must be slected: SVP tray menu - Application settings - GPU acceleration;
- enable HW acceleration in decoder. MPC-HC menu View - Options - Internal Filters - Video decoder - Hardware Acceleration - select DXVA2 (copy-back) or Intel QuickSync - OK. See Setting up MPC-HC.

blacktomato
Как вариант можно отключить передергивание скрипта на перемотке: меню SVP в трее - Настройки - Дополнительные настройки - Сброс на перемотке - Не сбрасывать.
Тогда зависания плеера прекратятся, но на некоторых перемотках станут появляться перемигивающиеся кадры-призраки с предыдущего места просмотра длительностью до 3 секунд.

Если есть желание избавиться и от зависаний и от кадров-призраков, тогда прошу отправить нам баг-репорт через SVP-менеджер, в сообщении о проблеме указать "зависания на перемотках".
Мы воспроизведем ошибку у себя и поищем решение именно для вашей конфгурации.