View Single Post
Old 11th March 2011, 10:40   #1  |  Link
Evaldas
Registered User
 
Join Date: Oct 2001
Posts: 52
How to encode screencasts in x264 (with vfr?)

Hi,

I'm very new to this H.264 thing. I have a bunch of screencast tutorial videos (captured desktop screen; slides; command-line editing) which I would like to encode in H.264/MP4. The videos are encoded with TSCC (TechSmith Screen Capture) codec, 15 fps avi. Right now in AviSynth script I have 2 lines:
Code:
DirectShowSource("file.avi", audio=false)
ConvertToYV12()
As for x264, I use the lossless option:
Quote:
x264.exe --qp 0 -o output.mp4 input.avs
As I said, I'm new to this, so I guess "lossless" is not the most optimal mode (as I don't know which other options would be better). I chose "lossless" because it was at the top of the x264 help screen, and I wanted high/highest quality.

Today I found out that the videos can also be encoded in variable frame rate (vfr) mode. So I am thinking that vfr could be very beneficial to screen captured videos. I tried searching doom9 forum, but found nothing substantial. So, can x264 encode in vfr mode? What command-line options should be added? Or the AviSynth script should be changed?

Thank you
Evaldas is offline   Reply With Quote