Lately I'm having issues where some videos keep resetting playback repeatedly during the first 5 seconds of playback. I'm not sure what is causing this. But when I look in the log, the "Frame Crop Detected" part looks scary! That seems to be the part related to when it keeps resetting.

Anyone else having this issue?


23:53:39.748; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 4772, supports 4GB RAM
23:53:39.776; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\Windows\system32\
23:53:39.779; GetDimensionAndFPS_fromOSD start. Duration: 88 ms
23:53:39.867; GetDimensionAndFPS_fromOSD result: 1280x720 8.135 1/1
23:53:39.872; T1T: begin
23:53:39.874; T1T: GetAllMediaParams
23:53:39.876; ### CorrectStereoModeByAppAndFilename: The Boys Remix (MAMA 2011).mp4
23:53:39.877; T1T: SettingsPrepare. Duration: 7 ms
23:53:39.884; T1T: Preparing smooth playback...
23:53:39.886; T1T: WriteAllMediaParamsToIni
23:53:39.886; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 298 ms
23:53:40.184; Selected profile: 1280x720@25. Duration: 14 ms
23:53:40.198; ===== Playback
8.135 * (22 : 3) = 59.657 fps
23:53:40.198; SetPriorityPlayer: 2. Duration: 957 ms
23:53:41.155; ===== Playback
23:53:44.993; FalseVFR ffdShow-framerate: -Up-> 21.523 -Up-> 28.307 -Up-> 29.743 -Up-> 29.97 fps
23:53:44.994; express clear interval
23:53:44.994; stabilized ffdShow-framerate: 29.97 fps. SVP Index: 0.49/0.46
23:53:45.002; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 347 ms
23:53:45.349; Performance statistics:
  Playback: 1280 x 720 @ 29.97 * (22 : 3) = 219.78 fps
  CPU usage 47%  Duration: 0:04  SVP Index 0.72x
  Memory used at start:0 at end:1032 growth:255 MB/sec
