ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <earthsea@ngs.ru>
To: community@altlinux.ru
Subject: Re: [Comm] to split avi file
Date: Tue, 28 Oct 2003 15:03:29 +0600
Message-ID: <1067331809.3f9e30e1c05015,74026884@cys.che.nsk.su> (raw)
In-Reply-To: <20031027112929.686b13b1.dov@media-link.info>

Hi!

--- Цитата Oleg Dolgov <dov@media-link.info>:
> > Не подскажет ли мне кто, как разбить один большой avi-файл на
> два
> > поменьше, но тоже полноценных avi-файла?
> > 
> > Пробовал смотреть mencoder, но нашёл там только как объединять, а
> как
> > делить не нашёл.
> > 
> 
> $man mencoder
> 
> -sb <byte position> (see -ss option too)
>               Seek to byte position.  Useful for playback from
> CDROM
> 	      images/.VOB files with junk at the beginning.
> 
> -ss <time> (see -sb option too)
>               Seek to given time position.
> 
>               EXAMPLE:
>                  -ss 56              seeks to 56 seconds
>                  -ss 01:10:00        seeks to 1 hour 10 min
> 
> -endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (see -ss and -sb option
> too)
>               Stop  encoding at given time or byte position.  Can
> be
> 	      specified in many ways:
> 
>               NOTE:
>               Byte position won't be accurate, as it can only stop
> at a 
> 	      frame boundary.
> 
>               EXAMPLE:
>                  -endpos 56          encode only 56 seconds
>                  -endpos 01:10:00    encode only 1 hour 10
> minutes
>                  -endpos 100mb       encode only 100 MBytes

Спасибо! Вроде всё получилось. Вот только почему-то были рпсхожднния
во времени между тем, которое задавал в -ss и -endpos и тем, что
получалось в результирующем файле примерно на 3-5 секунд. Пришлось
делать несколько раз, чтобы попасть в нужную величину.


Best regards,

Denis.

---------------
earthsea@ngs.ru


      reply	other threads:[~2003-10-28  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27  8:48 Denis G. Samsonenko
2003-10-27  9:25 ` Sergey Lizogub
2003-10-28  9:05   ` Denis G. Samsonenko
2003-10-27  9:29 ` Oleg Dolgov
2003-10-28  9:03   ` Denis G. Samsonenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1067331809.3f9e30e1c05015,74026884@cys.che.nsk.su \
    --to=earthsea@ngs.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git