AviSynth, CCE problem

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by TyMan4325, Sep 14, 2005.

  1. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    I am using AviSynth with a couple of filters. Everything looks great I start to frameserve to CCE. It finishes but my mpegs are only like 6min long. The source files were 45 each. I don't understand what is going on. I open the scripts with windows media player and it's all there. Is it safe for me to assume that it's CCE? Thanks for all your help guys.
     
  2. vurbal

    vurbal Administrator Staff Member

    Joined:
    Nov 30, 2002
    Messages:
    2,573
    Likes Received:
    1
    Trophy Points:
    66
    What does the output from CCE look like? Is it the beginning of the file, the end of the file, or something else entirely? It would also help if you post your entire AviSynth script.
     
  3. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    When I try and play the file it's only the first 6min. My script is:
    Avisource("E:\Episode1")
    BicublinResize(720,480)
    Undot()
    Blur(.05,.05)
    FluxSmoothST()

    My source framerate was 23.976fps and I applied a 3:2 puilldown with CCE. Now I notice that when I import the footage in Adobe premiere and after effects the whole file is there. However, when I play the file in Realplayer or Windows Media Player it's only the first 6min. My source framerate was 23.976fps and I applied a 3:2 puilldown with CCE. I don't get it. Any help is greatly appreciated. Thanks.
     
  4. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Well If you Import it into Premier and it is all there then the Problem is not with the Mpeg-2 files but more Likely with Media Player which isn"t meant to play Mpeg-2 files anyways....

    For Playback of Mpeg files you should allways use a Software DVD Player because Media Player isn"t meant to Play Mpeg files because it can not read Aspect ratio Flags in Mpeg-2 files so it will never Display the Video correctly....

    Since you Know the File is all there Now I guess your problem with the Mpeg files is solved??
     
    Last edited: Sep 15, 2005
  5. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    Yup thanks guys. I heard you should never play mpegs with WMP. I guess I know why now. Thanks for you help and sorry for wasting your time.
     
  6. vurbal

    vurbal Administrator Staff Member

    Joined:
    Nov 30, 2002
    Messages:
    2,573
    Likes Received:
    1
    Trophy Points:
    66
    No big deal. Just pass the knowledge on when you get a chance. Oh, and for future reference it's usually a good idea to add ConvertToYUY2() to the end of the script. When you don't do that you end up with some external codec doing the conversion since CCE can't decode YV12 (ie MPEG colorspace). It's probably being converted by either Divx or Xvid.
     
  7. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the tip!
     
  8. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Actually the Lastest version of CCE SP (V2.70) can decode YUY2 colorspace and in 32 bit RGB...If you go into the Miscilanius Options there are options that you can enable to Decode in YUY2 and RGB32....

    Cheers
     
  9. vurbal

    vurbal Administrator Staff Member

    Joined:
    Nov 30, 2002
    Messages:
    2,573
    Likes Received:
    1
    Trophy Points:
    66
    I didn't say it couldn't decode YUY2 (or didn't mean to anyway), But AviSynth 2.5x outputs YV12 unless you convert and CCE doesn't decode YV12. That means that if you give it a YV12 input file it will either give you an error or have an external codec convert to YUY2. Unless you know for sure what codec is converting and that the codec will do at least as good a job as AviSynth it's best to keep the ConvertToYUY2 line at the end of the script.
     
  10. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    Hey guys forgive me because I still new. But what is the difference between YUY2 and YV12. I know it has to do with colour types. If it's too long to get into here can you point in to a thread or a site that can explain it? Thanks again, you guys have been a big help.
     

Share This Page