VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Dec 2012
    Location
    Atlantica
    Search Comp PM
    I got a problem with ffmpeg video cutting. Videos not cut properly. 1 second between the first and second video is lost. Shred files from different servers to handle. Processed want to merge the files again. I know very little english.


    part1.avi split code:

    ffmpeg -i input.avi -ss 00:00:00 -t 00:01:00 -vcodec copy -acodec copy part1.avi

    part2.avi split code

    ffmpeg -i input.avi -ss 00:01:00 -t 00:01:00 -vcodec copy -acodec copy part2.avi

    ffmpeg -i part1.avi = 00:01:00.02

    ffmpeg -i part2.avi = 00:01:00.02


    Part1 console output:tny.cz/ebf2cc00
    Part2 console output:tny.cz/f1076518
    Part1 mediainfo(mplayer):tny.cz/d34a2cf9
    Part2 mediainfo(mplayer):tny.cz/bf4b56b4
    Quote Quote  
  2. ffmpeg can only cut on keyframes (I-frames) .

    So if your source xvid video used typical settings, that might be anywhere from 1-300 frames accuracy (that's the typical GOP size) . For a 24p framerate that is 0-12.5 seconds accuracy

    Tools like vdub, avidemux can smart render xvid (meaning they re-encode the frames inbetween I-frames if you cut within a GOP, not at the end of a GOP, directly preceding an I-frame), so they are frame accurate, but it's more difficult to batch process . They do have CLI interface options, but not sure how to do it with them
    Quote Quote  
  3. Member
    Join Date
    Dec 2012
    Location
    Atlantica
    Search Comp PM
    Originally Posted by poisondeathray View Post
    ffmpeg can only cut on keyframes (I-frames) .

    So if your source xvid video used typical settings, that might be anywhere from 1-300 frames accuracy (that's the typical GOP size) . For a 24p framerate that is 0-12.5 seconds accuracy

    Tools like vdub, avidemux can smart render xvid (meaning they re-encode the frames inbetween I-frames if you cut within a GOP, not at the end of a GOP, directly preceding an I-frame), so they are frame accurate, but it's more difficult to batch process . They do have CLI interface options, but not sure how to do it with them
    Thank you. must follow a guide on how to ffmpeg?
    Quote Quote  



Similar Threads

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