From owner-freebsd-multimedia@FreeBSD.ORG Fri May 16 21:45:44 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE1E837B401 for ; Fri, 16 May 2003 21:45:44 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A43F43F85 for ; Fri, 16 May 2003 21:45:44 -0700 (PDT) (envelope-from rpratt1950@earthlink.net) Received: from user21.net300.fl.sprint-hsd.net ([198.70.211.21] helo=k6-2.weeble.com) by avocet.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 19GtZn-0000T9-00 for freebsd-multimedia@FreeBSD.org; Fri, 16 May 2003 21:45:44 -0700 Date: Sat, 17 May 2003 00:46:18 -0400 From: Randy Pratt To: freebsd-multimedia@FreeBSD.org Message-Id: <20030517004618.13bb9ee7.rpratt1950@earthlink.net> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Transcode: problem converting avi (DivX) to mpg X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 04:45:45 -0000 I thought I was trying to do something simple but I keep running into problems. This is the file I'm trying to convert to an mpeg format for either a vcd or svcd: -bash-2.05b$ avinfo foo.avi=20 ~10Mb, 00:01:33 video: 640x386, 23.98 fps, (DIVX), 807kbps audio: 44100, Mono, ISO/MPEG Layer3, 92kbps Software: MEncoder 0.90rc5-2.95.4=20 Codec information: Signature: (DIVX) Name: DivX I think I almost have it with transcode: -bash-2.05b$ transcode -i foo.avi -x divx,mp3 -V -y mpeg -F 1,1 -E 44100 -b= 224 -o bar.mpg transcode v0.6.4.20030325 (C) 2001-2003 Thomas =D6streich [transcode] auto-probing source foo.avi (ok) [transcode] V: import format | DivX RIFF data, AVI (V=3Ddivx|A=3Dmp3) [transcode] V: import frame | 640x386 1.66:1 =20 [transcode] V: bits/pixel | 0.304 [transcode] V: encoding fps | 23.976 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x55 MPEG layer-3 [44100,16,1] 92 kb= ps [transcode] A: export format | 0x50 MPEG layer-2 [44100,16,1] 224 kb= ps [transcode] A: bytes per frame | 3678 (3678.678679) [transcode] A: adjustment | 680@1000 [transcode] V: IA32 accel mode | 3dnow (3dnow mmx asm) [transcode] V: video buffer | 10 @ 640x386 [import_mp3.so] v0.1.1 (2001-10-10) (audio) MPEG [import_divx.so] v0.2.5 (2002-10-10) (video) DivX;-)/XviD/OpenDivX/DivX 4.x= x/5.xx [export_mpeg.so] v1.2.1 (2002-06-05) (video) MPEG 1/2 | (audio) MPEG 1 Laye= r II [import_mp3.so] MP3->PCM [import_mp3.so] tcextract -a 0 -i "foo.avi" -x mp3 -d 0 | tcdecode -x mp3 -= d 0 [import_divx.so] Shared object "libdivxdecore.so" not found video import module error: OPEN failed critical error: failed to open input source - exit failed to init DivX 4.xx/5.xx=20 I installed ports/multimedia/libdivxdecore as well as ports/multimedia/linu= x-divx4linux4 but to no avail as it still cannot find libdivxdecore.so . I've also rebuilt transcode after installing=20 those. Anyone have any suggestions on solving this ... or even a different method of converting an avi to an mpeg usable for (s)vcd ? Thanks Randy