Log in

View Full Version : xvid & wine


angra
7th October 2004, 13:55
Hello all. I apologize in advance if I should have been able to find the answer to this question. I looked everywhere I could think of and could not.

I am a very happy XviD user, and recently gained access to a fast machine that is mostly idle, and runs linux. I want to use this machine to do my encoding. I know that there are XviD binaries for linux, and encode tools for linux, but I am used to using VirtualDub, and I like the array of filters available, so, for now, I am trying to get it working under Wine.

Of course, with a stock Wine installation, virtualdub works (or seems to, so far), but there is no XviD. I tried installing Koepi's build, but it didn't work. I'll post the exact Wine error messages in a followup if it's helpful.

I am totally new to Wine, so maybe this is a totally obvious, neophyte error or omission of some sort. I tried looking in Wine related places, as well as XviD related places for hints. If anyone has experience with doing this (it seems like people here have, but I've never seen mention of my symptoms), I would appreciate any input available.

targer platform is running Fedora Core 2 on a dual Xeon 3.06, 4GB, Wine version 20040914. Any other platform information can be provided if needed.

Koepi
7th October 2004, 14:23
I never managed to get vdub and encoding stuff (i.e. avisynth) to work on WINE. I'm quite experienced with *nix and linux, but WINE is a totally different story.

You may want to remove your fedora core 2 WINE-rpms ("yum erase WINE" if i'm not mistaken) and use a fresh CVS checkout and compile/install WINE yourself.

Take a closer look at the man-pages and sample-configurations, you may find something useful there.
Let's see what google answers to the problem...:
http://www.winehq.org/hypermail/wine-users/2003/02/0101.html
(doesn't work if "msvfw32" is set to "native, builtin" - remove the line from your wine.conf)

That seems to solve the problem.

Regards
Koepi

angra
8th October 2004, 16:41
Koepi,

thanks for your response. I'm working through trying the various things mentioned.

My wine config doesnt have the msvfw.dll line in it, so that's out. Working on the other things.

I was a bit overvague on what's going on - the XviD installer is failing to run. Here is a grab of the error dialog:


c:\windows\system\xvid.ax

Unable to register the DLL/OCX: DllRegisterServer failed; code 0x80004001.

Cick Retry to try again, Ignore to proceed anyway (not recommended) or abort to cancel the installation.


like yourself I am pretty comfortbale with *nix, but totally green at WINE.

Are there tools for linux that are comparable to what we use in windows? I don't need to do editing on this machine, just filters and encoding.

Neo Neko
8th October 2004, 16:52
AFAIK Xvid's installer has never run under Wine. Though I have gotten the VFW version of Xvid to encode in virtualdub under wine. The key is to find the DLLs for Xvid on an existing windows system. Then move them to the corresponding folders under the Wine psudo tree in your home directory. The same for dependancies like any required VFW dlls. In the end you should be left with a version of virtualdub that can encode to Xvid. But you will not be able to do any audio compression with it. I have never been able to get the ACM compressors to work in virtualdub under Wine.

Sirber
8th October 2004, 16:53
Wine has no DirectShow support yet IIRC.

angra
8th October 2004, 17:27
Thanks for the input guys.

I think VirtualDub can work without directdraw.

good idea on copying files around.

lack of audio encoding ability is a hassle, though I might be able to get around that by reencoding the audio stream on a windows machine first (since that doesnt take anywhere near the time of the video encode).

Overall it looks like using a native linux tool would be better, but I just haven't found one I really like yet.

Bogalvator
8th October 2004, 17:54
This thread may be of some use:
http://forum.doom9.org/showthread.php?s=&threadid=81793

Neo Neko
9th October 2004, 04:27
how about avidemux?

angra
9th October 2004, 05:28
Originally posted by Neo Neko
how about avidemux?

looks promising, thanks for the tip! I am downloading the source as I type this.

gotaserena
11th October 2004, 11:07
Maybe you want to use mplayer for demuxing instead. There are some threads around here on how to do it.