VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. Member videocheez's Avatar
    Join Date
    Jan 2003
    Location
    United States
    Search Comp PM
    I'm trying to use CCE to convert some Type1 DV home movies to MPEG2. I finally got my script dialed in..... I think. When I started encoding, CCE stopped and gave an error that said I need a codec to handle yv12. Does anyone know of this codec. Any help would be appreciated.

    Thanks in advance,

    VC
    This is so much fun!
    Quote Quote  
  2. Member
    Join Date
    Jun 2002
    Location
    United States
    Search Comp PM
    what is your script. What is your source codec.
    Quote Quote  
  3. Using AviSynth script? Add the line convertToYUY2() then, CCE doesnt support YV12.
    Quote Quote  
  4. Member videocheez's Avatar
    Join Date
    Jan 2003
    Location
    United States
    Search Comp PM
    Man you guys are fast. I may actually get a chance to start the conversion before I go to bed tonight. This is my script:

    AVISource("C:\Documents and Settings\daddy\My Documents\Adobe\Premiere Pro\7.0\Adobe.ds\arrowoflight\gknot\arrowforeditin gna.avi")
    ConvertToYV12()
    SeparateFields()
    odd=SelectOdd.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
    evn=SelectEven.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
    Interleave(evn,odd)
    Weave()
    DoubleWeave.SelectOdd()
    FlipVertical

    Whe I first tried this, I didnt have the flip vertical line in there and the movie was upside down.
    Instead of the flipvertical line I did have ConverToYUY2 and the movie played right side up but I did'nt know if it would work to conver to YV12 in one part of the script and then to conver to YUY2 in another part. I think this convolution plugin requires YV12.

    Thanks in advance,

    VC
    This is so much fun!
    Quote Quote  
  5. You can do colorspace conversions as many times as you like in a script, but its best to limit the use of it as those conversions are not lossless. QuEnc works with YV12 btw.
    Quote Quote  
  6. Member
    Join Date
    Apr 2002
    Location
    Oskeeweewee Ontario
    Search Comp PM
    Just out of curiosity, is this script serving straight off the timeline of Premiere Pro??

    also

    Have you had success in importing an .AVS script into Premiere PRo??
    Quote Quote  
  7. Member videocheez's Avatar
    Join Date
    Jan 2003
    Location
    United States
    Search Comp PM
    Originally Posted by pijetro
    Just out of curiosity, is this script serving straight off the timeline of Premiere Pro??

    also

    Have you had success in importing an *.AVS script into Premiere PRo??
    No I got this script from the DV guide at www.doom9.org. I had troubles at fiorst because I did not not have the Convolution3D plugin already installed. I haven't tried importing an Avisynth script into Premier Pro. Why would I want to do that? Let me know what I could gain by importing the script into premier.
    Also thanks for the tip about QuENC Thor.

    Thanks,

    DS
    This is so much fun!
    Quote Quote  
  8. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    I also use AviSynth and Convolution3D but my script is a bit different. I can't find it now (I looked just yesterday actually) but I swear I got it from the AviSynth website i.e., how to properly do Convolution3D with an interlaced source.

    Mine looks like this (and not is PICVideo MJPEG AVI captures not DV):

    Code:
    LoadPlugin("Convolution3d.dll")
    avisource("D:\CAPTURE\capture.avi")
    Trim(423,214536)
    crop(6,8,-2,-8)
    SeparateFields() 
    even = SelectEven(last).Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
    odd = SelectOdd(last).Convolution3D (0, 6, 10, 6, 8, 2.8, 0) 
    Interleave(even, odd) 
    weave() 
    AddBorders(8,8,8,8)
    AssumeFPS(29.970, true)
    ConvertToYUY2()
    Notice my use of Convolution3D is very similiar to yours but does differ slightly as I don't have these two lines:

    Code:
    DoubleWeave.SelectOdd() 
    FlipVertical
    I understand what the 2nd one here does but not the 1st one???

    Anyways keep in mind that I don't work with DV AVI but ...

    Why do you have the ConvertToYV12() line before Convolution3D? My understanding is that the newest AviSynth 2.5x version of Convolution3D works with YUY2 so in short maybe you just need to use ConvertToYUY2() instead of ConvertToYv12() (upon loading the file) and cut out the ConvertToYUY2 at the end of the script.

    In fact I have ConvertToYUY2 at the end of my script but I don't think I need it because when I don't use it ... it still works. I'm told PICVideo MJPEG uses YUY2 so maybe *I* don't use that but I can see that you would need it for DV AVI since DV AVI is what ... YV12? I thought I read that. But if it is YV12 then why the ConvertToYV12() at the start of the script?

    hehehe

    Not trying to confuse things ... just trying to help you out.

    Plus I need to find that bit about Convolution3D ... you said it was in the DV section of the AviSynth website?

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  9. Member
    Join Date
    Apr 2002
    Location
    Oskeeweewee Ontario
    Search Comp PM
    VIDEOCHEEZ wrote:

    Why would I want to do that? Let me know what I could gain by importing the script into premier.
    Because i get to import a DVD2AVI framserved video into Premiere. Worked great with 6.5..IT allowed me to take DVD footage, and create my own custom menus...
    I just realized that Premiere Pro accepts .m2v's directly, so i'll see how that goes..
    Plus the fact, many people would probably prefer to use AVISynth's filters rather than PRemiere's, like LanczosResize, or Convolution, etc...
    Quote Quote  
  10. Member
    Join Date
    Jun 2002
    Location
    United States
    Search Comp PM
    You need the
    DoubleWeave.SelectOdd() to handle the tff/bff issue with cce. This should be your next to last command before converttoyuy2() in your script. Just make sure that you do not select tff in CCE. This tff comes in different menus depending on what version of cce you are using. As far as the flipvertical just dont do this especially if you dont know what you are doing
    Quote Quote  
  11. Member
    Join Date
    Jul 2002
    Location
    United States
    Search Comp PM
    don't know if this is relevant or not, but my tweak works as follows:
    go to the registry key
    hklm\software\microsoft\windowsNT\currentversion\d rivers32
    enter a new string value, label it YV12, then modify it with divx.dll or xvid.dll both can decompress yv12.
    CCE will then accept any yv12 input without the need to convert to yuy2() (assuming your input is yv12)
    Quote Quote  
  12. Member videocheez's Avatar
    Join Date
    Jan 2003
    Location
    United States
    Search Comp PM
    Originally Posted by troyvcd1
    You need the
    As far as the flipvertical just dont do this especially if you dont know what you are doing
    I did not end up using flip vertical instead I converted to YUY2 at the end of the script. This was the final script that worked for me:
    AVISource("C:\Documents and Settings\daddy\My Documents\Adobe\Premiere Pro\7.0\Adobe.ds\arrowoflight\gknot\arrowforeditin gna.avi")
    ConvertToYV12()
    SeparateFields()
    odd=SelectOdd.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
    evn=SelectEven.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
    Interleave(evn,odd)
    Weave()
    DoubleWeave.SelectOdd()
    ConvertToYUY2()

    The 12 nminute DVD turned out ok. The quality was not as good as I would have expected considering the high quality of the captured DV but iwasn't using a tripod and the images are not to stable. I think the camera man is the weak link.
    Thanks for all of yor help. DVDRhelp.com has never let me down.
    This is so much fun!
    Quote Quote  
  13. Originally Posted by lpn1160
    go to the registry key
    hklm\software\microsoft\windowsNT\currentversion\d rivers32
    enter a new string value, label it YV12, then modify it with divx.dll or xvid.dll both can decompress yv12.
    CCE will then accept any yv12 input without the need to convert to yuy2() (assuming your input is yv12)
    I think that will be a conversion, CCE will probably use the specified DLL file to convert the YV12 to YUY2, the same loss will be there as if avisynth converted it to YUY2. Theres a big chance avisynth can do it just as good or better. No matter what driver you use to make a colorspace conversion, CCE still can NOT process YV12, so there IS a conversion.
    Quote Quote  
  14. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    videocheese,

    what's your CAM make ??

    I use TRV22. Great dv cam, w/ great lens - output quality very good. Not too
    much noise under low light, but not the greatest under such, either, but still
    better than my ZR-10 :P

    I think that the only time when you should use any kind of "filtering" for dv cam
    home footage is when there is too low a ligth source (low light conditions)
    Outside footage should not require any filtering (ie, your Convolusion3D)

    I think that the mans worse enemy when footaging is when cam is in hands and man pans cams w/out any "smooth control motion" up/down/left/right etc.
    .
    This make encoding the Interlace source much worse because the separation
    of fields are greater (IMO)

    Regarding your script..
    Are you de-interlacing there ??

    You really should encode with Interlace (MPEG-2)
    -vhelp
    Quote Quote  
  15. Member videocheez's Avatar
    Join Date
    Jan 2003
    Location
    United States
    Search Comp PM
    Originally Posted by vhelp
    videocheese,

    what's your CAM make ??

    Are you de-interlacing there ??

    You really should encode with Interlace (MPEG-2)
    -vhelp
    My camera is a Canon GL2. I really like it. I didn't have my tripod with me for this particular event that I was filming and I just didn't do a good job holding the camera steady.
    I did not deinterlace this. Should I be deinterlacing? I read that If intend to show this on a TV then I should not deinterlace. I'm going to now try to convert to Divx and for this I will attemp to to deinterlace since my intent is for PC viewing.

    VC
    This is so much fun!
    Quote Quote  



Similar Threads

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