[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which option can set duration of mencoder?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 15, 2017 at 05:45:56AM +0000, Long Wind wrote:
> i want to record 60 seconds of tv programi have read mencoder's
> manualit's long and have too many optionsi'm unable to find option
> i needwhich option should i use to set duration of mencoder?Thanks!

(I broke up long line for other reader's comfort)

I think you are looking for option -endpos.  Quoting from the manual
page:

  -endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see -ss and -sb)
       Stop at given time or byte position.
       NOTE: Byte position may not be accurate, as it can only
       stop at a frame boundary.  When used in conjunction with
       -ss option, -endpos time will shift forward by seconds
       specified with -ss if not a byte position. In addition it
       may not work well or not at all when used with any of the
       -dump options.

     EXAMPLE:
        -endpos 56
             Stop at 56 seconds.
        -endpos 01:10:00
             Stop at 1 hour 10 minutes.
        -ss 10 -endpos 56
             Stop at 1 minute 6 seconds.
        mplayer -endpos 100mb
             Stop playback after reading 100MB of the input file.
        mencoder -endpos 100mb
             Encode only 100 MB.

Hope this helps
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmSobwACgkQBcgs9XrR2kZvRACfdy67X2GTdSg2ADQAXTxzFG5L
oJAAnjNoINQ1HhdkMDOCYT2zuI6BM/Tc
=i9qH
-----END PGP SIGNATURE-----


Reply to: