VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Feb 2012
    Location
    Switzerland
    Search PM
    Hello everyone,

    I am trying to create PIP using avisynth, but the second video (PIP) plays very slow. For example, when the video ends, that goes to the 30th sec.

    They have nearly the same durations:

    Main video: 12:40
    PIP video: 10:53

    The main video has 40 mb and the pip video has 2.54 mb size.

    The script i am using is:

    Code:
    main=avisource("mytalk_newavi.avi").ConvertToYUY2()
    pip=avisource("slayt.avi").BicubicResize(320,240).ConvertToYUY2()
    Layer(main,pip,"add",255,320,0)
    I am using Gomplayer to play also tried with the VirtualDub.

    My computer has Intel Core 2 duo 2.2 Ghz, 2gb ram and 1gb Video card.

    What may be caused this problem?

    Thank you for your replies.
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    1) both videos should have the same "FPS" (playback speed)

    2) both videos should have the same duration

    Otherwise, you'll have to do the required tweaks
    (adjust/convert the playback speeds, add dummy/blank frames, trim, whatever).
    Quote Quote  
  3. Member
    Join Date
    Feb 2012
    Location
    Switzerland
    Search PM
    Thank you, i will try and write the result here...
    Quote Quote  
  4. The framerate is taken from the first clip ('main' in your example). Whatever the second one was originally, it becomes the same framerate as the first.
    Quote Quote  
  5. Member
    Join Date
    Feb 2012
    Location
    Switzerland
    Search PM
    Thank you, i changed the fps of the second video and it is working.

    I did not change the duration, but it is working well
    Quote Quote  



Similar Threads

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