From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 21:52:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9755916A41C for ; Thu, 16 Jun 2005 21:52:44 +0000 (GMT) (envelope-from timothy@open-networks.net) Received: from titan.open-networks.net (dsl-202-173-176-254.qld.westnet.com.au [202.173.176.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3423F43D53 for ; Thu, 16 Jun 2005 21:52:43 +0000 (GMT) (envelope-from timothy@open-networks.net) Received: from [192.168.1.200] (tim.open-networks.net [192.168.1.1]) by titan.open-networks.net (Postfix) with ESMTP id E209D868; Fri, 17 Jun 2005 07:52:41 +1000 (EST) Message-ID: <42B1F4A9.3080504@open-networks.net> Date: Fri, 17 Jun 2005 07:52:41 +1000 From: Timothy Smith User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050520) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Zaharchenko , freebsd-questions@freebsd.org References: <42B14BD0.2090403@open-networks.net> <20050616110731.GA2922@shark.localdomain> In-Reply-To: <20050616110731.GA2922@shark.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: divx encoding vob files 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: Thu, 16 Jun 2005 21:52:44 -0000 Sergey Zaharchenko wrote: >Hello Timothy! > >Thu, Jun 16, 2005 at 07:52:16PM +1000 you wrote: > > > >>i've been looking how to encode vob files into divx avi files, and >>without fail following any of the howto's i google resulted in failure. >> >>i have mencoder installed, vobcopy. i have the vob files and they play >>perfectly. what do i need to execute to convert them into mpeg4 avi files? >> >> > >So you need to fit a DVD onto a CD;) > >Here's what I did. For each .vob file > >mencoder -oac lavc -ovc lavc -lavcopts \ >acodec=mp3:abitrate=192:vcodec=mpeg4:vbitrate=800 -vf scale=512:384 \ >-o your.avi your.vob \ > >then concatenate the avi's > >cat your1.avi your2.avi ... yourn.avi > all.avi > >and then fix the resulting avi with > >mencoder -idx all.avi -ovc copy -oac copy -o result.avi > >HTH, > > > it doesn't have to fit on a cd, just a single layer dvd. so only a small reduction in size is needed. initally when i tried your command it errored whinging about not having a subfont.tff, so i just pointed it to a generic ttf i had, it then bombed out with this mencoder -oac lavc -ovc lavc -lavcopts \ acodec=mp3:abitrate=192:vcodec=mpeg4:vbitrate=800 -font /usr/X11R6/lib/X11/fonts/bitstream-vera/Vera.ttf \ -o 1.avi the_video_you_wanted1-1.vob \ Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... Writing AVI header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. VDec: vo config request - 720 x 576 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4]) Illegal instruction (core dumped)Trem: 0min 0mb A-V:0.004 [0:0]