Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185234 > unrolled thread

which option can set duration of mencoder?

Started byLong Wind <longwind2@yahoo.com>
First post2017-08-15 08:00 +0200
Last post2017-08-15 13:40 +0200
Articles 13 — 6 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  which option can set duration of mencoder? Long Wind <longwind2@yahoo.com> - 2017-08-15 08:00 +0200
    Re: which option can set duration of mencoder? <tomas@tuxteam.de> - 2017-08-15 09:30 +0200
      Re: which option can set duration of mencoder? Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-08-15 12:10 +0200
        Re: which option can set duration of mencoder? <tomas@tuxteam.de> - 2017-08-15 12:20 +0200
          Re: which option can set duration of mencoder? mitchell.roe@member.fsf.org - 2017-08-15 16:00 +0200
            Re: which option can set duration of mencoder? Gene Heskett <gheskett@shentel.net> - 2017-08-15 17:30 +0200
              Re: which option can set duration of mencoder? <tomas@tuxteam.de> - 2017-08-15 21:20 +0200
                Re: which option can set duration of mencoder? Gene Heskett <gheskett@shentel.net> - 2017-08-16 03:30 +0200
        Re: which option can set duration of mencoder? Darac Marjal <mailinglist@darac.org.uk> - 2017-08-15 12:30 +0200
      Re: which option can set duration of mencoder? Long Wind <longwind2@yahoo.com> - 2017-08-15 13:00 +0200
    Re: which option can set duration of mencoder? Long Wind <longwind2@yahoo.com> - 2017-08-15 13:10 +0200
      Re: which option can set duration of mencoder? <tomas@tuxteam.de> - 2017-08-15 13:20 +0200
        Re:(solved) which option can set duration of mencoder? Long Wind <longwind2@yahoo.com> - 2017-08-15 13:40 +0200

#185234 — which option can set duration of mencoder?

FromLong Wind <longwind2@yahoo.com>
Date2017-08-15 08:00 +0200
Subjectwhich option can set duration of mencoder?
Message-ID<ueD3s-5LR-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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!

[toc] | [next] | [standalone]


#185235

From<tomas@tuxteam.de>
Date2017-08-15 09:30 +0200
Message-ID<ueEsy-6Lw-3@gated-at.bofh.it>
In reply to#185234
-----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-----

[toc] | [prev] | [next] | [standalone]


#185241

FromCindy-Sue Causey <butterflybytes@gmail.com>
Date2017-08-15 12:10 +0200
Message-ID<ueGXn-8q6-7@gated-at.bofh.it>
In reply to#185235
On 8/15/17, tomas@tuxteam.de <tomas@tuxteam.de> wrote:
> -----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)


That's strange.. Long Wind's original post came across in six lines
for me. It looks like a poem. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

[toc] | [prev] | [next] | [standalone]


#185242

From<tomas@tuxteam.de>
Date2017-08-15 12:20 +0200
Message-ID<ueH74-8tn-7@gated-at.bofh.it>
In reply to#185241
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 15, 2017 at 06:06:21AM -0400, Cindy-Sue Causey wrote:
> On 8/15/17, tomas@tuxteam.de <tomas@tuxteam.de> wrote:
> > -----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)
> 
> 
> That's strange.. Long Wind's original post came across in six lines
> for me. It looks like a poem. :)

Interesting. Judging by your headers [1] you are using Google's gmail
web client. Perhaps the Big G is doing the formatting for you?

> 
> Cindy :)
> -- 
> Cindy-Sue Causey
> Talking Rock, Pickens County, Georgia, USA
> 
> * runs with duct tape *
>

[1] Here are the ones I think relevant, with comments:

   ## this one (the first hop) is Big G receiving the input from your
   ## web browser (note the HTTP):
   Received: by 10.237.33.168 with HTTP; Tue, 15 Aug 2017 03:06:21 -0700 (PDT)

   ## this one (the second hop) is Google's MTA preparing to pass the
   ## buck to Debian's servers:
   Received: by mail-qk0-x232.google.com with SMTP id x191so1895752qka.5
      for <debian-user@lists.debian.org>; Tue, 15 Aug 2017 03:06:25 -0700 (PDT)

Disclaimer: sometimes I don't know what I'm doing.
Disclaimer(2): the problem is, I don't know *when* those times are.

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

