Log in

View Full Version : Finally: Avisynth, Codecs, Virualdubmod under Linux


mic64
2nd December 2005, 23:09
Hi

The only reason for me to still use windows was encoding.
And this only because of avisynth.
Well it is no more needed.
Today I managed to get everything I need to run under wine.
Avisynth, Xvid Beta2 Codec, Virtualdubmod, DGIndex etc.

and because a picture says more than 1000 words:
http://img12.imagevenue.com/loc128/th_bea_linuxwine.jpg (http://img12.imagevenue.com/img.php?loc=loc128&image=bea_linuxwine.jpg)

-wine0.92
-winetools0.9jo-II
running on Archlinux

nickrout
3rd December 2005, 00:10
As I don't do any multmedia stuff in windows, i am not sure what these products (avisynth, xvid beta2 codec, virtualdubmod & dgindex) do that can't be done under native linux apps.

Not criticising you, but I'm just curious as to why this needed to be done.

Cheers.

mic64
3rd December 2005, 00:15
Hi

If you just want to do DVD to XviD or so.
This can be done easily with native linux apps.
But If you want to encode HD stuff to xvid there is nothing equivalent
to avisynth, cause you have to telecide, decimate etc.
mencoder can do some of those things, but the results are not really good (yet).

If you check some threads here, you´ll find out that there is nothing like avisynth.

mic

nickrout
3rd December 2005, 00:19
OK cheers, thanks for the hints, I'll take a look around.

patxitron
3rd December 2005, 15:34
Oh, so wonderful! what version of Avisynth are you running?

Best regards

mic64
3rd December 2005, 16:39
Hi

its avisynth 2.56a.
No big problems so far. Only thing that happens is
that some programms distortion your desktop (parts of it going black).
But minimizing and maximizing the window solves it.

mic

lpn1160
5th December 2005, 06:53
mic64
Hello and thank you for the interesting post. the only reason i still use windows is the same as yours. Are You going to write a guide or give hints to what you did to get everything working ?? The only thing I have working with wine right now is Tmpegenc DVD author. Any guides or other info you used would be well appreciated by the rest of us "encoders" looking to dump windows for good!


Thanks a billion
PClinux .094

M7S
5th December 2005, 13:00
I installed wine 0.92 and backed up my old .wine folder to get an fresh start.

DVDshrink worked perfectly after installation without any configuration :).

I wasn't able to install avisynth 2.56a, I still got the same error as before (something about some problem in thread 9?). Avisynth 2.53 worked almost as well as with the older version of wine. It gave me some odd "unrecognised error" when I used trim or lanczosresize in the script but worked when I used last.trim or last.lanczosresized!?!

Virtualdubmod complained about some missing yv12 decoder, I'll look in to that when I get home.

Other programs like PGCEdit, Vobblanker, PGCDemux, QuEnc, HC, DGIndex works as well as before.

@mic64
Which version of virtualdubmod did you install?

Regards,
M7S

mic64
5th December 2005, 20:09
ok thats how I did it.

1. save your .wine DIR
2. install wine 0.92
3. grab winetools from here http://www.von-thadden.de/Joachim/WineTools/index.html#software
I guess you know how to install it etc.
4. then choose "Base Setup" from winetools / Create Fake Windows Drive
5. install everything else from this tab (of course only one language neeeded)
6. Main Menu / Install Windows System Software / install everything here
7. install some fonts. I installed all
8. install your apps for encoding


I´m using VDubMod 1.5.10.1 and like said only few issues with the screen.
All avisynth filters that I´m using are working. decimate, telecide, lanzcos, colourmatrix, etc..

Ok.. I hope you can soon stop booting into win or using vmware.
From the speed point of view..no difference to win. Maybe its few minutes slower,
but if your encode takes 10-20 hours it doesn´t matter.

mic64

708145
6th December 2005, 00:30
1. save your .wine DIR
2. install wine 0.92
3. grab winetools from here http://www.von-thadden.de/Joachim/WineTools/index.html#software
I guess you know how to install it etc.
4. then choose "Base Setup" from winetools / Create Fake Windows Drive
5. install everything else from this tab (of course only one language neeeded)
6. Main Menu / Install Windows System Software / install everything here
7. install some fonts. I installed all
8. install your apps for encoding

