Jump to content

The only one I know of is ffmpeg, which is a command line tool you can download as either the source code or some precompiled libraries to import into C/C++, although I'm not sure if they are compatible with Java or C#.

 

There's also this Python module: https://github.com/kkroening/ffmpeg-python (hyperlinking isn't working for me atm, sorry).

Which should do pretty much what you're looking for, although I'm not sure what version of ffmpeg this module uses (as newer versions add better performance and features).

Link to post
Share on other sites

10 hours ago, HunterAP said:

The only one I know of is ffmpeg, which is a command line tool you can download as either the source code or some precompiled libraries to import into C/C++, although I'm not sure if they are compatible with Java or C#.

 

There's also this Python module: https://github.com/kkroening/ffmpeg-python (hyperlinking isn't working for me atm, sorry).

Which should do pretty much what you're looking for, although I'm not sure what version of ffmpeg this module uses (as newer versions add better performance and features).

I know ffmpeg can be used for most of the things that work with video and audio, but it doesn't have a good documentation.Why doesn't such powerful (and incredibly useful) tool have at least some small introduction for developers?I've noticed this with lots of other libraries (libVLC, WebRTC etc...)?

By the way, I haven't noticed anything related to encoding/decoding in the documentation of that python module.

Link to post
Share on other sites

12 hours ago, MyName13 said:

I know ffmpeg can be used for most of the things that work with video and audio, but it doesn't have a good documentation.Why doesn't such powerful (and incredibly useful) tool have at least some small introduction for developers?I've noticed this with lots of other libraries (libVLC, WebRTC etc...)?

By the way, I haven't noticed anything related to encoding/decoding in the documentation of that python module.

They do have a page dedicated for ffmpeg developer stuff, but I agree that this stuff really isn't helpful for people trying to utilize ffmpeg externally rather than update ffmpeg internally.

 

The only other tutorial/guide I could find was this one made by someone named Dranger, but the last time they updated the guide was February 2015.

 

My next best suggestion would be to look at the source code for ffmpeg and see the different function calls, and from there build something like that.

 

As for python usage, that specific python module doesn't allow for transcoding of videos, just streaming and applying filters. This other module I found named ffmpy that allows you to use all parts of ffmpeg, but makes it easier to call commands. The codumentation for that can be found here. It was laste updated about 9 months ago, so it's still pretty recent.

Link to post
Share on other sites

Slight update: The ffmpeg trac page (where most of the documentation is listed) has a section named "Developing Programs Using the FFmpeg Libraries" where it links to guides on how to use ffmpeg within C++, and the section you'd want to look at is "Using libav". Good luck, mate.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×