VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Sep 2001
    Location
    Japan
    Search Comp PM
    Is it possible to simulate a filstrip (i.e. 2 or more consequtive fremes stacked horizontally)?

    I tried this, but it doesn't work:

    l0=avisource("test.avi")
    l0=l0.converttoYuY2()
    l1=l0.selectevery(4,0)
    l2=l0.selectevery(4,1)
    l3=l0.selectevery(4,2)
    l4=l0.selectevery(4,3)
    last=stackhorizontal(l1.showframenumber(),l2.showf ramenumber(),l3.showframenumber(),l4.showframenumb er())
    StackVertical(last, last.reverse()) #reverse is only for demo

    Background: many TV stations overlap the movie after a comercial, i.e. some seconds (from 5 to 30), are shown gain, when the next part of the movie is transmitted.What I need is, to find the exact frame#s (end of 1st part and start of 2nd part) for cutting the comercials. It would be nice, to be able to preview the cutting points with VDub, showing part 1 in the upper half and the next in the lower part.

    But with my example, all frames are the same! Any idea, how to solve that? Or isn't it possible in the first place?
    Quote Quote  
  2. Member
    Join Date
    Sep 2001
    Location
    Japan
    Search Comp PM
    I found my error:
    if I had written it this way:
    .
    .
    .
    l1=l0.selectevery(1,0)
    l2=l0.selectevery(1,1)
    l3=l0.selectevery(1,2)
    l4=l0.selectevery(1,3)
    .
    .
    it should have worked.
    Now it works.
    Quote Quote  
  3. Member
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    Your second version doesn't do what the original version was intended to do.
    • Your original version is intended to "page" through the filmstrip, so that each frame appears only once, on one Vdub "page."
    • Your second version instead "scrolls" through the filmstrip, such that each frame can appear up to four times, because each frame gets shifted one position to the left on each subsequent VDub "page-view" of the filmstrip.
    Here's a corrected version that preserves your original intent:

    l0=avisource("test.avi").showframenumber()
    l0=l0.converttoYuY2()
    l1=l0.selectevery(4,0)
    l2=l0.selectevery(4,1)
    l3=l0.selectevery(4,2)
    l4=l0.selectevery(4,3)
    last=stackhorizontal(l1,l2,l3,l4)
    StackVertical(last, last.reverse()) #reverse is only for demo

    In brief: Your original version did produce the desired output, but numbered the frames incorrectly.
    Quote Quote  
  4. Is this a record? Digging up a thread over 10.5 years old?
    Quote Quote  
  5. *gig*, might not be the worst idea to set threads 'read only' if they hit some 'expiration date' (in example after 5 years),....
    Quote Quote  
  6. Member
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    I responded to the above because I haven't found any other discussion on how to use AVISynth to convert a video into a filmstrip-type format.

    If you know of any, please post its link here.

    Otherwise, the post I responded to is not outdated, no matter when it was posted. And both it any my response may serve others who have a similar interest in creating filmstrips.
    Quote Quote  



Similar Threads

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