ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <brownian.box@gmail.com>
To: "Денис Назаров" <marsden@mail.ru>,
	"ALT Linux Community general discussions"
	<community@lists.altlinux.org>
Subject: Re: [Comm] Как подготовить фильм, скачанный из интернета для просмотра на бытовом DVD плеере?
Date: Tue, 28 Apr 2009 18:33:29 +0300
Message-ID: <8409fdee0904280833v1a4fea2ao8936772154a09eb7@mail.gmail.com> (raw)
In-Reply-To: <E1LynCr-000FhL-00.marsden-mail-ru@f74.mail.ru>

2009/4/28 Денис Назаров <marsden@mail.ru>:
> Всем трям!
Трям!

> заклинаниями? Консольный вариант даже был бы предпочтительнее
Я в заклинаниях пока новичок (только что буквально камеру купил),
и пока для себя решил перекодировать mencoder'ом а готовить диск
с помощью DeVeDe (и говорить ему, что файл уже готов для DVD).

Вот одна из фраз моих текущих заклинаний:

##############################################

src=$1
dst=$2

pp="pp=tmpnoise:2:3:4,"
# pp=""

hqdn3d="hqdn3d=4:3:8:10,"
# hqdn3d=""

smartblur="smartblur=2.5:-0.5:-7,"
# smartblur=""

#
# pass 1:
cat ${src} | mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
  -vf eq=20:40,hue=0:1.2,${pp}${hqdn3d}scale=720:576,${smartblur}harddup \
  -srate 48000 -af lavcresample=48000 \
  -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=4800:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9:vpass=1 -ofps 25 \
  -o ${dst} -

# pass 2:
cat ${src} | mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
  -vf eq=20:40,hue=0:1.2,${pp}${hqdn3d}scale=720:576,${smartblur}harddup \
  -srate 48000 -af lavcresample=48000 \
  -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=4800:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9:vpass=2 -ofps 25 \
  -o ${dst} -

##############################################

Консоль чем хороша: можно чуть раньше сказать собрать все куски сцен
в кучи (если dvgrab кусает на куски по гигабайту, скажем) и потом скормить
на такие "заклинания" в качестве $1.

Дальше я пока не продвинулся -- "руками" елозю по менях DeVeDe
(в нем, правда, пришлось что-то править, в питоновском скрипте, но то
уже мелочи).

-- 
Dmytro O. Redchuk

      parent reply	other threads:[~2009-04-28 15:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 13:18 Денис Назаров
2009-04-28 13:54 ` Motsyo Gennadi aka Drool
2009-04-28 15:33 ` Dmytro O. Redchuk [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=8409fdee0904280833v1a4fea2ao8936772154a09eb7@mail.gmail.com \
    --to=brownian.box@gmail.com \
    --cc=community@lists.altlinux.org \
    --cc=marsden@mail.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