iEYEARECAAYFAlmSyi8ACgkQBcgs9XrR2kaSKwCeJjDaIqT4o27NvikGDV1FBKkh
EucAn1Asvs7t6xVsAxfYXDcdj+lb0MVv
=XTfP
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#185259

Frommitchell.roe@member.fsf.org
Date2017-08-15 16:00 +0200
Message-ID<ueKxX-1YZ-9@gated-at.bofh.it>
In reply to#185242
<tomas@tuxteam.de> writes:

<snip>

> Disclaimer: sometimes I don't know what I'm doing.
> Disclaimer(2): the problem is, I don't know *when* those times are.

This made my day. :D

-- 
Mitchell Roe

[toc] | [prev] | [next] | [standalone]


#185272

FromGene Heskett <gheskett@shentel.net>
Date2017-08-15 17:30 +0200
Message-ID<ueLX4-30v-15@gated-at.bofh.it>
In reply to#185259
On Tuesday 15 August 2017 09:55:02 mitchell.roe@member.fsf.org wrote:

> <tomas@tuxteam.de> writes:
>
> <snip>
>
> > Disclaimer: sometimes I don't know what I'm doing.
> > Disclaimer(2): the problem is, I don't know *when* those times are.
>
> This made my day. :D

I think I'd copyright that one Tomas. ;-) Thats exactly how I got to from 
where I started.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#185308

From<tomas@tuxteam.de>
Date2017-08-15 21:20 +0200
Message-ID<uePxE-5lL-5@gated-at.bofh.it>
In reply to#185272
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 15, 2017 at 11:28:08AM -0400, Gene Heskett wrote:
> On Tuesday 15 August 2017 09:55:02 mitchell.roe@member.fsf.org wrote:
> 
> > <tomas@tuxteam.de> writes:
> >
> > <snip>
> >
> > > Disclaimer: sometimes I don't know what I'm doing.
> > > Disclaimer(2): the problem is, I don't know *when* those times are.
> >
> > This made my day. :D
> 
> I think I'd copyright that one Tomas. ;-) Thats exactly how I got to from 
> where I started.

I was just having a bad day at $WORKPLACE. Feel free to use as you wish,
it's CC0 :-D

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmTRzUACgkQBcgs9XrR2kZ5tACffVZBsllQdKqxGuf6pXf8Rbtl
WXEAn3B7nqG+pZcld0PoG33JaOVMovoA
=HQFu
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#185320

FromGene Heskett <gheskett@shentel.net>
Date2017-08-16 03:30 +0200
Message-ID<ueVjI-u6-5@gated-at.bofh.it>
In reply to#185308
On Tuesday 15 August 2017 15:10:45 tomas@tuxteam.de wrote:

> On Tue, Aug 15, 2017 at 11:28:08AM -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 09:55:02 mitchell.roe@member.fsf.org wrote:
> > > <tomas@tuxteam.de> writes:
> > >
> > > <snip>
> > >
> > > > Disclaimer: sometimes I don't know what I'm doing.
> > > > Disclaimer(2): the problem is, I don't know *when* those times
> > > > are.
> > >
> > > This made my day. :D
> >
> > I think I'd copyright that one Tomas. ;-) Thats exactly how I got to
> > from where I started.
>
> I was just having a bad day at $WORKPLACE. Feel free to use as you
> wish, it's CC0 :-D
>
Whatever, I can think of lots of places where it could be diskclaimed.

Thanks.

> Cheers
> -- t


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#185243

FromDarac Marjal <mailinglist@darac.org.uk>
Date2017-08-15 12:30 +0200
Message-ID<ueHgK-4U-7@gated-at.bofh.it>
In reply to#185241

[Multipart message — attachments visible in raw view] — view raw

On Tue, Aug 15, 2017 at 06:06:21AM -0400, Cindy-Sue Causey wrote:
>On 8/15/17, tomas@tuxteam.de <tomas@tuxteam.de> wrote:
>> -----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)
>
>
>That's strange.. Long Wind's original post came across in six lines
>for me. It looks like a poem. :)

I suspect the issue is with Long Wind's mailer.

It sent a HTML part which broke the paragraph into several "<div>"s 
(divisions). <div> is a block-level element, so each one is usually rendered 
as a separate paragraph. This is what gives the poem-like forced-structure.

