VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. 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.
    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)
    And here's what players say:
    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 ........"
    Quote Quote  
  2. Apparently the players don't support planar RGB. Convert back to interleaved RGB at the end of the script with ConvertToRGB().
    Quote Quote  
  3. Originally Posted by jagabo View Post
    Apparently the players don't support planar RGB. Convert back to interleaved RGB at the end of the script with ConvertToRGB().
    Problem Solved! Thank you so much, jagabo.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!