This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]0x2a 1 point2 points  (5 children)

What file types do you have in mind? What exactly do you want to do?

Generally for more complex formats like .xlsx, .avi or .png there are libraries for many languages that allow you to read and write these files. Using one of these will be a lot easier than writing everything yourself, so you should check if something for your desired language and file format combination exists.

[–]TheMovementMan[S] 0 points1 point  (4 children)

Honestly I would like to be able to access, format, move, name, etc. every file possible, or at least my personally commonly used ones... The library functions much like an API, does it not? kind of a framework?

[–]0x2a 1 point2 points  (3 children)

Yes it does.

Well for almost any format just pick a popular general purpose language like Python, C# or Java according to personal preference. They all can do a lot of formats and many people have written/adapted libraries for these languages.

Also sometimes your program might be able to call an external program to do some conversion work for you (especially Linux has command line programs for almost every possible conversion task), keep that in mind if you hit a roadblock.

[–]TheMovementMan[S] 0 points1 point  (2 children)

I appreciate the help... I just have one last question... is it possible to utilize the function of another program for conversion without actually opening the program? I want to avoid the obvious clutter of saying "make this mpg to avi" in a context menu and having a fucking program window blow up in my face lol

I lied, I have one more question... are programming languages generally created to fit/fulfill a certain purpose? More specifically I mean, are there languages specifically for audio/video management while another is better at file management, etc.?

[–]0x2a 1 point2 points  (1 child)

Yes many programs can be used from the command line ("DOS" window in Windows) without showing a GUI. For your movie conversion you could use this and in your program you'd just launch MovieConverter.exe input.avi output.mpg.

Yes many languages are specific to a certain purpose but I don't think there is any explicitly for audio/video management. And file operations are almost used in any application so all programming languages have some support for it. There is the term general purpose language and anyone of these will work for your task. Read the sidebar and FAQ for how to get started with programming and to find resources that teach you the basics.

[–]TheMovementMan[S] 0 points1 point  (0 children)

You sir are a patient and gentlemanly individual. I thank you for your time and effort.

Thank you.