ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Teimuraz Abashidze <tgasoft@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Вопрос по avidemux
Date: Fri, 10 Aug 2012 18:32:01 +0400
Message-ID: <CAEFkYhhXL19ax=QQJXvhjtPM35KuWrD8LkURVA9xxWfK5yNq+Q@mail.gmail.com> (raw)
In-Reply-To: <5023D917.4030507@gmail.com>

О! То, что доктор прописал!! Огромное спасибо, все работает!

2012/8/9 Motsyo Gennadi aka Drool <motsyo@gmail.com>:
> 09.08.2012 14:46, Teimuraz Abashidze пишет:
>
>> Можно в виде примера? Есть файл 111.avi, внутри H264. Нужно отрезать X
>> секунд от начала и Y секунд от конца, без перекодировки. Как это
>> сделать? Можете подсказать?
>
>
>         Если задача именно поставлена так - придется в 2 этапа:
> avconv -i input.avi -vcodec copy -acodec copy -t hh:mm:ss file2.mkv
> Где "-t" - длительность с самого начала минус нужное время от конца. Потом:
> avconv -i file2.mkv -vcodec copy -acodec copy -ss hh:mm:ss file3.mkv
> Где "-ss" в данном случае - отступ времени от начала.
> А вот если нужно просто вырезать некий отрезок с заданным отступом по
> времени от начала и известной длительности - еще проще:
> avconv -i input.avi -vcodec copy -acodec copy -ss hh:mm:ss -t hh:mm:ss
> file2.mkv
> Если в этих параметрах указать не в формате чч:мм:сс, а просто цифру - она
> воспринимается как секунды.
>
> P.S. Синтаксис идентичен и для ffmpeg, тем более, что avconv такие вещи
> делает намного кривее, я с этим сталкиваюсь часто, т.к. занимаюсь
> кодированием видео и созданием релизов на трекерах, где необходимо приложить
> образец. Предпочитаю вырезать ffmpeg-ом.
> P.P.S. Кстати, что avconv, что ffmpeg очень медленно делают -ss, намного
> быстрее вырезает mencoder. Но у него свои тараканы.
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community



-- 
Best regards,
 Teimuraz Abashidze
--------------------------------------------
Linux user #140208
---Visit my home page:
http://www.facebook.com/teimuraz.abashidze - FaceBook
http://forum.tbilicity.com - Тбилисский форум
http://raindi.ge/taichi - Тайцзицзюань в Тбилиси
http://picasaweb.google.com/tgasoft/ - Мои фото
http://teimuraz1962.livejournal.com - Я в ЖЖ
kalia1962 - Skype

      reply	other threads:[~2012-08-10 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 13:25 Teimuraz Abashidze
2012-08-03 18:06 ` Olexander Chernetskyy
2012-08-09 11:46   ` Teimuraz Abashidze
2012-08-09 15:36     ` Motsyo Gennadi aka Drool
2012-08-10 14:32       ` Teimuraz Abashidze [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='CAEFkYhhXL19ax=QQJXvhjtPM35KuWrD8LkURVA9xxWfK5yNq+Q@mail.gmail.com' \
    --to=tgasoft@gmail.com \
    --cc=community@lists.altlinux.org \
    /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