
Recherche avancée
Autres articles (8)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4682)
-
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


-
Create video vom rendered OpenGL frames
10 mai 2012, par MrMuhi am searching for a way to create a video from a row of frames i have rendered with OpenGL and transfered to ram as int array using the glGetTexImage function. is it possible to achieve this directly in ram ( 10 secs video) or do i have to save each frame to the harddisk and encode the video afterwards ?
i have found this sample http://cekirdek.pardus.org.tr/ ismail/ffmpeg-docs/api-example_8c-source.html in an other SO question but is this still the best way to do it ?