mic64

Great news indeed :D
Makes my life much easier. The "Linux Cluster Edition" of ELDER is within reach this year :)

bis besser,
T0B1A5

M7S
6th December 2005, 01:14
ok thats how I did it.

1. save your .wine DIR
2. install wine 0.92
3. grab winetools from here http://www.von-thadden.de/Joachim/WineTools/index.html#software
I guess you know how to install it etc.
4. then choose "Base Setup" from winetools / Create Fake Windows Drive
5. install everything else from this tab (of course only one language neeeded)
6. Main Menu / Install Windows System Software / install everything here
7. install some fonts. I installed all
8. install your apps for encoding


I´m using VDubMod 1.5.10.1 and like said only few issues with the screen.
All avisynth filters that I´m using are working. decimate, telecide, lanzcos, colourmatrix, etc..

Ok.. I hope you can soon stop booting into win or using vmware.
From the speed point of view..no difference to win. Maybe its few minutes slower,
but if your encode takes 10-20 hours it doesn´t matter.

mic64
Thanks, I followed your instructions and now everything works perfectly. Virtualdubmod stopped complaining about that yv12 decoder when I installed xvid. If you get black screens with virtualdubmod uncheck "use directX for display panes" in the display tab in the preference window (Options - Preference...).

M7S

Spotteri
20th December 2005, 16:51
BTW. Has anyone managed to get Avisynth or Virtualdub subtitle-plugins to work. Everything seems to work ok and there are no errors or crashes, but no subtitles.

So far I've tried Avisynth Textsub and Virtualdub Subtitler. Both are latest versions.

patxitron
20th December 2005, 20:17
Great! it works!.

However, I'm having some trouble with VirtualDub. I installed ffdshow 20051103 (and enabled some 4cc in VFW) and X264 r293A but Virtualdub only show x264, in Video->Compression... ffdshow codec is missing.

Spotteri
20th December 2005, 20:57
Great! it works!.

However, I'm having some trouble with VirtualDub. I installed ffdshow 20051103 (and enabled some 4cc in VFW) and X264 r293A but Virtualdub only show x264, in Video->Compression... ffdshow codec is missing.

huh. Didn't know ffdshow worked in wine? Anyone else?

shevegen
21st December 2005, 07:02
I am impressed :)
I think in some of my older posts you can see me crying after avisynth.

When i was on Windows, using VirtualDub + Avisynth was the coolest thing ever, especially
Avisynth as the things you wrote in there were so quick to make changes that I wrote a standard avs file for my most common changes.
It was FUN to play around with it, and it was rather easy too.
Sadly I never became a real expert with Avisynth.


Nowadays I mostly rely on mencoder but it is GREAT to have alternatives, and I will try out Avisynth when i have more time.

Joe Fenton
21st December 2005, 07:36
huh. Didn't know ffdshow worked in wine? Anyone else?

ffdshow is a DirectShow set of codecs. VirtualDub only uses vfw codecs, not dshow codecs.

M7S
21st December 2005, 08:53
ffdshow is a DirectShow set of codecs. VirtualDub only uses vfw codecs, not dshow codecs.
ffvfw is integrated with ffdshow so there should be vfw codecs in ffdshow, too. I haven't been able to install ffdshow or older stand-alone versions of ffvfw in wine, though.

M7S

patxitron
21st December 2005, 19:11
ffvfw is integrated with ffdshow so there should be vfw codecs in ffdshow, too. I haven't been able to install ffdshow or older stand-alone versions of ffvfw in wine, though.

M7S

Yes, I'm trying to use ffvfw, in kde's start menu there is a wine folder from wich I can start "wfv video codec configuration" where I assigned some 4cc to libavcodec, but virtualdub ignores them. It seems to me that some entries in system.ini are mising (x264 has put: vidc.X264=x264vfw.dll). I'll try to add some entries by handd soon.

Best regards.

patxitron
21st December 2005, 19:30
Finally it works!

