Date: Fri, 17 Jun 2005 07:52:41 +1000 From: Timothy Smith <timothy@open-networks.net> To: Sergey Zaharchenko <doublef-ctm@yandex.ru>, freebsd-questions@freebsd.org Subject: Re: divx encoding vob files Message-ID: <42B1F4A9.3080504@open-networks.net> In-Reply-To: <20050616110731.GA2922@shark.localdomain> References: <42B14BD0.2090403@open-networks.net> <20050616110731.GA2922@shark.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42B1F4A9.3080504>