View Full Version : [mencoder] override profile frame rate
coordz
28th May 2008, 16:04
I'm using mencoder to do my xvid encoding and want to use simple profile level 3 *except* to allow framerates higher than 15fps. Using xvid through virtualdub allows me to do this (I guess the fps is quietly ignored) but mencoder gives me a hard error and bails out. How can I coax mencoder into encoding at higher frame rates? I can think of fps changing tricks but would rather have a clearer way.
TIA.
roozhou
28th May 2008, 21:48
Does mencoder has a restriction on fps?
coordz
28th May 2008, 23:41
the simple profile level 3 has a restriction of 15fps. mencoder doesn't have a restriction. i want to override the restriction put in place by activation the sp3 profile
roozhou
29th May 2008, 04:25
Overides -fps so you will encode @ 15fps and. When finished, change the framerate flag in container header.
coordz
29th May 2008, 12:42
perhaps I should describe the problem and then ask for solutions...... I have some AVIs, MOVs, DVs of differing framerates and want to convert them to 320x240 xvid AVIs which follow the sp3 profile *except* for the framerate (and implicitly the bitrate) which should be the same framerate as the original. my current command looks like
mencoder.exe source.avi -o out.avi -vf scale=-3:240,crop=320:240 -ovc xvid -xvidencopts profile=sp3:threads=2 -oac mp3lame -lameopts cbr:br=128
which fails when the input framerate is above 15fps, i.e. pretty much all the time. I want to say to mencoder "inherit all the settings from sp3 and then use the framerate of the input and encode at x kbit/s". I could enumerate all the settings sp3 specifies to make a really long command line but I'm not 100% sure what these are. manually changing framerates for each file is not viable - the solution must be scripted.
thanks.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.