Date: Mon, 28 Jul 2003 09:19:25 -0400 From: Tsu-Fan Cheng <tscheng@ic.sunysb.edu> To: Ulrich Spoerlein <q@uni.de> Cc: freebsd-ports@freebsd.org Subject: Re: transcode core dump Message-ID: <oprs0van0cqtekys@bst19-196unix.path.sunysb.edu> In-Reply-To: <20030727142711.GA692@galgenberg.net> References: <20030721165447.Y29630@bst19-196unix.path.sunysb.edu> <20030722102821.GD633@galgenberg.net> <oprsppivzhqtekys@bst19-196unix.path.sunysb.edu> <20030726211102.GE647@galgenberg.net> <oprsxs9ierqtekys@bst19-196unix.path.sunysb.edu> <20030727142711.GA692@galgenberg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jul 2003 16:27:11 +0200, Ulrich Spoerlein <q@uni.de> wrote: > On Sat, 26.07.2003 at 17:42:44 -0400, Tsu-Fan Cheng wrote: >> i did the pkg_info thing, and this is it >> /usr/local/lib/transcode/libdivxdecore.so.0 is a link from >> /usr/local/lib/libdivxdecore.so >> so pkg_ingo -W /usr/.../libdivxdecore.so syas: >> /usr/local/lib/libdivxdecore.so was installed by package libdivxdecore- >> devel-0.4.0.50_1 >> (it's in multimedia port, and I tried the non-devel version too) >> pkg_info |egrep 'divx'xvid' says: >> libdivxdecore-devel-0.4.0.50_1 OpenDivX decoding engine from Project >> Mayo (development ver >> linux-divx4linux-5.0.20030428 Linux binary release of DivX (TM) Codec >> xvid-0.9.1,1 An opensource MPEG-4 codec, based on OpenDivx >> ---- >> this is all i got, hope it's helpful! thanks! > > I compared the parameters transcode is giving to divxdecore, and the > parameters divxdecore expects. They do not match. > > That means, transcode won't work with libdivxdecore! > > See this post for more Information: > http://www.theorie.physik.uni-goettingen.de/pipermail/transcode- > users/2003-April/007209.html > Hi, after read the article you mentioned, I did the following: 1. deinstall all other libdivx-related packages. 2. install linux-divx4linux4 under multimedia port. 3. exec transcode, but it complain it can't find libdivxdecode.so, which is under /compat/.../lib, so I make a sym link from /compat//... to /usr/local/lib, and than it complained not to find ld-linux.so.2 which is also under /compat/..linux/, so I made another sym link to /usr/local/lib, than transcode again. 4. it workded! start to remux my avi, after it's done, the file became 1.2G while it's 745M before remux. I guess it's because it encode mp3 into PCM (or whatever). Exec output: [transcode] auto-probing source test.avi (ok) [transcode] V: import format | DivX RIFF data, AVI (V=divx|A=mp3) [transcode] V: pass-through | yes [transcode] V: import frame | 720x576 1.25:1 [transcode] V: bits/pixel | 0.174 [transcode] V: encoding fps | 25.000 [transcode] A: import format | 0x55 MPEG layer-3 [24000,16,2] 48 kbps [transcode] A: export format | 0x1 PCM [24000,16,2] 128 kbps [transcode] A: bytes per frame | 3840 (3840.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32 accel mode | 3dnow (3dnow mmxext mmx asm) [transcode] V: video buffer | 50 @ 720x576 [import_mp3.so] v0.1.3 (2003-06-10) (audio) MPEG [import_divx.so] v0.2.7 (2003-05-29) (video) DivX;-)/XviD/OpenDivX/DivX 4.xx/5.xx [export_raw.so] v0.3.10 (2003-06-09) (video) * | (audio) MPEG/AC3/PCM [import_mp3.so] MP3->PCM [import_mp3.so] tcextract -a 0 -i "test.avi" -x mp3 -d 0 | tcdecode -x mp3 - d 0 [export_raw.so] codec=DIVX, fps=25.000, width=720, height=576 encoding frames [000000-132588], 501.34 fps, EMT: 1:28:23, ( 0| 0| 5) clean up | frame threads | unload modules | internal threads | done [transcode] encoded 132589 frames (0 dropped, 0 cloned), clip length 5303.56 s 5. I use avifix -i foo.avi to check new file: > avifix -i foo.avi [avifix] scanning AVI-file foo.avi for header information [avilib] V: 25.000 fps, codec=DIVX, frames=132589, width=720, height=576 [avilib] A: 24000 Hz, format=0x01, bits=16, channels=2, bitrate=768 kbps, [avilib] 132589 chunks, 509141760 bytes [avifix] successfully updated AVI file foo.avi [avilib] V: 25.000 fps, codec=DIVX, frames=132589, width=720, height=576 [avilib] A: 24000 Hz, format=0x01, bits=16, channels=2, bitrate=768 kbps, [avilib] 132589 chunks, 509141760 bytes it seems like both video and audio have the same chunk. 6. split it with avisplit. avisplit -s 700 -i foo.avi: [avilib] V: 25.000 fps, codec=DIVX, frames=132589, width=720, height=576 [avilib] A: 24000 Hz, format=0x01, bits=16, channels=2, bitrate=768 kbps, [avilib] 132589 chunks, 509141760 bytes [foo.avi-0000] (000000-078778), size 701.1 MB. (V/A) (3151160/3151160)ms AVI audio read frame: avilib - No Error0.7 MB. (V/A) (5303520/5303520)ms [foo.avi-0001] (078780-132588), size 480.7 MB. vid=5303560.00 ms aud=5303560.00 ms 7. play with xine, they both have correct sounds! thank you very much for your help! now I can put it to CD and save some space! -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprs0van0cqtekys>