Virtualdub needs vidc.FVFW=ff_vfw.dll (yes, only this one to enable full ffvfw) in system.ini.

This is my ~/.wine/drive_c/windows/system.ini file:

[mci]
MPEGVideo=mciqtz.drv
MPEGVideo2=mciqtz.drv
avivideo=mciavi32.dll
cdaudio=mcicda.dll
sequencer=mciseq.dll
vcr=mcivisca.drv
; videodisc=mcipionr.drv
waveaudio=mciwave.drv

[drivers32]
MSACM.imaadpcm=imaadp32.acm
MSACM.msadpcm=msadp32.acm
MSACM.msg711=msg711.acm
MSACM.winemp3=winemp3.acm
VIDC.MRLE=msrle32.dll
VIDC.MSVC=msvidc32.dll
VIDC.CVID=iccvid.dll
; VIDC.IV50=ir50_32.dll
; VIDC.IV31=ir32_32.dll
; VIDC.IV32=ir32_32.dll
vidc.X264=x264vfw.dll
vidc.FVFW=ff_vfw.dll


Best regards.

random asshat
23rd December 2005, 23:48
The wine project seems to be turning in excellent work as of late.

Running Cinema Craft Encoder in wine is a hoot. The speed's not quite there yet, but good stuff none the less. ;)

http://img510.imageshack.us/img510/7674/cce3te.th.png . clicky for full size . (http://img510.imageshack.us/my.php?image=cce3te.png)

madluther
24th December 2005, 00:28
Running CCE and avisynth together under wine has been possible since 2003,
see here
http://forum.doom9.org/showthread.php?t=55377
and here
http://forum.doom9.org/showthread.php?s=&threadid=39927

Spotteri
24th December 2005, 22:02
For some odd reason everything related avisynth started crashing when using YV12() colormode. I didnt do any changes to configuration or update anything on my linux. For no reason I can no longer use YV12() and it only affects avisynth (all versions).

Everything worked just fine yesterday. Now wine just reports "segmentation fault"

ac-chan123
25th December 2005, 06:00
For all how won'tuse avisynth in wine try avisynth 3.x. As a Linux alternate you can also try dali(http://www.cs.cornell.edu/dali/). For VirtualDub there is a "clone" called avidemux.
For effect try veejay(http://veejay.dyne.org/).

MarkP
27th December 2005, 23:11
No big problems so far. Only thing that happens is
that some programms distortion your desktop (parts of it going black).
But minimizing and maximizing the window solves it.mic

If anyone is having problems with there screen when running vdub try disabling use directx for the display, in the display section of preferences

worked for me ok

Teegedeck
29th December 2005, 20:38
That worked for me, too.

Three cheers for Wine! ATM I'm encoding to XviD with VdubMod, performing IVTC with tritical's TIVTC plugin (under AviSynth 2.56). And pretty fast, too! Using Wine 0.94 and NO wine-tools under SUSE 10.0.

Edit: OK, the iiP script doesn't work; would've been too nice...
Edit(2): kassandro's denoising plugins (non-SSE-versions of RemoveDirt, RemoveGrain, Repair) work!
Edit(3): Whaddayaknow - my first serious attempt at DVD-backup and VDubMod crashes when I hit 'save'! With only 'crop' and 'colormatrix' in the script...
Edit(4): Now,whaddayaknow(2); with VirtualDub 1.6.12 it seems to work, though the avs will only open after several attempts.

virus
22nd January 2006, 15:13
Avisynth 2.53 worked almost as well as with the older version of wine. It gave me some odd "unrecognised error" when I used trim or lanczosresize in the script but worked when I used last.trim or last.lanczosresized!?!
I'm seeing the same thing here with Avisynth 2.54 and Wine 0.9.1.
Scripts containing implicit clip variables make Avisynth bail out with some unrecognized exception. But using explicit clip variables - say, something like "a=Trim(a,1001,2000)" instead of "Trim(1001,2000)" - works flawlessly. I'm currently using avs2yuv.exe -raw to pipe the output directly to x264 and that seems to work very well. Earlier attempts with some pre-0.9 builds of Wine never worked for me.