[MPlayer-users] -quiet option for mencoder?

christopher j bottaro cjb at cs.utexas.edu
Sun Jan 5 00:35:47 CET 2003


hello,
i'm writing a little perl script to do a 3 pass encoding of dvd to divx.  at 
the end of the first pass, mencoder outputs the recommended bitrates for 
various cd sizes.  well, i know i can capture mencoder's output into a perl 
string and then extract the bitrates outta the end of that string, but the 
problem is that string is going to HUGE!  is there anyway i can run mencoder 
without outputting all the lines that look like:
duplicate 1 frame(s)!!!
Pos: 203.9s   4889f (98%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.1s   4894f (98%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.2s   4896f (98%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.4s   4901f (99%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.6s   4906f (99%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.7s   4908f (99%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
Pos: 204.9s   4913f (99%) 119fps Trem:   0min   3mb  A-V:0.000 [0:147]
duplicate 1 frame(s)!!!
etc...

thanks for the help,
christopher



More information about the MPlayer-users mailing list