ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilia <chest4alm@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] обрезание видео файла
Date: Sat, 17 May 2003 16:20:01 +0300
Message-ID: <3EC63701.20205@mail.ru> (raw)
In-Reply-To: <20030517111449.GA5303@fromru.com>

Alexey Morsov пишет:

>Не далее как Fri, May 16, 2003 at 08:01:03PM +0300 Ilia писал(а) следующее:
>  
>
>>Здравствуй, community!
>>Скачал я давече фильму (DivX5, в avi-файл завёрнутый), хотел записать, а 
>>она не помещается - 1mb лишний (но там титры, поэтому не важно). В связи 
>>с этим вопрос: как можно *корректно* (желательно не dd, а mencoder'ом) 
>>обрезать данный файл, никакая перекодировка не требуется. Пробовал так:
>>   mencoder src.avi -ovc copy -oac copy -endpos 700mb -o dest.avi
>>но видимо он с "--ovc copy" игнорирует -endpos, т.к. размер практически 
>>не поменял. Сам я с mencoder'ом работать не умею, так что извиняйте, 
>>если совсем глупый вопрос.
>>    
>>
>
>В man mencoder указывать endpos в mb не рекомендуют из-за большой
>неточности...
>
>Попробуйте посмотреть где по времени начинаются титры, и сделайте
>так:
>
>mencoder src.avi -ovc copy -oac copy -endpos 1:31:23 -o dest.avi
>
>не забывая, что endpos указывает не момент времени, а количество
>времени от начала (в данном случае от 00:00:00).
>
>Удачи.
>
>--
>With best regards,
>Alexey Morsov.
>  
>
Спасибо, действительно помогло. Вот только я не совсем врубился - в мане 
сказанно, что -endpos XX{b,kb,mb} просто округляет размер до ближайшей 
границы кадра. Видимо, недоделаная фича. А жаль, она-то мне как раз и 
нужна... Ну ничего, будем с калькулятором мегабайты в секунды переводить :-)

Всего доброго,
Илья.



      parent reply	other threads:[~2003-05-17 13:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16 17:01 Ilia
2003-05-17 11:14 ` Alexey Morsov
2003-05-17 12:28   ` [Comm] Русская локализация ALT Master 2.2 Радомир
2003-05-17 13:05     ` Alexei Bayguzov
2003-05-20  3:44       ` [Comm] " Радомир
2003-05-20  4:06         ` [Comm] " Evgeny Yugov
2003-05-20  4:06         ` Alexei Bayguzov
2003-05-20  4:17           ` [Comm] Re[2]: " Evgeny Yugov
2003-05-20  8:00             ` [Comm] Русская локализация ALT Master 2.2 уже HELP!!! ЦЗВИК
2003-05-17 14:17     ` [Comm] Re: [Comm] Русская локализация ALT Master 2.2 Maksim Otstavnov
2003-05-18  4:03       ` [Comm] " Радомир
2003-05-17 13:20   ` Ilia [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=3EC63701.20205@mail.ru \
    --to=chest4alm@mail.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