From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:53:45 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C861F1065670 for ; Wed, 2 Sep 2009 13:53:45 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 7D46E8FC08 for ; Wed, 2 Sep 2009 13:53:45 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so353455and.13 for ; Wed, 02 Sep 2009 06:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=TsWQnEB+mPu1nH90zWSBuaHxGHobuBqIIxmEbNwbn8U=; b=wyNEpyJ0eHO2CLix5f0gXvl1U60AX1FzxENq30b5Y7j/h9SDXmDjpKlKFqV9btiVpI wDfe/FCDUzQM+tye/d1Ff4lxM+qkRlC2vVt35i5402cIS3vcbU15nQfFouYyTT9iATle +mpWb3AqnqOrU/Cb+cG3JaBunO4iz60myzZ00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=x4t0EgApKsFlMLycrUqsZ/fJVB9i47EfqhWXK5cLpDuhO4wRJA8PKVCS/R7iQ/PBQ/ MTERVecuqf1UZXDM8+swR96QIMwHCKisBVlqMIT3glPzbCRvZl9IFmJUVmpStOIcAxq6 583787PPH8370pgwbXlTtHSht1vMO2BIvj+gk= Received: by 10.101.89.10 with SMTP id r10mr9316272anl.1.1251899624887; Wed, 02 Sep 2009 06:53:44 -0700 (PDT) Received: from ?192.168.6.250? ([201.21.144.81]) by mx.google.com with ESMTPS id 23sm1828413ywh.15.2009.09.02.06.53.42 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 06:53:44 -0700 (PDT) From: Sergio de Almeida Lenzi To: freebsd-questions In-Reply-To: <20090902051927.GA78814@slackbox.xs4all.nl> References: <0016e64cae6a217e26047290e16e@google.com> <20090902051927.GA78814@slackbox.xs4all.nl> Date: Wed, 02 Sep 2009 10:53:40 -0300 Message-Id: <1251899620.8690.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:53:45 -0000 Hello Thanks Roland for the parameters in the mplayer/mencoder... To make things easier.. I recomend to create a profile in the directory ~/.mplayer/mencoder.conf with the content: ========================================================= [pal] oac=lavc=yes ovc=lavc=yes lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=6000:vbitrate=4000 Lavcopts=keyint=15:trell=yes:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10 lavcopts=predia=-10:cbp=yes:mv0=yes:aspect=16/9 lavcopts=vqmin=1:lmin=1:dc=10:vstrict=0 lavcopts=acodec=ac3:abitrate=192 lavcopts=lumi_mask=0.2:dark_mask=0.15:scplx_mask=0.2:tcplx_mask=0.1 vf=scale=720:576,harddup=yes af=lavcresample=48000 mpegopts=format=dvd:tsaf=yes of=mpeg=yes srate=48000 channels=2 ofps=25 [pal_cinemascope] profile=pal vf=scale=720:432,expand=720:576,harddup=yes ========================================================== Or using the options from Roland.... extract the stream (as Roland said...) mplayer dvd://1 -dumpstream -dumpfile dvd.mpg crop detect... mplayer -vf cropdetect dvd.mpg and then finally encode with mencoder using the profile above and Roland's example... mencoder -profile pal -vf crop=704:416:10:80 dvd.mpg -o film.mpg the result will be a high definition video with 1024x576 PAL (25 fps) 16:9 aspect with audio AC3 192Kbps (plays using HDMI) in any dvd player... or in your computer. if the source (dvd.mpg) is in 2.35/1 ratio use -profile pal_cinemascope and mencoder will adjust the aspect for the video.