Giter Site home page Giter Site logo

Comments (3)

SuRGeoNix avatar SuRGeoNix commented on June 5, 2024

Hi @peteddevgithub and thanks!

I'm not sure what do you mean by FFMPG lib but my guess is that you mean another library that uses command line to execute FFmpeg commands. So unfortunately is not that simple to mix those two but I'm planning to support FFmpeg deeper in the next major update (eg. video filters).

By the way, most of the video FFmpeg filters are not supporting D3D11 hardware acceleration which will drop the performance a lot. So the plan is to implement those independently within the D3D11 renderer.

from flyleaf.

peteddevgithub avatar peteddevgithub commented on June 5, 2024

Hello,
thanks for your reply.
I think its great you are adding support for Video filters.
I apologize because my original question was unclear and had some typos that further confused what i was trying to ask.
You use the FFmpeg library.
If i was to download FFmpeg lib on its own (from its source website) i could use command line parameters to perform a variety of functions.
An hypothetical example would be something like this
Example1 : $ ffmpeg -i input.mp4 -ss 00:05:20 -t 00:10:00 -c:v copy -c:a copy output1.mp4 to trim a video file.
or this
Example 2: $ ffmpeg -i video.mp4 video.avi to convert the video file type.
FFmpeg supports a large number of functions accessed in this way.

So what im trying to find out, given that your control already is using the FFmpeg lib, is there a way to send command parameters in this way to perform tasks that your control does not currently support.

So one example would be if a video is loaded or playing in your control, is there anyway to send command line parameters to the FFmpeg lib like example 1 above that would allow me to save out a chunk of the video to a new file, or save the video file as a new format.

I would like to be able to do that to video files that are both loaded and playing in the control, or just batch process files on a HD in the one application that hosts your control.

I hope that is clear what i am asking. To be able to send parameters to the FFmpeg lib you use in your control to perform custom functions or use features in FFmpeg that your video control does not currently support.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 5, 2024

@peteddevgithub I see your point now. However, FFmpeg has two parts: the API (DLLs) and the TOOL (exe). FlyleafLib uses the API and tries to provide higher API so you will not have to bother much about the complexity of the underlying FFmpegLib. Currently, is mainly for playback (means demuxing/decoding +seeking) and not much for encode/transcode/mux (just remuxing/downloading/recording). All those will be included in v4 (demux/decode/encode/mux/remux/transcode) and will support also multiple platforms and renderers (instead of using video filters so you can achieve hardware acceleration filtering).

(In your case you were asking for Player's Record function and Downloader class for remuxing, check the samples and let me know if you need specific help)

from flyleaf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.