[MPlayer-users] ss and endpos

Nicolas tarass at club-internet.fr
Sat Nov 22 23:00:51 CET 2003


hello,

i try -ss 00:10:31 -endpos 00:03:05

audio encoding stops after 3,05 minutes, but video pass 1 and 2 don't.


#!/bin/bash

piste='2'
bitrate='2000'
crop='718:436:0:74'
sid='0'

# noir et blanc rajouter gray dans les options de lavcopts

nice -19 mencoder dvd://$piste -ss 00:10:31 -endpos 00:03:05 -ovc lavc \
     -lavcopts  vcodec=mpeg4:vbitrate=$bitrate:vhq:vqmin=2:vlelim=-4:
      vcelim=9:lumi_mask=0.05:dark_mask=0.01:autoaspect:vpass=1 \
     -oac copy -o /dev/null -vf crop=$crop

nice -19 mencoder dvd://$piste -ss 00:10:31 -endpos 00:03:05 -ovc lavc \
     -lavcopts vcodec=mpeg4:vbitrate=$bitrate:vhq:vqmin=2:vlelim=-4:
      vcelim=9:lumi_mask=0.05:dark_mask=0.01:autoaspect:vpass=2 \
     -vobsubout sous-titres \
     -vobsuboutindex 1 \
     -sid $sid \
     -oac copy -o film.avi -vf crop=$crop

nicolas.




More information about the MPlayer-users mailing list