Log in

View Full Version : how can i discard 1st pass using mencoder?


JimmyZ
3rd December 2005, 22:26
i don't know where can i post this question, there is no mencoder sec...

i tried ffmpeg using -f null, but this will result in a zero sized 2pass logfile:(

i admit i'm encoding psp mpeg4sp video, it's convinient that mencoder "eats" all kind of files, but psp request a video stream at fps=29.97, but seems mplayer doesn't have a fps convert facility:( use avisynth can solve this prob, but avisynth's directshowsource didn't have the same compatibility as mencoder. i tried telecine, yes it parcially solves this prob but this will result in interlaced video:(

Doom9
3rd December 2005, 22:45
I believe it's -o NUL.. if not check MeGUI, it uses mencoder..

lrms
3rd December 2005, 22:47
If you don't want the file generate in the first pass simply use "-o nul".

JimmyZ
4th December 2005, 19:21
thx all, this hint was not mentioned in the official man page:(

i tried "-o null" before, so "nul" huh...orz

what about the other question, is there a "-vf convertfps=29.97" or sth else?

lrms
5th December 2005, 01:49
mencoder does have an "-ofps" switch. Depending o your source material you may need to use a video filter for proper framerate conversion, see the docs.

-ofps <fps>
Specify a frames per second (fps) value for the output file, which can be different from that of the source material. Must be set for variable fps (ASF, some MOV) and progressive (30000/1001 fps telecined MPEG) files.

JimmyZ
5th December 2005, 14:00
thx! i'll try later!

JimmyZ
5th December 2005, 17:19
i tried, but the -ofps seems didn't really produce dup vops, that result in a/v out of sync after remux to psp compliant mp4 file.