
Recherche avancée
Autres articles (51)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6408)
-
Are there people interested in converting ffmpeg source to Go ?
30 septembre 2018, par No OneAfter seeing that Go compiler have been converted from C to Go I thought same for ffmpeg ? Don’t want to go deep into reasons as I think they are obvious. It was very hard to be so close to the have rich library as ffmpeg in other language. It was even hard to make bindings for that scale of library. I’m not enough advanced to start something like this myself, so is there anybody else interested in this ? If yes then where this question worth to be addressed, so people interested in this may have discussion ?
(Seems not enough obvious so adding some details.)
For applications which use large amount of commands with different complexity it is hard to read the code as it’s not actually a code. Instead, it’s commands which you will need to understand by reading docs from ffmpeg’s docs page. I had used ffmpeg before in Nodejs and there was lots of logic of manipulating command string. Also sometimes in windows it was ending with cmd limitations error. When you are working with some language it is nice to see whole logic in that language. So you know go ? than you know everything that is happening with this code without even going off from code and reading docs of another application.
There may be some benefits from executing stuff in goroutines so you can handle concurrency in the way you want not in the way it is implemented in ffmpeg.
Build faster with Go.
Less code.
Possibility to split code into smaller packages.
Also if you are familiar why community converted compiler from C to Go than I think some reasons will fit too.
-
Can't compile project with ffmpeg-light
27 octobre 2016, par wowofbobCompilation of any project which uses openFile function from Codec.FFmpeg.Decode fails with error :
Couldn't match type ‘GHC.IO.Exception.IOException’ with ‘[Char]’
arising from a functional dependency between:
constraint ‘mtl-2.2.1:Control.Monad.Error.Class.MonadError
String IO’
arising from a use of ‘openFile’
instance ‘mtl-2.2.1:Control.Monad.Error.Class.MonadError
GHC.IO.Exception.IOException IO’
at <no location="location" info="info"></no>As an example, compilation of this fails :
openVideoFile :: String -> IO ()
openVideoFile filePath = do
initFFmpeg
avFmtCtx <- openFile filePath
return ()I guess the reason is that there is no ready instance of
MonadError String IO
. But, when I add a dummy instance like this :instance MonadError String IO where
throwError _ = undefined
catchError _ _ = undefinedI’m getting another error :
Functional dependencies conflict between instance declarations:
instance MonadError String IO
-- Defined at src/Video/Play/Base.hs:20:10
instance [safe] MonadError GHC.IO.Exception.IOException IO
-- Defined in ‘Control.Monad.Error.Class’I don’t know how to force compiler to use
MonadError String IO
instace here.- Should I assure GHC that my instance is better ?
- Do I have a wrong environment setup ? I’m using ffmpeg-light clone from here and resolver
lts-7.2
. Host OS is Ubuntu. - There is commit which replaces import of Control.Monad.Error.Class by Control.Monad.Except. But, Control.Monad.Error.Class is still used in Codec.FFmpeg.Common. First time I thought it caused a problem. But it turns out that Control.Monad.Except just re-exports MonadError class from Control.Monad.Error.Class. So, it’s not a problem.
-
How do I get FFMPEG Progress in order to create a progress bar ?
4 juillet 2022, par polandeerI'm trying to create a simple GUI for ffmpeg but am having problems getting the progress of a command. I'm using PySide as the GUI toolkit and I'm also using python3. I'm using QProcess to run the command and would just like to be able to create a progress bar.


EDIT : Preferably I'd like to use QProgressDialog : http://www.pyside.org/docs/pyside/PySide/QtGui/QProgressDialog.html