From owner-freebsd-questions@FreeBSD.ORG Mon Jul 25 22:30:11 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 111F916A41F for ; Mon, 25 Jul 2005 22:30:11 +0000 (GMT) (envelope-from freebsd01@dgmm.net) Received: from lon-mail-3.gradwell.net (lon-mail-3.gradwell.net [193.111.201.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA9543D46 for ; Mon, 25 Jul 2005 22:30:10 +0000 (GMT) (envelope-from freebsd01@dgmm.net) Received: from 82-39-75-228.cable.ubr02.jarr.blueyonder.co.uk ([82.39.75.228] helo=webmaker@asgard.uk) by lon-mail-3.gradwell.net with esmtp (Gradwell gwh-smtpd 1.187) id 42e567f1.c329.1c for freebsd-questions@freebsd.org; Mon, 25 Jul 2005 23:30:09 +0100 (envelope-sender ) From: dgmm To: freebsd-questions@freebsd.org Date: Mon, 25 Jul 2005 23:30:05 +0100 User-Agent: KMail/1.7.2 References: <42E30F39.4050804@nawcom.no-ip.com> In-Reply-To: <42E30F39.4050804@nawcom.no-ip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507252330.06181.freebsd01@dgmm.net> Subject: Re: making dvd from videos. (- hey you're lucky!) 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: Mon, 25 Jul 2005 22:30:11 -0000 On Sunday 24 July 2005 04:47, nawcom wrote: > heres a script for converting your classic codec based avi file to a VOB > file for burning onto a DVD. i didnt test the program out, but i did > check to make sure it's freebsd compatible. and luckly all of the needed > programs are in /usr/ports/multimedia. You're lucky! > http://inferno.slug.org/cgi-bin/wiki?AviToVob > it looks like it does the following: > -1. use mencoder to pull the video out of its container format or codec, > -2. use mplayer to extract the audio channels into a separate file > -3. converts the audio into an MP2 file > -4. use transcode to convert the new avi into a VCD/SVCD compliant m2v > file -5. use mplex to group the m2v and mp2 file to a full working mpg -6. > use dvdauthor to make a legit folder containing the video file, title > info, etc. im sure you can modify it to your needs. > -7. use mkisofs to create an iso file out of the folder > -8. use dvdrecord to burn the fucker. > > 8 steps in one shell script. not that bad huh. i may bookmark this page > for future use. > -Ben You can do it with just mencoder too. mencoder -of mpeg -vf scale=720:576 -ovc lavc -lavcopts vcodec=mpeg2video:mbd=2:keyint=25:vrc_minrate=600:vbitrate=2500 -oac lavc -af lavcresample=44100 -srate44100 -mpegopts format=mpeg2 infile.avi -o outfile.mpg Not sure about all the settings in that, it's a while since I used it. The bitrates above may or may not be correct. I'd strongly suggest anyone using mplayer/mencoder read the mplayer and mencoder users list linked from the mplayer home page. -- Dave