View Full Version : Post-processing under Linux ?
libredr
11th March 2002, 13:39
A question maybe specially for Nic :
Since your DirectShow filter uses DirectX, is there any chance that you will release this filter in a future Xvid codec with the ability to be compiled under Linux ?
Cheers
There's no technical reason post-processing can't be moved into core and configured in the decoding parameter. Players might have to be modded to recognise it though.
Or are there DirectX-specific features in there at the moment? I thought it was all manual image-buffer tomfoolery.
-h
Nic
11th March 2002, 13:49
It could easily be put in the core or any Linux player....theres no special DirectX stuff.....its "all manual image-buffer tomfoolery" :D
-Nic
libredr
11th March 2002, 15:45
Thanks. That's good news !
Have some people experience of recompiling actual CVS under Linux ? Are there tricks, problems, etc... ?
BTW : I have read that the authour of Virtualdub was working to port it under Linux, because the demand has increased a lot.
avih
11th March 2002, 16:37
my (old- 2 weeks ago lol) postprocessing build, has the processing inside the codec. it might give u a starting point. i don't think it'll compile under linux since it reads the settings from the registry. this could be modified though. your starting point should be the bottom of decoder.c. postprocessing functions are in postproc.c.
www.geocities.com/avihpit/xvid/post.html
cheers
avi
ps
i have the directx sdk now, but still didn't start porting it... working on cartoon warp-sharp filter, with some help from avery lee. damn slow atm :(
robUx4
11th March 2002, 17:21
Instead of saving data in the registry, you should load/save data into an XML file.
It's as easy as with the registry (you can use TinyXML) and MUCH more portable. It's also easier to modify and put in an installable package.
avih
11th March 2002, 19:18
robUx4:
i think this stuff belongs to the ds filter, however since i didn't have the directx sdk (needed to compile the dshow project) i started working inside core, and implemented a quick and dirty (not THAT dirty :) ) mechanism for reading the settings to the decoder. since the settings have effect in real time (color control, filters etc) it would be too much to read and parse them from a file rapidly.
i intend to move this stuff to the ds filter soon, and then the registry stuff won't be there anymore
avi.
snol
11th March 2002, 19:54
wow!! where'd you read that about Avery porting vdub to linux? That would eradicate the one reason why I'm still tempted to boot to windows every so often...
as for compiling the CVS, I haven't done it for a week or so; it usually compiles fine (though last time there was a line missing from one of the makefiles that caused problems) but I get the impression that transcode has to update its xvid plugin before it'll encode with CVS. Maybe mencoder works, not sure. If you find out, want to post and let me know what works?
libredr
11th March 2002, 20:29
Originally posted by snol
wow!! where'd you read that about Avery porting vdub to linux? That would eradicate the one reason why I'm still tempted to boot to windows every so often...
It was reported on the site :
http://dvd.ultramaxx.com/article.php?sid=194
Apparently they read it on Virtualdub's website itself
Good news, isn't it ? :)
BTW : I never tried, but maybe it is possible to emulate it with Wine (even if I doubt it...)
Neo Neko
11th March 2002, 21:58
Yeah Avery had it posted to his sight some time ago. It will definatly go a long way to Windows independance. If and when this is possible even people on Macs could use it!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.