ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: scor <scor@mf.volsu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как порезать mpeg2
Date: Mon, 18 Oct 2004 15:32:44 +0400
Message-ID: <20041018113244.GA2740@scor2k.vlink.ru> (raw)
In-Reply-To: <20041018145010.376c0775@home.greg.com.ru>

On Mon, Oct 18, 2004 at 02:50:10PM +0400, Grigory Fateyev wrote:
> Hello, Anthony!
> 18 Октября 2004г. в 09:07 You wrote:
> 
> > Доброго всем дня.
> > 
> > Не подскажете, чем можно порезать на части запись в mpeg2 (без
> > перекодирования потока естественно).
> > 
> > З.Ы.
> > Пытался юзать mplayer/mencoder с опциями -ss xx:xx:xx -endpos xx:xx:xx
> > так там такой баг, значение времени задаваемое ключом -ss не совпадёт
> > с действительной точкой входа в видеофайле и тем же самым значением
> > получаемым ключём -endpos. Может я что не так делаю, но скопировать
> > нужный отрывок из общего видеопотока не получается.
> > 
> >  
> <цитата>
> mencoder -oac copy -ovc copy -endpos <свое время в формате 01:xx:xx> -o
> ..._cd1.avi mencoder -oac copy -ovc copy -ss <свое время в формате
> 01:xx:xx>         -endpos 700mb -o..._cd2.avi
  ^^
	можно и 00
> Причем в первом случае время берешь с запасом вперед на 2-5 секунд, а
> во втором назад на 1-3 секунды (из личного опыта от работы с
> B-фреймами).
> </цитата>
> может поможет?

В том то и прикол что не поможет. Если резать mpeg2 (или DVD), то -ss не
перекидывает точно на указанное время. Обычно коэффициет = 2, т.е. если
написать 0:7:30 - то получаю 15 минут. Хотя это приблизительно. Почему так,
 не знаю. А с -endpos, все хорошо - точно отсчитывает нужное кол-во минут.

-- 
С уважением: scor_at_mf.volsu.ru
------- ICQ UIN 346283813 -------
------ JID scor2k@jabber.ru -----

Все не так легко, как кажется


  reply	other threads:[~2004-10-18 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18  5:07 Anthony
2004-10-18 10:50 ` Grigory Fateyev
2004-10-18 11:32   ` scor [this message]
2004-10-19  5:44     ` Anthony

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=20041018113244.GA2740@scor2k.vlink.ru \
    --to=scor@mf.volsu.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