Topic: Is it possible to have SVP support encoding video?

First of all thanks for making SVP, this software kicks so much ass!

I've a 120hz monitor and I've no problem with SVP watching video up to 720p@24fps boosting frames to 120fps.  However, when playing 1080p@24fps, especially WMV format, I've trouble getting it to run at 120fps.
Is it possible to encode those 1080p video @120fps with SVP?

Or if my hardware powerful enough and since I'm noob in all these video processing stuff (splitter,decoder,etc are all new to me), I messed up with the config or setup?

my hardware spec:
i7 2600k @4300mhz (43X100Mhz)
SLI GTX 570 @780Mhz core clock, 1560Mhz shader clock, 1900Mhz memory clock

Thanks

Re: Is it possible to have SVP support encoding video?

0. Your hardware should handle 120 Hz perfectly. What kind of "trouble" you've got?
0.1. Have you got any problems playing 24->60 FullHD ? If not try to increase "number of threads" for 120 Hz mode to something like 20-24.

1. There's very good guide for encoding with SVP (MVTools)
2. SVP can generate script for video encoder - see "Make -> AVS-script for video" in main menu.

3 (edited by akak1997 02-01-2012 06:22:20)

Re: Is it possible to have SVP support encoding video?

0. Potplayer will crash either showing this error:

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    PotPlayerMini.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4d252720
  Fault Module Name:    KERNELBASE.dll
  Fault Module Version:    6.1.7601.17651
  Fault Module Timestamp:    4e211319
  Exception Code:    e06d7363
  Exception Offset:    0000b9bc
  OS Version:    6.1.7601.2.1.0.256.1
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

or a pop-up error:

Unhandled exception occurred [0xE06D7363@0x7605B9BC] at
Addtional exception information has been stored locally
and this application will be terminated

If I switch player and use Media Player Classic, sometimes it works perfectly (first few times of use after reinstall SVP), but sometimes, it'll only play at 30fps or it'll play for a second or so, then pause for a long time, and may or may not play again (or crash MPC)


0.1 No dice on 24->60 either, same behavior as to screen refresh rate.

Also, I'm on Normal profile, can't use advanced profile on 1080p videos.

I'll check out the guide.  Thanks so much for helping.

(Donated $30bucks, a few beers for the new year  wink )

Re: Is it possible to have SVP support encoding video?

akak1997

Something is seriously wrong with your setup  hmm

1. May be you've "Motion estimation accuracy" set to "To quarter-pixel"?
2. Does PotPlayer works with SVP turned off?
3. Post here "Show -> Additional information" after player crash
4. Do you've any codec packs installed?

a few beers for the new year
Thanks! smile

Re: Is it possible to have SVP support encoding video?

1. Motion estimation accuracy on the Profile for 1920x1080@24 is set "To half-pixel"
2. yes, Potplayer works fine w/o SVP on the same videos that it crashes with SVP
3. here's the log:

Last processed file parameters:
Filename: MIDD705_HD1.wmv
Frame size and frame rate: 1920x1080 pixels, 30 fps

Detected monitor parameters
Screen size and refresh rate: 1920x1080 pixels, 120.008 Hz

Video smoothing info
Smooth factor: 4:1
Resulting video frame rate: 120 fps

Current detected profile: 1920x1080@24

Profile settings of video processing
[ExMethod=MSmoothFps_ByPixel]    Smoothness improvement: Normal
[ExAlgo=1]            SVP-shader: 1. Simple
[ExMulti=MON]            Framerate change: To screen refresh rate
[ExMiniCount=1:1]        Interpolated frames size: Full size
[ExRad=4p]            Search radius: 4 pixels
[ExSearch=4]            Search type: Hexagon
[ExPel=2]            Motion estimation accuracy: To half-pixel
[ExRecalc=0]            Recalculation of vectors: Do not recalculate
[ExBlockSize=16x16]        Blocks size: 16x16 pixels
[ExOverlap=4]            Blocks overlapping: 0.25 of block
[ExSadml=0]            Bad areas artifacts suppression: Nothing
[ExSadgamma=1]            Bad areas artifacts mask: Normal
[ExBlend=true]            Processing of scene change: Frame blending
[ExDwnResize=0]            Reduce resolution: Do not reduce
[ExConvertFps=false]        Frame blending to screen refresh-rate:false

Settings by menu
[svp_libflowgpu=1]        GPU-acceleration (OpenCL): true
[ExTreads=19]            Number of threads: 19
[Borderlight=0]            Light at black borders: false
[ExStretch=0]            Frame stretch: Do not stretch
[ExCrop=-1]            Cropping: Do not crop
[VDelay=0]            Video delay: 0 ms
[ExDemo=0]            Demonstration mode: false
[ExTearingTest=0]        Tearing test: false
[EFrameDoubling=0]        Emergency framedoubling: false
[StopSmoothDelayOnRewind=1]    Smooth on rewind: Turn off by 1 sec


4. nope, codec packs confuses me tongue

Re: Is it possible to have SVP support encoding video?

akak1997
Number of threads: 19

OK, I've just checked, for PotPlayer it's a memory issue.
With 19 threads and half-pixel SVP eats over 2GB which is too much for PotPlayer => it crashes.
MPC-HC's .exe is patched to support up to 3GB, but lets make it work at least with PotPlayer smile

So, decrease num of threads to 15 OR set motion accuracy "to pixel".

Re: Is it possible to have SVP support encoding video?

Sweet.
I've set to to use "To Pixel" AND num of threads to 15, and it works.

Keeping 19 threads and set to use "To Pixel" Potplayer Crashes.

Lowering to 10threads and set to use "To Pixel" works fine.

From windows Task Manager, I can see Potplayer using ~1gb of ram b4 it crashes.

Re: Is it possible to have SVP support encoding video?

akak1997
I can see Potplayer using ~1gb of ram b4 it crashes.

Hmm. For me 15 threads are working with both "pixel" and "half-pixel".
Anyway, if interpolation to 120 Hz will work well with 15 threads - you're lucky smile

Re: Is it possible to have SVP support encoding video?

The problem is:

- with larger interpolation coefficient (in your case 120:24 = 5:1) you need more threads to fully load CPU
- more CPU cores => more threads
- more threads => more memory

Try MPC-HC, it should be more tolerant to memory consumption.
Or you may patch potplayer's exefile with this tool - http://www.ntcore.com/4gb_patch.php

Re: Is it possible to have SVP support encoding video?

So in theory, if SVP runs on 64bit and potplayer 64 bit will be able to address more memory?
I've 16gb of ram sitting here dying to see some action.  What would it take to get SVP on 64bit?

Re: Is it possible to have SVP support encoding video?

akak1997
What would it take to get SVP on 64bit?

In the next 1<=N<=5 years - no way  big_smile

See the message above.

Re: Is it possible to have SVP support encoding video?

Just tried to patch potplayermini.exe myself - works well with 19 threads and half-pixel now  tongue

Re: Is it possible to have SVP support encoding video?

If I can code C++ I might do that, but I'm a .Net guy, I let someone else take care of memory for me lol

Re: Is it possible to have SVP support encoding video?

http://www.ntcore.com/4gb_patch.php

But I think 15 threads should be enough even for 5:1 frame interpolation. 19 threads and more will produce more FPS in encoding but for real-time 15 is fine.

Re: Is it possible to have SVP support encoding video?

Wow Many Thanks!

Re: Is it possible to have SVP support encoding video?

Can't wait for a "success story"  big_smile