VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Aug 2016
    Location
    United States
    Search PM
    I'm using AviSynth to change my video from VFR to CFR. I want to use it with another application that doesn't have AviSynth support, so I installed AVFS and created a file server. The problem is that when playing the served file, the video is garbled, but when playing the AVS script (even the one output by AVFS), it looks perfectly fine.

    Here's the AVS:
    Code:
    LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
    FFVideoSource("D:\Videos\Tools\Interpolation\tmnt.mkv", fpsnum=30000, fpsden=1001, threads=1)
    Here's what the video looks like when I play the AVS script in any software that supports AviSynth:

    Image
    [Attachment 54334 - Click to enlarge]


    Now here's what the served AVFS file looks like when I play it in any video software:

    Image
    [Attachment 54335 - Click to enlarge]


    What's especially strange about this, is if I pause the video, it will constantly blink between two color variations, and it does not do this while playing the video.

    Here's the AVFS error log:

    Code:
    Video stream :-
      Duration:     1813 frames, 00:01:00.493
      ColorSpace: YV12
      Width: 706 pixels, Height: 478 pixels.
      Frames per second: 29.9700 (30000/1001)
      FieldBased (Separated) Video: No
      Parity: Bottom field first.
      Field order: Assumed Bottom Field First
    No audio stream.
    AvfsWavMediaInit: Clip has no audio.
    Does anyone know what might be going on here? Again, there's nothing wrong with the AVS script itself, since it plays fine in every software that supports AviSynth. It seems to be some issue in the file serving process. Thanks for any help you could give.
    Quote Quote  
  2. 706x478 - Probably the dimensions need to be mod 4 (evenly divisible by 4) for your other program to upsample and display the 4:2:0 data correctly

    Either crop or pad the dimensions to mod4; or if keeping those dimensions - use a different pixel format such as YUV444 , or RGB . Many programs do not support YUV444
    Quote Quote  
  3. Member
    Join Date
    Aug 2016
    Location
    United States
    Search PM
    Originally Posted by poisondeathray View Post
    706x478 - Probably the dimensions need to be mod 4 (evenly divisible by 4) for your other program to upsample and display the 4:2:0 data correctly

    Either crop or pad the dimensions to mod4; or if keeping those dimensions - use a different pixel format such as YUV444 , or RGB . Many programs do not support YUV444
    That worked! Thank you. Strange that the AVS file worked fine. I guess AVFS made some colorspace assumptions that AviSynth does not.
    Quote Quote  



Similar Threads