View Full Version : How can I encode with a distinct framerate
zzd
25th December 2002, 10:29
I try to encode a avi file on VirtualDub with Xvid codec,But the codec have not explicitly framerate setting,If there some relation between framerate and quality or other parameters?
Thank you !
:confused:
d.co
26th December 2002, 02:56
I'll take a stab at this one, you might want to attach more info on your question but from what I can glean. Virtualdub allows you to set your frame rate just go to Video -> Framerate and you can choose to decimate at a given interval or set a strict framerate.
In terms of quality
Bigger FrameRate = More Frames to Compress = Lower Quality Video
of course before you go overboard remember that
Lower FrameRate = Jerkier Video = Unwatchable
You also can't increase the smoothness of motion in your video from whats already there. Virtual dub will only use video that it has "input" into it. (don't expect to make any video running at 10 fps run as smooth as 30 fps just by telling Virtualdub to run a larger framerate.
Hope that answers your questions
zzd
26th December 2002, 03:02
For example,change frame rate from 25fps to 10fps or from 10fps to 25fps
Thank you.
Koepi
26th December 2002, 04:24
No, chainging the framerate is no matter of the codec.
It's set in virtualdub or your encoding application, and gets handed over to the codec on encoding_init time (where it gets written to the bitstream as well).
So, just enter the framerate you want to, and you're done.
Try ggole'ing for that and read around a bit more, after all this is a very easy and way-too-short approach, there are several things you want to reflect when doing such things.
I hope this helps anyways
Koepi
zzd
26th December 2002, 13:16
Thank all for your answer,advice and encourage, I am a beginner at video encoding,a little advice
help me much.
I still had some puzzle about encoding, what job is done by virtualdub, what is done by codec.
Now I understand, I know I should prepare video data before encode with xvid.
But if some job can be done by Xvid? for example:
The original video is A, The target video is B,C.
Frame number, Frame rate, play time, bitrate
A. 100 framesC 10fps, 10s 128kbps
B. 50 framesC 50fps, 10s 128kbps
C. 200 framesC 20fpsC 10s 128kbps
I must keep the play time and bitrate,so I should cut frames at the condition B and add frames at the condition C. The condition B.C can be done before Xvid encoding, but if Xvid can help to choice to cut the less important frames at the condition B.
Thank you.:eek:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.