VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Hi, I try to cut some words out of some speeches. The problem is, that the video fragments become very short and do not always start with a keyframe, which causes ugly artefacts. How can I fix this problem?
    Quote Quote  
  2. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    Convert the whole video to a lossless format first then edit that. When done, convert the edited version to any format you want.
    Quote Quote  
  3. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Or export the audio and edit is separately in an audio editor, where frame have no influence. Once done, import the audio to replace the original.
    Read my blog here.
    Quote Quote  
  4. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by guns1inger View Post
    Or export the audio and edit is separately in an audio editor, where frame have no influence. Once done, import the audio to replace the original.
    Yeah, do this.

    The difficulty, however, will be dependent on the format of video you have.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  5. Well, exporting only audio is not an alternative. I do need audio and video parts.

    What lossless format should I take? MPEG1? What audio, wav. I use mencoder.

    Best Regards
    Quote Quote  
  6. Originally Posted by Stasik0 View Post
    Well, exporting only audio is not an alternative. I do need audio and video parts.
    Did you not read the part about importing the audio after the edit? guns1inger's suggestion is far and away the best so far.
    Quote Quote  
  7. Yes, but my problems is with the video artefacts, not audio. Audio Track is ok.
    Quote Quote  
  8. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Perhaps you can more clearly explain what you are trying to do. If you are trying to gram the video of a single word, then you will have to re-encode the video if not cutting on keyframes, unless you use either uncompressed video (very large files) or a format that uses intra-frame compression only (DV being the most compact example).

    AVI Demux should be able to do what you need. If you are removing short snippets and keeping the rest, you can use it's built-in smart encoding to reduce the amount of re-encoding you have to do.

    Recent builds of virtualdub also support smart encoding, although the range of formats that virtualdub can handle is less than AVI Demux.
    Read my blog here.
    Quote Quote  
  9. That is not precise what i want to do.

    I want to cut a speech of a politician into many short clips (one clip for each word).

    The problem is that in theses very short monies, the key-frames are not on the beginning.

    These clips are often shorter than 1 sec. I'd like to do it from command line under linux. ffmpeg or mencoder for example.

    Best Ragards
    Quote Quote  
  10. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    The whole command-line under linux thing is kinda important . . . . . . just saying.

    You can get avisynth working under wine. That is probably your best solution. Frame accurate, script driven, feed to your encoder to encode. You may have to write some pearl or similar to create your avisynth scripts for you.
    Read my blog here.
    Quote Quote  
  11. will it place keyframe to the beginngin of the part which is cut off?
    Quote Quote  
  12. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Keyframes are created when you encode. You will get one for the first frame, and subsequent keyframes will be created depending on the interval you select when you configure your encoder, and the codec being use. For example, DV has a keyframe every frame.
    Read my blog here.
    Quote Quote  



Similar Threads

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