View Full Version : Why compile yourself
Delibin
20th June 2016, 14:43
What benefites does compiling ffdshow yourself have?
I also like to compile my own custom videoplayer.
Does github provide me with the more complex components you see in lav/ffdshow/haali video players?
Coding from scratch seems impossible but I would like to make some simple video filters for presentations.
How is this done?
I would be operating on a windows touchscreen...
thanks in advance
Ghitulescu
20th June 2016, 15:13
What benefits does compiling ffdshow yourself have?
Apart from the possibility of using optimisations and features one would like, there is also the legal aspect - source code is not required to pay licence fees, an executable however is.
Delibin
21st June 2016, 23:57
And with mplayer I can download thirdparty filter like you seem in photoshop and whatnot editing software?
Is there a website that has free collection or do I have to write it all from scratch?
Im really serious so the right site and guides would mean the world to me.
raffriff42
22nd June 2016, 01:15
ffdshow lets you run an AviSynth script-based filter. That would be the easiest way to get started with custom filtering.
http://www.ezoden.com/htpc/22/ffdshow-video-avisynth
http://www.oaultimate.com/computers/playing-3d-sbs-videos-as-3d-anaglyph.html
http://ffdshow-tryout.sourceforge.net/wiki/video:avisynth
Delibin
25th June 2016, 21:15
I had a read over at avisynth.nl and this does look like want I need.
However is there a gui or something.
After downloading the external filter pack im staggered managing it all but worse I h avent got any other then interal filters to work.
ps Why avisynth+?
raffriff42
25th June 2016, 22:09
What kind of filtering are you thinking of doing? (For example: denoise? resize? color correction?) We can post something to get you started.
Delibin
26th June 2016, 06:50
I wanted to try and make an interactive screensaver using pictures.
colors offset
transistions
effects
zoom
positioning (xyz)
gif support
timeline editing
I would have to find a balance and try to tweak the program to run itself from there on with the option of adding with minimal intervention and removing files as I please.
Eventually i'd work on movies, on my simple windows touchscreen intel device.
I would also try to make hotkey or custom onscreen keyboard (hotvirtual keyboard has full translucence option and many others but does cost money)
Mplayer or any other media player likely suffices so maybe make a touchscreen theme\gui for that.
raffriff42
26th June 2016, 11:23
...oh I see. Sounds complicated. Well, there are several ways you could go here:
1) Most of the features you mention could probably be done with AviSynth, but it's not the right tool. It's not designed for real-time interaction. You'd probably end up with user-interface and/or performance issues that can't be worked around, and end up starting over.
2) Most of the features mention could be done with a modded version of ffdshow but again, it's not the right tool. You want to control the user interface, and a plugin cannot do that, by design.
3) You could find some other open source code on which to base your application. Something like VLC, MPC or Blender - but probably not any of those as they are so huge and unwieldy. You "just" need to find the right program, learn how it works in complete detail, and then modify it to do what you want (not easy).
4) You could start from a simple "hello world"-type sample application published online (one that incorporates as much of your desired functionality as possible; perhaps from here (http://www.drunkenhyena.com/pages/projects/d3d_tutorial.php), here (https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html) or even here (https://msdn.microsoft.com/windows/uwp/gaming/user-interface)) and build in your features, one at a time. Again, not easy, but this method has the advantage of not having to learn tons of legacy code all at once, as you would when modifying an existing code base. You can gain your expertise in manageable chunks - and you will need to gain a lot of expertise, in various areas. It is satisfying to get something running quickly and build it over time.
feisty2
26th June 2016, 13:23
Screensaver?
You do realize that does not "save" any LCD screens which are the mainstream screens nowadays right?
Delibin
26th June 2016, 18:06
Avisynth doesnt have realtime editing then?
All those renders are far harder then setting up and executables to random play of use hotkeys for in mplayer2...
Having multiple avs edits for the same group of images could do my goals?
length of display with an integer to use w\transitions and a set of parameters for w\effect and color offsets (time delay) per picture and then use ramdom playlist in mplayer2.
Transition filter exist so does color offset and so on.
Positioning should be possible.
I just like to view the filters one by one without typing a silly abreviation if possible.
Delibin
26th June 2016, 18:13
Screensaver?
You do realize that does not "save" any LCD screens which are the mainstream screens nowadays right?
You mean burning into the display?
Not what its for I could just as easily have sed a presentation of various pictures and movies with animated overlay for ambiance.
An endless trailer loop where I enter a small code into the filename and drop a file into the folder and start up mplayer2 for rendering.
An advanced screensaver would do these things and I looked but I could even find a gif supported one.
Could go around it splitting the gifs but even then the free screensaver kinda suck. I'd need open source, highly programable one.
raffriff42
26th June 2016, 19:20
A Screen Saver (https://en.wikipedia.org/wiki/Screensaver) is an application that is run by the OS after a period of inactivity. Yeah, it does not "save" anything, it's just another obsolete computer term we use for nostalgic reasons. Normally, a screen saver should terminate on any keyboard or mouse activity and so can't be interactive, but that another thing that's not adhered to any more. For example, see nvidia's Sun Village Screensaver (http://www.geforce.com/games-applications/pc-applications/sun-village).
Delibin
26th June 2016, 21:29
True, a interactive slideshow would have been a better term.
Delibin
30th June 2016, 18:19
So no automated scripter of any other program for avs exists?
Most programs seem abandoned other then avidemux.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.