I am a newbie to Avisynth. And I'm trying to run this Avisynth script I found online to test whether a frame has any 720p detail.
I run it with PotPlayer, MPC-HC, VLC, and Windows Media Player, but all of them show that a decoder named " G3" cannot be found.
Here's the script.
And here's what players say:ImageSource("C:\Users\D9043\Desktop\test.png")
ConvertToPlanarRGB()
source = last
z_Spline36Resize(1280, 720, dither="error_diffusion")
subtitle("720p upscale")
z_Spline36Resize(1920, 1080, dither="error_diffusion")
upscale = last
Interleave(source, upscale)
AVI/WAV File Source::Avisynth video #1
==========================
" G3" Video decoder is required to play the file.
==========================
Media Type 0:
--------------------------
Video: G3 1920×1080 48.00fps
[AM_MEDIA_TYPE]
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {08003347-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 6220800
cbFormat: 88
[VIDEOINFOHEADER]
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 208333 (48.000 fps)
[BITMAPINFOHEADER]
biSize: 40
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 24
biCompression: G3
biSizeImage: 6220800
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 cd 2d 03 00 00 00 00 00 ........?-......
0030: 28 00 00 00 80 07 00 00 38 04 00 00 01 00 18 00 (...€...8.......
0040: 47 33 00 08 00 ec 5e 00 00 00 00 00 00 00 00 00 G3...?^.........
0050: 00 00 00 00 00 00 00 00 ........"
+ Reply to Thread
Results 1 to 3 of 3
-
-
Apparently the players don't support planar RGB. Convert back to interleaved RGB at the end of the script with ConvertToRGB().
Similar Threads
-
There is no function named "imagesource"
By leonsk in forum EditingReplies: 8Last Post: 30th Oct 2020, 07:19 -
AviSynth Problem
By jseo13579 in forum EditingReplies: 4Last Post: 17th Nov 2018, 09:26 -
AviSynth - hasaudio problem
By queensoft in forum Video ConversionReplies: 18Last Post: 2nd Mar 2018, 08:47 -
Avisynth for interlace problem
By lordsmurf in forum RestorationReplies: 5Last Post: 3rd Jan 2018, 08:08 -
AviSynth ImageSource Requiring Image 0 in Sequence Even With 'Start' Set
By koberulz in forum Newbie / General discussionsReplies: 2Last Post: 29th Dec 2017, 11:06