ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michail Pishchagin" <mailfrom@mail.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] DVD
Date: Tue, 22 Jun 2004 11:20:43 +0400
Message-ID: <000b01c45829$6e350b50$6bc0a8c0@hq.local> (raw)
In-Reply-To: <40D7CF91.6080103@soc.adm.yar.ru>

> 2)Как и чем DVD в MP4 перегнать?
> На диске несколько файлов... Есть файлы видео, но без звука.

Лично я пользуюсь своим любимым скриптом для mencoder'a :)

$ cat ~/bin/mencoder-dvd.sh
#!/bin/bash

# USAGE: mencoder-dvd.sh DVD-ID имя_готового_файла

rm -f frameno.avi
rm -f subtitles.idx
rm -f subtitles.sub

aid=129 # ID звуковой дорожки. Для фильмов от MC Ent. это японская дорожка :)
sid=0   # ID cубтитров

opts="dvd://$1"
subs="-vobsubout subtitles -vobsuboutindex 0 -sid $sid"
video="-ovc lavc -lavcopts vcodec=mpeg4:vqscale=3:vhq:v4mv:trell:autoaspect"

# 1-pass encoding with subtitles
echo "-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------"
echo "[Subtitles...]"
mencoder $opts $subs -o frameno.avi -ovc frameno -nosound 2> /dev/null > /dev/null
rm -f frameno.avi

echo "-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------"
echo "[Video...]"
mencoder $opts -aid $aid -oac copy $video -o subtitles.avi #2> /dev/null > /dev/null
rename "subtitles" $2 subtitles.*

--mblsha



  reply	other threads:[~2004-06-22  7:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22  6:20 Дворников Михаил
2004-06-22  7:20 ` Michail Pishchagin [this message]
2004-06-22  8:08   ` Дворников Михаил
2004-06-22 17:21     ` Re[2]: " Sergey A. Kolesnitchenko
2004-06-23  2:14 ` Aleksey Korotkov
2004-07-26 11:32 ` Kirill Datsko

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='000b01c45829$6e350b50$6bc0a8c0@hq.local' \
    --to=mailfrom@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