1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to cut xvid avi by a non-key frame?

Discussion in 'DivX / XviD' started by Kirill001, Aug 2, 2010.

  1. Kirill001

    Kirill001 Member

    Joined:
    Aug 2, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    Good afternoon.

    I've got a file avi hdtv xvid-kyr. I need to cut it by a non-key frame.

    I've searched for information in internet, and instead of an answer found only contraversies and discussions.

    I'm willing also not to get extra size. The source file is 700Mb and lasts 70 minutes, for example. Hence I need 1 minute to be in average 10 Mb. 15-20 Mb is not a satisfying case. I tried to process the recompression in such programs as AviSpliter and AviDemux, with the codec Xvid 1.2.2. The quality of the result fragment was worse than the one of the source video. I varied values Target Quantizer, Target Bitrate in Avi Splitter, and Average Bitrate in AviDemux.

    Tell me, please, how to resolve the situation? How to solve the problem of non-key frame cutting?

    Thanxx.
     
  2. Kirill001

    Kirill001 Member

    Joined:
    Aug 2, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    Answer is Virtualdub with Smart Rendering enabled and the Xvid codec. It should only re-encode the GOP that was cut, and not the rest of the video, so virtually no quality loss.
     
  3. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    In VirtualDub, if you select 'Video' > 'Smart Rendering' then 'Compression' and select the same codec as the source file, you can cut on a non-key frame and save the video.
    Only the area of the cut will be re-encoded.
    Note that DivX and XviD are essentially the same codec, but you have to use the codec specified in 'File' > 'File information'.

    Gee, Kirill001, you answered your own question while I was agonizing over mine.

    Edit:I put in the bit about 'File Information' I had meant to add earlier;the cat was howling at me to let it out and it derailed my train of thought.
     
    Last edited: Aug 2, 2010

Share This Page