Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Cannot Change Key Frames, changing key frames
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
cloudy3841
Posted: Sep 1 2014, 07:40 PM


Newbie


Group: Members
Posts: 3
Member No.: 24198
Joined: 11-September 08



When trying to compress to xvid, it shows a place to change key frames.
video has a current key frame size of 300.
Would like to change to 20 or 30 or even 50. to be able to edit out unwanted frames but 300 is too many
But if I change key frame size to 20 or 50, when I save video it, the resulting video has key frame size of 300.
I must be doing something wrong, since there is a place to change the size of the key frames.
 
     Top
Abrazo
Posted: Sep 1 2014, 08:37 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



I did a test with the latest version of the Xvid codec (1.3.3).
(downloaded from http://downloads.xvid.org/downloads/Xvid-1...3-20140407.exe)

In VirtualDub, via the Video-menu > Compression > Xvid MPEG4 Codec > Configure > at Quality preset = General purpose, click the "more..." button > confirm by clicking "Yes" > in the "Motion"-tab, you can set the "Maximum I-frame interval". Set this to for exemple "25" and confirm by clicking OK, OK, OK.

Now execute a test by creating a new resulting Xvid-video (File > Save as AVI...).

Myself, I can confirm that in that resulting video the maximum key frame interval is 25 (or less).

REMARK:
In VirtualDub, via the Video-menu > Compression..., you have got the "Select video compression"-dialogbox with an option (checkbox) to set "Force key frames every xx frames", but I doubt that this works. You should rather set this in the encoder settings itself (like explaned here above).
 
     Top
dloneranger
Posted: Sep 1 2014, 08:45 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



It sounds like you want to chop parts out of a video using direct stream copy mode and know you are restricted to starting on keyframes
You might not know that you can also use full compression mode with the 'smart rendering' option
This only recompresses parts it needs to around the cut/s, and copies the rest in direct stream mode
Effectively giving you the best of both worlds
(you must set your compression codec to closely resemble the original files settings though)

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
Abrazo
Posted: Sep 1 2014, 09:00 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



So, two different approaches to answer the question.

Let us hope it helps.
 
     Top
cloudy3841
Posted: Sep 1 2014, 10:17 PM


Newbie


Group: Members
Posts: 3
Member No.: 24198
Joined: 11-September 08



Wow, you guys are great. thanks alot.
I've been having to deal with this for years.
and didn't have enough sense to ask.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Sep 1 2014, 07:40 PM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions