Search code examples
windowsprogramming-languagesvideolibrariesavisynth

what language/libraries an app that has a video preview window?


I want to make a simple assistant for putting together AviSynth scripts. This would be a windows desktop application that would have a "preview" screen of an avi movie, which would give you a timeline, play, fast-forward, rewind, advance and go back frame-by-frame. The program would need to know the frame number of the current frame in the player and its filename.

What language is best suited for this? I know PHP ( I understand that this is not a contender ) and am familiar with Java. My thought is that the biggest hurdle with this project will be finding a library for the video playing features. With a cursory glance, no Java video libraries jumped out at me. My next thought would be c++ for this.

The output of this program would be an AviSynth script, a plaintext file which looks like this:

AviSource("myAvi.avi")
Crop(0, 0, 320, 240)
Blur(0.1)

Solution

  • There are a few tool kits that can do tihs:

    1. C#: DirectShow (DirectX)
    2. Java: JMF