+ Reply to Thread
Results 1 to 16 of 16
What's failing? Are you talking about those jagged lines in the black letters or whatever they are? And you're saying it's in the source and even the Blu-Ray has it?
Better would be for you to provide your script and an untouched 10 second sample of the video where this happens.
Use an antialiasing filter. There are dozens to choose from. Play with the settings until you find something you like
Like everything in avisynth, it's about pros/cons. Nothing will fix this without destroying at least some detail. There is no filter that is perfect. This is temporal aliasing (watch it frame by frame, the pattern changes over time)
Or what did you have in mind exactly ? Maybe your expectations are a bit high ?
Last edited by poisondeathray; 25th Aug 2015 at 16:57.
I agree, the rough pixel edges shown in your images is aliasing. Whether it was in the original or not is anyone's guess.- My sister Ann's brother
What does "muxed it" mean? Are you referring to your sample? If you muxed it, what happened to the audio? The MKV has 25-frame GOP's, which is not used for official 29.97 BluRay. BluRay uses 1-second and 2-second GOP's. 25-frame GOP's are for 25 1080i PAL BluRay. What you submitted is closer to to AVCHD.
Here are the official BluRay specs: https://www.videohelp.com/hd#tech.
Here are the specs on the sample you submitted:
General Unique ID : 197010173666297412467321356186497337617 (0x9436C77EFA724174BB13BF10FC784911) Complete name : E:\forum\pixelate\00014.mkv Format : Matroska Format version : Version 4 / Version 2 File size : 21.7 MiB Duration : 6s 90ms Overall bit rate mode : Variable Overall bit rate : 29.9 Mbps Encoded date : UTC 2015-08-25 20:13:19 Writing application : mkvmerge v8.3.0 ('Over the Horizon') 64bit Writing library : libebml v1.3.1 + libmatroska v1.4.2 DURATION : 00:00:06.090000000 NUMBER_OF_FRAMES : 146 NUMBER_OF_BYTES : 22780238 _STATISTICS_WRITING_APP : mkvmerge v8.3.0 ('Over the Horizon') 64bit _STATISTICS_WRITING_DATE_UTC : 2015-08-25 20:13:19 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 6s 89ms Bit rate mode : Variable Bit rate : 29.3 Mbps Maximum bit rate : 39.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.590 Stream size : 21.3 MiB (98%) Default : Yes Forced : No
Last edited by LMotlow; 26th Aug 2015 at 12:06.- My sister Ann's brother
MkvmergeGUI, disabled the audio track, set the Split mode on Global to "split by parts based on timecodes", enter 00:00:00-00:00:06 (i wanted only the first 6 seconds from the video) and clicked on "Start muxing". In your code stands "Frame rate: 23.976 fps" btw.
This is my Avisynth script:
Last edited by Ninelpienel; 25th Aug 2015 at 17:27.
MediaInfo's data, not something I made up. MediaInfo says 29.976, as shown. Two HD editors that I use report the MKV's frame rate as 97.976. That's easy enough to correct in processing, but.......
You haven't told us enough. What are you using to downsample? What are you downsampling to? What final format do you want for output? "Downsample" usually means to resize to a different resolution or sampling rate than the original. Is that what you're trying to do? Poisondeathray's post is correct. Downsampling and anti-aliasing always involve a detail cost to some extent. There is no way around it. The final results depend on the problem and how it's handled.- My sister Ann's brother
This are my next steps:
ly = DebilinearM(1280, 720, lsb_inout=true, cubic=false)
lc = dither_resize16(1280*2, 720*2, src_left=0.25, kernel="blackman")
lu = lc.utoy()
lv = lc.vtoy()
Thanks for that, but why are doing it? Do you really want 1280x720 or 1280*2x720*2? That's not BluRay, either, so I guess you want HDD-only playback and generic MKV. That script won't fix rough edges or line twitter.
There are hundreds of possible Avisynth errors. What error are you getting?- My sister Ann's brother
This filter is designed to reverse the effects of bilinear upsampling. Parameters and sampling pattern try to mimic AviSynth's BilinearResize. Debilinear is only effective on "ideal" or close to ideal conditions. The conditions are that the material has to be a pure bilinear upscale, and you have to know exactly what was the original resolution and the possible sub-pixel shifts. Any other material overlayed on top of the upscale (like native 1080i/1080p credits) will cause ringing or visual defects. Same with compression artefacts, which will be amplified to death, so debilinear is clearly not suited for TV streams or any other low quality sources.
it doesn't sound like a good idea to use DebilinearM
I'm not really familiar with the whole dither tool set, but downscaling to 1280x720, then the source to 2560x1440 and then merging the color planes, seems like a messed up version of what folks do when they use their 8bit 4k 4:2:0 (or was it 4:2:2) captures to get 1080p 10bit 4:4:4 content.
-> I doubt that the whole:
dither_convert_8_to_16() ly = DebilinearM(1280, 720, lsb_inout=true, cubic=false) lc = dither_resize16(1280*2, 720*2, src_left=0.25, kernel="blackman") lu = lc.utoy() lv = lc.vtoy() ytouv(lu,lv,ly)
Personally I too would use something like EdgeSmoothFast and Hysteria,...users currently on my ignore list: deadrats, Stears555
@Selur, thanks for more details on DebilinearM. No wonder I didn't like it. Wrong source material.- My sister Ann's brother