23:53:45.356; ===== Playback
29.97 * (2 : 1) = 59.94 fps
23:53:45.357; Selected profile: 1280x720@30. Duration: 1118 ms
23:53:46.475; ===== Pause
23:53:47.130; frame #36 crop detected: 96 0 95 0
23:53:47.130; frame #39 crop detected: 30 0 73 10
23:53:47.317; frame #44 crop detected: 86 64 39 73
23:53:47.318; frame #47 crop detected: 58 0 71 3
23:53:47.505; ===== Playback
23:53:47.777; frame #69 crop detected: 49 0 54 0
23:53:48.152; frame #90 crop detected: 67 6 113 0
23:53:49.370; frame #148 crop detected: 15 0 26 26
23:53:49.370; frame #151 crop detected: 0 0 60 29
23:53:49.371; frame #152 crop detected: 12 0 8 24
23:53:49.462; frame #156 crop detected: 0 0 0 34
23:53:49.463; frame #157 crop detected: 27 0 4 33
23:53:49.657; frame #162 crop detected: 0 0 0 31
23:53:49.745; frame #165 crop detected: 27 0 0 18
23:53:49.745; frame #168 crop detected: 4 0 35 22
23:53:49.844; frame #169 crop detected: 45 0 12 22
23:53:49.845; frame #172 crop detected: 42 0 90 32
23:53:49.845; frame #173 crop detected: 52 17 7 31
23:53:49.845; frame #174 crop detected: 9 0 20 31
23:53:49.936; frame #176 crop detected: 39 0 1 30
23:53:50.023; frame #178 crop detected: 0 0 0 13
23:53:50.024; frame #179 crop detected: 0 0 4 16
23:53:50.024; frame #180 crop detected: 0 0 1 7
23:53:50.025; frame #181 crop detected: 0 0 9 17
23:53:50.116; frame #183 crop detected: 0 0 10 4
23:53:50.117; frame #185 crop detected: 0 0 0 6
23:53:50.117; frame #187 crop detected: 1 0 0 2
23:53:50.219; frame #189 crop detected: 25 0 17 24
23:53:50.309; frame #192 crop detected: 21 0 47 0
23:53:50.309; frame #193 crop detected: 27 0 38 0
23:53:50.310; frame #194 crop detected: 33 0 13 6
23:53:50.310; frame #195 crop detected: 36 0 0 0
23:53:50.403; frame #196 crop detected: 38 0 12 4
23:53:50.403; frame #198 crop detected: 50 0 0 32
23:53:50.403; frame #199 crop detected: 15 0 5 3
23:53:50.499; frame #200 crop detected: 14 0 32 31
23:53:50.499; frame #201 crop detected: 29 0 5 0
23:53:50.499; frame #202 crop detected: 31 0 62 30
23:53:50.500; frame #203 crop detected: 16 0 2 17
23:53:50.500; frame #204 crop detected: 73 0 9 0
23:53:50.587; frame #205 crop detected: 30 0 3 0
23:53:50.587; frame #206 crop detected: 1 0 25 0
23:53:50.587; frame #207 crop detected: 8 0 10 0
23:53:50.588; frame #208 crop detected: 4 0 0 0
23:53:50.677; frame #209 crop detected: 3 0 21 27
23:53:50.678; frame #210 crop detected: 27 0 0 28
23:53:50.678; frame #211 crop detected: 23 0 54 25
23:53:50.678; frame #212 crop detected: 18 0 12 26
23:53:50.679; frame #213 crop detected: 18 0 0 0
23:53:50.771; frame #214 crop detected: 23 0 30 0
23:53:50.772; frame #215 crop detected: 0 0 0 23
23:53:50.772; frame #216 crop detected: 11 0 0 23
23:53:50.772; frame #217 crop detected: 51 0 0 25
23:53:50.865; frame #218 crop detected: 30 0 0 22
23:53:50.865; frame #219 crop detected: 9 0 13 0
23:53:50.866; frame #220 crop detected: 1 0 15 21
23:53:50.866; frame #221 crop detected: 0 0 11 0
23:53:50.866; frame #222 crop detected: 0 0 0 21
23:53:50.959; frame #223 crop detected: 21 0 0 0
23:53:50.960; frame #224 crop detected: 2 0 0 20
23:53:50.960; frame #225 crop detected: 3 0 0 18
23:53:50.960; frame #226 crop detected: 0 0 0 0
23:53:51.061; frame #227 crop detected: 11 0 7 18
23:53:51.061; frame #228 crop detected: 40 0 0 16
23:53:51.061; frame #229 crop detected: 0 0 0 18
23:53:51.062; frame #230 crop detected: 0 0 8 16
23:53:51.062; frame #231 crop detected: 0 0 0 17
23:53:51.149; frame #232 crop detected: 0 0 0 14
23:53:51.150; frame #233 crop detected: 14 0 0 15
23:53:51.150; frame #234 crop detected: 20 0 0 14
23:53:51.150; frame #235 crop detected: 0 0 0 15
23:53:51.248; frame #236 crop detected: 44 0 34 13
23:53:51.249; frame #237 crop detected: 22 0 0 14
23:53:51.249; frame #238 crop detected: 0 0 30 11
23:53:51.249; frame #239 crop detected: 35 0 0 13
23:53:51.340; frame #240 crop detected: 21 0 0 13
23:53:51.340; frame #241 crop detected: 0 0 0 11
23:53:51.433; frame #242 crop detected: 0 0 0 8
23:53:51.433; frame #243 crop detected: 23 0 0 8
23:53:51.434; frame #244 crop detected: 21 0 0 9
23:53:51.434; frame #245 crop detected: 0 0 0 9
23:53:51.434; frame #246 crop detected: 20 0 0 7
23:53:51.529; frame #247 crop detected: 0 0 0 6
23:53:51.529; frame #248 crop detected: 7 0 0 7
23:53:51.530; frame #249 crop detected: 23 0 33 7
23:53:51.622; frame #250 crop detected: 0 0 0 7
23:53:51.622; frame #251 crop detected: 4 0 0 6
23:53:51.622; frame #252 crop detected: 0 0 0 5
23:53:51.623; frame #253 crop detected: 0 0 0 5
23:53:51.713; frame #254 crop detected: 0 0 0 4
23:53:51.713; frame #255 crop detected: 0 0 6 2
23:53:51.714; frame #256 crop detected: 14 0 14 2
23:53:51.714; frame #257 crop detected: 9 0 0 3
23:53:51.806; frame #258 crop detected: 8 0 0 1
23:53:51.806; frame #259 crop detected: 0 0 14 1
23:53:51.807; frame #260 crop detected: 0 0 0 0
23:53:51.807; frame #261 crop detected: 0 0 11 0
23:53:51.897; frame #262 crop detected: 10 0 0 0
23:53:51.898; frame #263 crop detected: 0 0 2 0
23:53:51.898; frame #264 crop detected: 0 0 10 0
23:53:51.991; frame #265 crop detected: 0 0 0 0
23:53:51.991; frame #266 crop detected: 0 0 0 0
23:53:51.991; frame #267 crop detected: 8 0 0 0
23:53:52.082; frame #268 crop detected: 0 0 0 0
23:53:52.082; frame #269 crop detected: 2 0 0 0
23:53:52.082; frame #270 crop detected: 3 0 0 0
23:53:52.176; frame #271 crop detected: 0 5 0 0
23:53:52.177; frame #272 crop detected: 0 0 0 0
23:53:52.177; frame #273 crop detected: 0 0 0 0
23:53:52.272; frame #274 crop detected: 0 0 51 0
23:53:52.272; frame #275 crop detected: 0 0 0 0
23:53:52.272; frame #276 crop detected: 0 0 0 0
23:53:52.364; frame #277 crop detected: 0 0 0 0
23:53:52.364; frame #278 crop detected: 2 0 0 0
23:53:52.365; frame #279 crop detected: 0 0 0 0
23:53:52.465; frame #280 crop detected: 0 0 0 0
23:53:52.465; frame #281 crop detected: 0 0 0 0
23:53:52.553; frame #282 crop detected: 0 0 0 0
23:53:52.554; frame #283 crop detected: 3 0 42 0
23:53:52.555; frame #284 crop detected: 0 0 10 0
23:53:52.832; frame #285 crop detected: 0 0 0 0
23:53:52.833; frame #286 crop detected: 0 0 3 0
23:53:52.833; frame #287 crop detected: 0 0 0 0
23:53:52.932; frame #288 crop detected: 0 0 0 0
23:53:52.932; Performance statistics:
  Playback: 1280 x 720 @ 29.97 * (2 : 1) = 59.94 fps
  CPU usage 85%  Duration: 0:06  SVP Index 1.59x
  Memory used at start:974 at end:974 stable
23:53:52.943; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 730 ms
23:53:53.673; Selected profile: 1280x720@30. Duration: 16 ms
23:53:53.689; ===== Playback
29.97 * (2 : 1) = 59.94 fps
Auto crop: [0:0:0:0] . Duration: 999 ms
23:53:54.688; ===== Pause

These clips have SERIOUS artifacts.

SVP does a better job in real-time smile

I'm thinking about adding support to convert audio to AAC with fdk_aac. I just did a custom build of FFMPEG to support it.

I'm considering doing that to re-encode 1080p videos taken with my camera. It produces huge .MOV files. It just makes sense to re-encode them efficiently in H264, and why not run a weak denoiser along the way. The audio is uncompressed and low quality so it would make sense to re-encode it at the same time to output a valid MP4 file. I tried with DirectShowFilter and the image was skipping back and forth; that's why I convert to AVI.

I tried creating MP4 files with MP2 audios from VCDs and although the file was "valid", Windows Media Player couldn't open it. That's why I instead use MKV.

OK I changed it. I can't really test it but if it returns AC3 then it should work.

Can you check the AC3 file with MediaInfo (https://mediaarea.net/en/MediaInfo) to tell me what exact value it returns for the audio codec? Is it "AC3"?

Yes. I also replaced the denoiser from FF3DFilter to KNLMeans which gives better results.

I'm attempting to get SuperRes to work in AviSynth before releasing the next version... that requires complicated code to run shaders in AviSynth.

Then you can convert videos offline where you don't care about performance, you just let the computer compute all night and then enjoy your video

234

(45 replies, posted in Using SVP)

It happened again. This time, however,I also saw hat the CPU was only running at 50% while it was dropping frames. And then it would get back to normal. And then lag again.

235

(45 replies, posted in Using SVP)

OK it happened again, this time with AviSynth 2.5.8

Disabling SVP. Pressing CTRL+J to get madVR's stats. It says source video is 30.000 fps

236

(9 replies, posted in Using SVP)

Could you have compiled with a different version of runtime dependencies?

237

(25 replies, posted in Using SVP)

Chainik wrote:

you'll need r1779 or later!

That version doesn't properly synchronize the audio with the video

238

(8 replies, posted in Using SVP)

madVR also offers NEDI+SuperRes

You can switch the order and still render in 60fps. I'm converting videos with an automated upscaling script and I found that what works best is
Denoise
Frame Double + Sharpen
SVP
Frame Double + Sharpen

Of course, running SVP live right in the middle would be asking too much tongue But it can be done with AviSynth.

I'm making changes that increase both the quality and the speed.

- Changing x264 encoding preset from slowest to veryslow gives a considerable advantage

- Changing NNEDI3 to run in mode 256 instead of 128 increases quality and smoothness

- Adding pixel shift correction to NNEDI3/EEDI3 and doing the resize at the same time slightly improves the image

- Running x264 in pipe mode allows separating AviSynth process from x264 process, giving separate 2GB available memory to each. It would also allow using x264 in 64-bit mode BUT official binaries don't support MP4 output (only raw H264) and FFMPEG fails to merge raw H264 into MKV, but it works with MP4. My current version of x264 does output to MP4 but I don't remember where I got that build. I can't replace it until I find another version with MP4 support.

And most importantly

- Applying SVP between the 2 frame doubles, instead of at the end, is producing an output that is considerably sharper!!

- Changing the way threads are managed is GREATLY enhancing performance!! Far outweigthing the costs of the above increased settings.

Before I was encoding on "Noisy SD" preset at 4.7fps. Now it encodes at 6.3fps.

240

(45 replies, posted in Using SVP)

Not sure what your question is... it always outputs at 60fps

241

(45 replies, posted in Using SVP)

Reverting back to AviSynth 2.5.8 does seem to make the problem go away. So far, it allows me to keep settings higher while keeping videos playing with consistency.

242

(5 replies, posted in Using SVP)

OK I've tested with block size 8 and 16. According to my test, block size 8 does give considerably better image quality. In that case, it does make sense to have higher artifact masking. So I'll agree with SubJunk's Smooth settings.

243

(5 replies, posted in Using SVP)

Someone doesn't like how you manage errors smile

Groucho2004 wrote:
mysteryx93 wrote:
mysteryx93 wrote:

If I set MT to 2 threads and for filters taking CPU argument, set it to 1, I get this message repeating in the console.
Cache::getFrame: dgb1

The errors were being thrown by InterFrame.

Yes, it's one of the svpflow*.dll plugins. Instead using "ThrowError()" in the plugin so a client application could catch and handle it, the developer decided to print the error directly to the console. Unbelievable.

244

(5 replies, posted in Using SVP)

Actually, it's easy to see how you're doing it. I just have to look at "Last Generated AVS Script" with and without Artifact Masking to see the difference.

The difference is "area:50", which InterFrame can override by specifying OverrideArea. I'm not sure what "cover:80" is.

InterFrame, with "Smooth" preset, uses area:150 which is way too high, and "{block:{w:8,overlap:2}" which is way too high.

I'll get better results by calling InterFrame with "OverrideAlgo=23, OverrideArea=50" instead of "preset=smooth".

I also see that it generates only w:8 while you generate w:8,h:8. Is the 'h' parameter optional?

As for changing "{block:{w:8,overlap:2}" to "{block:{w:16,overlap:2}", I don't see any way of doing it without changing the code. Setting preset "fast" would change it but also set "pel:1" which I don't know what it is but probably don't want. I just have to change "8" with "16" in the InterFrame.avsi file.

245

(5 replies, posted in Using SVP)

InterFrame isn't difficult to tweak as it's just a plain text file that generates a script for SVP.

I'm looking at its script to see what it's doing. For motion vectors grid, it appears to be taking "6px Small 2" by default, which I'm not sure about. Doesn't that increase artifacts? If performance isn't an issue, would it still be better to use "12 px. Average 2" to get better quality?

Also, I'm not seeing any code to use Artifacts Masking. How can I add Artifacts Masking = Weak?

What I found to work best is Complicated + Weak Artifacts Masking.

Complicated + Small2 will generate unnecessary artifacts.

Try this version smile This should make it easier. You can customize SVP's output frame rate at will by changing the script yourself.
https://github.com/mysteryx93/NaturalGr … tag/v1.2.1

The reason I don't offer DirectShowSource by default is that for some files, you'll get the wrong pixel aspect ratio, while other files will fail to open. I tried with one file and got the error "The renderer won't speak to me!"

I'm using the "slowest" preset with x264 which reduces the output file size while keeping the same quality.

I'm just about to release an updated version that will allow you to open the file with DirectShowSource, and that allows you to customize the script at will.

Any operation you throw at it (encoding, encrypting or decoding any audio, video or data) will put your CPU at 100%. If you want it to stay lower, you can put your computer in Power Saving mode (see power management settings).

249

(27 replies, posted in Using SVP)

Bluerays don't work with SVP? I know I had issues playing DVDs.

The whole re-encoding process is very hungry. Not so much x264.exe, but especially NNEDI3 and especially EEDI3. You can't ask your computer to do any real computing work if it heats like that. Either tweak or change your fan, or put some cubes of ice under it  big_smile