Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Anyone tried playing .avs files yet (AviSynth)?

  1. #1
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,026

    Anyone tried playing .avs files yet (AviSynth)?

    Just wondering if anyone has tried playing an AviSynth .avs file yet?

    These are small text files that can be used during the playback of AVI files to describe changes that should be applied. A couple of examples of what you'd use them for with GB-PVR on the MVP include dynamically resizing AVI files so they play fullscreen on the MVP, or altering the frame rate play correctly on the MVP (e.g. playing NTSC video on PAL MVP).

    AviSynth seems really powerful to me. Its got some great features which I'm sure most people are not aware of.

  2. #2
    Join Date
    Mar 2005
    Location
    Colorado, USA
    Posts
    86

    Yes I have

    When I try to play this .avs file:

    DirectShowSource("101Act1 enemy unknown pt 1.mov")

    on my MVP, I get the video on the TV, and the audio usually comes through the computer running the server (not running the client). In addition, it usually stops after about 20 seconds, the same amount of time I am able to pla DVI .avis.


    (The .mov is from http://www.hiddenfrontier.org/ - a fan star trek series.)

    Stan

    v0.94.12 GBPVR, 2.5.23207 MVP

  3. #3
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,026
    I havnt tried a .mov file, but I'm downloading one from hiddentfrontier now to try.

    In addition, it usually stops after about 20 seconds, the same amount of time I am able to pla DVI .avis.
    What speed CPU is in your machine?

  4. #4
    Join Date
    Jul 2005
    Location
    Slowly settling down in Europe
    Posts
    469
    What is thy bidding, my master? Command, and I will obey
    Use the dark avisynth of the force to crush the rebel MVP into submission? Done!

    Seriously, it works like a charm
    I took a small clip from "Along came a spider", which was 576*256 and 23.976FPS (so something the MVP really can't play correctly) and here goes

    Code:
    AVISource("Along Came A Spider.avi")
    ConvertToYUY2
    BilinearResize(352,152)
    AddBorders(0,44,0,44)
    This resizes to 352*240. Plays with a correct aspect ratio on the MVP, however I get audio out of sync.
    No problem, let's change the FPS
    Code:
    AVISource("Along Came A Spider.avi")
    ConvertToYUY2
    ConvertFPS(29.97)
    BilinearResize(352,152)
    AddBorders(0,44,0,44)
    Voilą! plays flawlessly.
    As long as I was there I thought I'd check on that 720*480 vs 640*480 question we had the other day
    Code:
    AVISource("Along Came A Spider.avi")
    ConvertToYUY2
    ConvertFPS(29.97)
    AddBorders(0,64,0,64)
    LanczosResize(720,480)
    OK it does play, and no letterboxing is added by the MVP. However, whereas the aspect ratio is right on the PC, but wrong on the MVP. Image is stretched vertically, so I do suspect the MVP is reconverting that to 640*480
    So to confirm, I did:
    Code:
    AVISource("Along Came A Spider.avi")
    ConvertToYUY2
    ConvertFPS(29.97)
    AddBorders(0,88,0,88)
    LanczosResize(640,480)
    And bam, works fine again. Good aspect ratio, crisper image than the 352*240 one, and audio stays in sync.

    Now all I have to figure out is why the colors in the avisynth file are off both on the PC and the MVP (looks like the blue green and red palettes have been switched around.

    DISCLAIMER: don't try this until your MVP can correctly play a AVI file at 640*480 and 29.97FPS (or 640*576 at 25 FPS for PAL). If you aren't there yet, there's a thread called MVP and AVIs that can help you achieve that.

  5. #5
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,026
    Great. That sounds very successful then.

  6. #6
    Join Date
    Jul 2005
    Location
    Slowly settling down in Europe
    Posts
    469
    It does to me... All I got to find out is why avisynth is screwing up the colors, but that's a windows issue. Happens when I just play the AVS with media player as well...
    EDIT: congrats on hitting the 10K posts

  7. #7
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,026
    EDIT: congrats on hitting the 10K posts
    Doh! I should get a life. I hadnt noticed.

  8. #8
    Join Date
    Mar 2005
    Location
    Colorado, USA
    Posts
    86
    Quote Originally Posted by sub
    I havnt tried a .mov file, but I'm downloading one from hiddentfrontier now to try.

    What speed CPU is in your machine?
    1.5 G (AMD Athlon XP 1800)

  9. #9
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,026
    You're CPU speed is unlikely to be able to transcode to MPEG2 in realtime, which is why you're only getting 20 seconds or so. The playback position in the file is catching up to the encoding position in the file.

    I couldnt get AviSynth to play a .mov on my PC, let alone through GB-PVR and MVP.

  10. #10
    Join Date
    Mar 2005
    Location
    Lansing, MI, USA
    Posts
    463
    So I downloaded an avi and want to play it using avi synth. I installed AviSynth, set up a script as above, and the .avs file does not show up. How can I play it?

    EDIT: Just found it on Video Library. VA still needs to support this file extension, methinks.
    Last edited by Spartan; 2005-09-21 at 11:24 PM.
    GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

    Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
    LSI MegaRAID 300-8X SATA RAID
    1x 73GB SCSI @ 10K RPM (OS)
    3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
    2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
    Hauppauge HVR-1600

    Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
    1x 320GB SATA @ 7.2K RPM
    Antec NSX2480 Case
    MCE Remote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •