[MPlayer-users] Headless two-pass encoding

François-Xavier Payet fx.payet at tfdn.org
Tue Apr 17 07:32:12 CEST 2007


Hello,

I'm trying to encode a movie on ha eadless machine. Here's what I'm doing :

Pass 1 : mencoder file.avi -o file.mp4 -of lavf -ovc lavc -oac lavc
-lavcopts
aglobal=1:vglobal=1:acodec=aac:abitrate=128:vbitrate=900:vcodec=h264:coder=1:trell=lambda:mbd=1:vme=1:turbo:vpass=1
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames:format=mp4

Pass 2 : mencoder file.avi -o file.mp4 -of lavf -ovc lavc -oac lavc
-lavcopts
aglobal=1:vglobal=1:acodec=aac:abitrate=128:vbitrate=900:vcodec=h264:coder=1:trell=lambda:mbd=1:vme=1:vpass=2
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames:format=mp4

But for the second pass, mencoder is trying to launch the video, but the
machine is headless. Is there a way to do the second pass on a headless
machine?

Thanks

-- 
François-Xavier Payet
fx.payet at tfdn.org
Jabber : fx.payet at jabber.org.au
blog : http://foux.blogs.allocine.fr



More information about the MPlayer-users mailing list