VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    I've been using AVISYNTH to render out video clips through the command line using FFMPEG.
    (about 13 seconds a piece)

    But when exporting, the render sequence is cut short around 50 percent and the video is made.
    Oddly enough even though its missing frames..I can still play the video. *scratches head*

    The error occurs when trying to use one of synths resize functions.

    Is FFMPEGs use of that frame server broken, or am I witting this command wrong?

    ffmpeg -i test.avs -f mpeg -bt 3000k compiled.mpg

    Or if someone has experience with avisynth, maybe my script is off.
    (will display if asked)


    Thank you.


    (wasn't sure where to post)
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Version of ffmpeg is really important. Post your .AVS file.
    Quote Quote  
  3. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    avs script:

    mFst = ImageSource("***\For forum\0.jpg",0,450,29.97).fadein(90)
    mFst = animate(mFst,0,450,"crop",0,350,576,384, 0,0,576,384)
    mFst = BicubicResize(mFst,720,480,0,0.75)

    mLst = ImageSource("***\For forum\1.jpg",0,450,29.97).fadeout(90)
    mLst = animate(mLst,0,450,"crop",0,0,576,384, 0,405,576,384)
    mLst = BicubicResize(mLst,720,480,0,0.75)

    mFst = dissolve(mFst,mLst,90)
    mLst = 0
    mFst = ConvertToYV12(mFst,interlaced=true)

    return mFst

    and my current ffmpeg build is 7760
    from - http://arrozcru.no-ip.org/ffmpeg_builds/
    Quote Quote  
  4. Originally Posted by raschko
    the render sequence is cut short around 50 percent
    How you check this?
    Quote Quote  
  5. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    You can compare the rendered number of frames over the total

    (number of frame rendered*100)/total number of frames

    Quote Quote  
  6. Member gadgetguy's Avatar
    Join Date
    Feb 2002
    Location
    West Mitten, USA
    Search Comp PM
    You do realize that Dissolve is effectively removing 90 frames, right?
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  7. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    Originally Posted by gadgetguy
    You do realize that Dissolve is effectively removing 90 frames, right?
    Indeed, in order to disolve two source clips;
    They are overlapped, which does shrink the video.

    The issue is, I'm missing frames at the end..
    IE: the video starts to fade into black but stops before reaching #000000

    Quenc seems to solve the problem, but would rather have a command line app without a gui for flv/mpeg2 rendering.
    Quote Quote  
  8. Member gadgetguy's Avatar
    Join Date
    Feb 2002
    Location
    West Mitten, USA
    Search Comp PM
    Exactly how many frames are you missing?
    QuEnc can be run from command line. Most of the time I use it within bat files. I almost never use the gui.

    Edit: Try fadeout2() and see if it takes you all the way to full black.
    "Shut up Wesley!" -- Captain Jean-Luc Picard
    Buy My Books
    Quote Quote  
  9. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Yup. Quenc will run from the cmd line - Mencoder, and HC as well
    Quote Quote  
  10. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    Will try tonight and see what occures.
    Quote Quote  
  11. Member
    Join Date
    Feb 2007
    Location
    United States
    Search Comp PM
    HA! Got it working!
    The programming interface I am using is Adobe Director.
    And as such there is an extension to run command line applications.

    This xtra is the issue. (after perusing the returned dll values)

    So have switch to running a bat file..and everything seems to be in order.
    Quote Quote  



Similar Threads

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