It also sent a text part which, I suspect, was a "translation" of the 
HTML part. This had the same text, but no line breaks at all. In fact, 
where one line finished, the next line started immediately, leading to 
such neologisms as "programi" and "manualit's" (belonging to manualit?).

If your mailer prefers HTML parts, you probably saw six lines. If it 
prefers text parts, you probably saw one (perhaps wrapped).

-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#185245

FromLong Wind <longwind2@yahoo.com>
Date2017-08-15 13:00 +0200
Message-ID<ueHJL-f7-13@gated-at.bofh.it>
In reply to#185235

[Multipart message — attachments visible in raw view] — view raw

 

    On Tuesday, August 15, 2017 3:25 PM, "tomas@tuxteam.de" <tomas@tuxteam.de> wrote:
 

 -----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-----

i knew -endpos, it's not option i seek
(maybe my english isn't good enougheven i wrote so many words, i'm still misunderstood)
arecord has such option: -d 
it will record for specified time and exit
mencoder doesn't seem to have such -d
Thanks anyway!


   

[toc] | [prev] | [next] | [standalone]


#185248

FromLong Wind <longwind2@yahoo.com>
Date2017-08-15 13:10 +0200
Message-ID<ueHTs-xi-29@gated-at.bofh.it>
In reply to#185234

[Multipart message — attachments visible in raw view] — view raw

i knew -endpos, it's not option i seek
(maybe my english isn't good enougheven i wrote so many words, i'm still misunderstood)
arecord has such option: -d 
it will record for specified time and exit
mencoder doesn't seem to have such -d
Thank Tomas anyway!

[toc] | [prev] | [next] | [standalone]


#185249

From<tomas@tuxteam.de>
Date2017-08-15 13:20 +0200
Message-ID<ueI38-An-7@gated-at.bofh.it>
In reply to#185248
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 15, 2017 at 10:57:56AM +0000, Long Wind wrote:
> i knew -endpos, it's not option i seek
> (maybe my english isn't good enougheven i wrote so many words, i'm still misunderstood)
> arecord has such option: -d 
> it will record for specified time and exit
> mencoder doesn't seem to have such -d

That is right. But with -endpos you can do what you want.

If you start at the beginning, endpos is the same as duration.

If you start at a later point, say t, endpos = duration + t

So I hope you can achieve your aim anyway.

> Thank Tomas anyway!

hoping to help

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

iEYEARECAAYFAlmS1ucACgkQBcgs9XrR2ka8XACeKqwEQ4Ainpsj6FbFgFMoMBqy
MfgAnAxSZWEbNXYNHEXzdznwXSDfVNEj
=QbtS
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#185250 — Re:(solved) which option can set duration of mencoder?

FromLong Wind <longwind2@yahoo.com>
Date2017-08-15 13:40 +0200
SubjectRe:(solved) which option can set duration of mencoder?
Message-ID<ueImv-Il-45@gated-at.bofh.it>
In reply to#185249

[Multipart message — attachments visible in raw view] — view raw

Thank Tomas! You are right!i test it, it's option i need
(i thought they are two tasks, one for live recording, the other for clip extraction from a existing video fileso there should be two options
it turns out -endpos is for both task)
 

    On Tuesday, August 15, 2017 7:11 PM, "tomas@tuxteam.de" <tomas@tuxteam.de> wrote:
 

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

On Tue, Aug 15, 2017 at 10:57:56AM +0000, Long Wind wrote:
> i knew -endpos, it's not option i seek
> (maybe my english isn't good enougheven i wrote so many words, i'm still misunderstood)
> arecord has such option: -d 
> it will record for specified time and exit
> mencoder doesn't seem to have such -d

That is right. But with -endpos you can do what you want.

If you start at the beginning, endpos is the same as duration.

If you start at a later point, say t, endpos = duration + t

So I hope you can achieve your aim anyway.

> Thank Tomas anyway!

hoping to help

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

iEYEARECAAYFAlmS1ucACgkQBcgs9XrR2ka8XACeKqwEQ4Ainpsj6FbFgFMoMBqy
MfgAnAxSZWEbNXYNHEXzdznwXSDfVNEj
=QbtS
-----END PGP SIGNATURE-----



   

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web