Selur's Little Message Board

Full Version: Shaky/Wobbly edges on a progressive 960x720 AVC file processed from DVD source
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,
I'm seeking advice on how to fix a video quality issue with a file I processed (likely ripped/encoded) from an old Japanese anime DVD.
**The Problem:**
The edges of objects and characters appear very shaky and wobbly, especially during movement. It looks like some kind of motion artifact.

**Source File Specifications (from MediaInfo):**

[Image: img.gif?credential=yqXZFxpELC7KVnFOS48yl...pj%2Bng%3D]

Format                      : MPEG-4
Format profile              : Base Media
Codec ID                    : isom (isom/mp41)
File size                  : 340 MiB
Duration                    : 29 min 43 s
Overall bit rate            : 1 598 kb/s
Frame rate                  : 23.976 FPS
Encoded date                : 2008-09-25 19:09:15 UTC
Tagged date                : 2008-09-25 19:09:15 UTC

Video
ID                          : 1
Format                      : AVC
Format/Info                : Advanced Video Codec
Format profile              : High@L4.1
Format settings            : CABAC / 3 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 3 frames
Codec ID                    : avc1
Codec ID/Info              : Advanced Video Coding
Duration                    : 29 min 43 s
Source duration            : 29 min 43 s
Bit rate                    : 1 334 kb/s
Width                      : 960 pixels
Height                      : 720 pixels
Display aspect ratio        : 4:3
Frame rate mode            : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Standard                    : NTSC
Color space                : YUV
Chroma subsampling          : 4:2:0
Bit depth                  : 8 bits
Scan type                  : Progressive
Bits/(Pixel*Frame)          : 0.080
Stream size                : 284 MiB (83%)
Source stream size          : 298 MiB (88%)
Writing library            : AVC Coding
Language                    : English
Encoded date                : 2008-09-25 19:09:15 UTC
Tagged date                : 2008-09-25 19:09:15 UTC
Color range                : Limited
Color primaries            : BT.709
Transfer characteristics    : BT.709
Matrix coefficients        : BT.709
mdhd_Duration              : 1784159
Codec configuration box    : avcC

Audio
ID                          : 2
Format                      : AAC LC
Format/Info                : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 29 min 43 s
Bit rate mode              : Constant
Bit rate                    : 192 kb/s
Nominal bit rate            : 128 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate              : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                : 40.9 MiB (12%)
Language                    : English
Encoded date                : 2008-09-25 19:09:15 UTC
Tagged date                : 2008-09-25 19:09:15 UTC
mdhd_Duration              : 1785372
Would need a sample of the source to suggest anything.
AFK till tomorrow evening, but i can suggest something then.
Hi, thank you for the reply.

I've uploaded a sample of the source file (unprocessed) that shows the wobbly edges clearly:


https://drive.google.com/file/d/1-2yrTbp...sp=sharing
The moving artifacts are dot crawlers (https://en.wikipedia.org/wiki/Dot_crawl).
=> try using DeCrawl->LUTDeCrawl and/or some of the other DeCrawl filters.

Cu Selur
There was some improvement. thank you.
Another way would be to use BasicVSR++ with 'EdgeMask (Bloated)' and expand the mask by 1 or 2, but that requires an NVIDIA card. see: https://www.mediafire.com/file/1n6h1ir26...B.mp4/file
(+ I'm found a bug in the edge mask handling which is fixed in a dev version I'm uploading atm.)

Cu Selur
I found filitering - vapoursynth - decrawl - masked - edgemask (Bloated) .
expand/shrink 2

and filtering - vapoursynth - other - basicVSR++ 

"I’ve found BasicVSR++, but I'm not sure how to configure the settings, such as the model length. Could you guide me on how to set it up?"

"Could you show me some screenshots of the key settings?"

"The video results you posted look incredibly clean, but I'm not getting the same results on my end."
Enable "Filtering->Vapoursynth->UI->Show 'Masked'-controls" to see masking support controls next to filters.
[Image: grafik.png]
(maybe also enable binarize with 0.3)

Cu Selur
Your results are perfect, but mine improved by 70-80%. Did you adjust anything else besides those two things?

LUTDeCrawl -> check
threshold 10/10
scene change 25
max diff 50

none mask

------------------------------

basicVSR+++ -> check

NTIRE 2021
length15
tile (x/y) 0/0
FP16
device 0

(masked)
edgemask (bloated) expand/shrink 1
non binarize or binarize 0.3
I think I adjusted the threshold on LUTDeCrawl, but I don't remember what settings I used. Smile
You can also try scaling the mask to keep more of the BasicVSR++ output.

Cu Selur
Pages: 1 2