[MEncoder-users] Change framerates with mencoder

Nico Sabbi nsabbi at email.it
Wed Feb 22 15:56:17 CET 2006

Sergio wrote:
> Hash: SHA1
> Hi all:
> I'm working in creating video DVDs with Mencoder, and have a problem:
> how to change the framerate of a video file when it's different to the
> desired (example: I have a 25fps video and want to burn a NTSC disc).
> The most common values for files are 24, 25 and 30 fps, and I need to
> convert all of them to 25 or 30. Currently I have the recipe for:
> 24 to 30:
> 	mencoder -fps 30000/1001 -ofps 30000/1001 -vf telecine,harddup
> 30 to 25:
> 	mencoder -fps 30 -ofps 25 -vf filmdint=io=6:5,harddup
> But I need a way to convert from 24 to 25, and from 25 to 30. Is there
> a filter that allows to repeat one frame after X? The idea is to repeat
> one frame each 24, converting 24 to 25 fps, or repeat one each 5,
> converting from 25 to 30.
> I've read all the mencoder documentation but hadn't find something that
> could be used. Can somebody help me?
> Thanks.

fine, someone who will finally test the new soft-telecine code:)
You need mencoder from cvs; the commands are:

for 24->25 and 23.976->25:

$ mencoder -of mpeg -mpegopts format=dvd:film2pal

for 24->30 and for 23.976->29.97:
$ mencoder -of mpeg -mpegopts format=dvd:telecine

this way no framerate conversion will take place.
If the source isn't strictly progressive the telecining process will abort.

Please, let me know if/how it works.

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Cassine di Pietra: vini veneti di qualità subito a casa Sua 
* da un’azienda famigliare al servizio di clienti selezionati
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3919&d=22-2

More information about the MEncoder-users mailing list