Re: divx encoding vob files

2005-06-16 Thread Timothy Smith

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]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: divx encoding vob files

2005-06-16 Thread ltsampros
> 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?

I've used mencoder for converting vobs to mpeg4 and reencoding their audio
tracks to mp3/ogg following these two tutorials/guides:

http://axljab.homelinux.org/Mencoder_DVD_to_MPEG-4
http://www.mplayerhq.hu/DOCS/tech/encoding-tips.txt

While the first one is focusing on the commands without any technical
explanation , the second one provides several details about mpeg4
encoding.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"