Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2003 00:46:18 -0400
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Transcode: problem converting avi (DivX) to mpg
Message-ID:  <20030517004618.13bb9ee7.rpratt1950@earthlink.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030517004618.13bb9ee7.rpratt1950>