Results 1 to 2 of 2

Thread: Extract video part using mencoder

  1. #1
    Join Date
    Apr 2009
    Beans
    1

    Extract video part using mencoder

    Hi All,

    I am trying to extract specific parts of a video (MPG format) using MEncoder.

    1. Upon using:
    mencoder inputFile.mpg –ss 0.0 -endpos 600.0 -ovc copy -oac copy -o outputPart1.mpg

    This allows me to extract the first 600 seconds of the video.

    2. To extract the next 600 seconds, I use the following:
    mencoder inputFile.mpg –ss 600.0 -endpos 600.0 -ovc copy -oac copy -o outputPart2.mpg

    For some reason, this only yields the last 200 seconds (approx.) of the video.


    Am I missing something here? Any ideas would be very helpful!

    Thanks!



    epithemeus

  2. #2
    Join Date
    Oct 2007
    Beans
    250

    Re: Extract video part using mencoder

    You can only extract excerpts from a video without reencoding starting with a keyframe.

    My guess would be your video contains very few keyframes.

    So, either reencode while extracting excerpts or use a program like Avidemux to find keyframes so you can decide where to cut.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •