[MEncoder-users] Problem mencoder ofps

Nico Sabbi Nicola.Sabbi at poste.it
Tue Jul 31 12:30:25 CEST 2007


Ivan Arcos wrote:

>I use this arguments for creating mpeg4 file of dvd
>
>
>string argumentos = " -dvd-device D: -oac copy -ovc lavc -lavcopts
>vcodec=mpeg4:keyint=25 -ofps 25 -of avi -o salida"
>
>and this command for creating mpeg files for creating a Dvd
>
>argumentos = nomFic +
>" -ovc lavc -oac lavc -lavcopts
>vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:" +
>
>"vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3:" +
>
>"trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=10:predia=-10:cbp:" +
>
>"mv0:vqmin=1:lmin=1:dc=10 -of mpeg -mpegopts format=dvd " +
>
>"-vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 " +
>
>"-ofps 25 -o salida.mpg -ss incio -endpos duraccion"
>
>The problem is that salida.mpg  stops a lot of times when I play it.
>
> with  "ofps 30000/1001"  not. Why?
>  
>

what do you mean with "stops a lot of time" ?
are there errors while encoding?
Rather than converting the framerate you had better leave it unchanged
(provided that it's < 25 fps) and append to -mpegopts 
tele_src=xxx:tele_dest=25
(e.g. for a 23.976 -> 25 use -mpegopts tele_src=24000/1001:tele_dest=25)



More information about the MEncoder-users mailing list