From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 23 01:46:07 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7EC516A571 for ; Thu, 23 Aug 2007 01:46:07 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6EFBC13C4A3 for ; Thu, 23 Aug 2007 01:46:07 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 35.152-pool-xdsl-mi.sccoast.net ([66.153.152.35]:55700 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1IO1Wr-0001qn-1B; Wed, 22 Aug 2007 21:30:33 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.1/8.14.1) with ESMTP id l7N1UWh5076559; Wed, 22 Aug 2007 21:30:32 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 22 Aug 2007 21:30:31 -0400 (EDT) From: Wes Morgan To: Dave In-Reply-To: <000301c7e51a$9b515ea0$0200a8c0@satellite> Message-ID: References: <000301c7e51a$9b515ea0$0200a8c0@satellite> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii; format=flowed Cc: freebsd-multimedia@freebsd.org Subject: Re: converting avi files to ntsc dvd with ffmpeg core dumps X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 01:46:07 -0000 On Wed, 22 Aug 2007, Dave wrote: > Hello, > I've got some .avi files i believe they are either divx or xvid and i am > trying to convert them to ntsc dvd video so i can play them on a standard dvd > player. I'm running FreeBSD 6.2-p3 or 4, and an up to date ports tree, My > ffmpeg is version 2007.07.12_3. During the process of conversion ffmpeg core > dumps, being not a programmer i do not know what to do about it and would > appreciate any suggestions. The specific cmdline i'm using is: > > ffmpeg \ > -i ${VIDEO}.avi \ > -pass 2 \ > -target ntsc-dvd \ > -aspect 4:3 \ > ${VIDEO}.mpg > > The first time i ran this i got the msg: > > ffmpeg2pass-0.log: No such file or directory > > googling revealed to run first pass 1 then rerun with pass 2, this seemed > like a long way, but i did it. When running with pass 1 that's when it core > dumped. The log file created is empty. Output during the conversion process > seems to indicate that this avi has no frames, audio, or video, but i know > this to be incorrect, i ran a transcode on it for over a day got output and > finally decided it was going to slow. I am open to suggestions, any > additional information needed, i do have a copy of the .core file, and a > typescript of the entire conversion process, anything else let me know. This isn't really a direct answer to your problem, but if you want to convert avi to dvd, I recommend taking a look at the ports tovid, devede, and/or avidemux2. Provided that you don't require a command-line interface, I would go with devede or avidemux2. The tovid port seems to have a lot of problems with freebsd, but it can be used without the gui. Avidemux2 will do the two-pass encoding, whereas the others do not (yet) However, since the dvd bitrate is likely so much higher than your avi, a two-pass encoding is probably overkill. My transcodes always seem to end up far under the limit of a DVD5 -- but hey that could be operator error.