
Recherche avancée
Autres articles (46)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7998)
-
Running PowerShell command in Universal Windows Platform C#
6 juin 2017, par stephenSo I am trying to write a basic application to cut and export a subsection of a video. I have come across (and decided to use) the FFMPEG command line tools to do the cropping. This seemed straight forward (https://stackoverflow.com/a/5047426/6728859), but Universal Windows apps do not support System.Diagnostics.Process. Instead, it was suggested that they do support Powershell, which means I could do it by following (https://blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/). However, I get the following errors
Cannot find type System.SystemException in module CommonLanguageRuntimeLibrary
Cannot resolve Assembly or Windows Metadata file 'System.Configuration.Install.dll'
From my limited understanding
System.SystemException
was removed in UWP, and I’m not sure where to findSystem.Configuration.Install.dll
.Now to get PowerShell I had to include
System.Management.Automation
which I got fromC:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0
which doesn’t seem correct to me, but I could be wrong.Is it possible to run commands in a UWP, or does anyone have any suggestions ?
-
http: Add an option for forcing basic authentication
9 octobre 2013, par Martin Storsjöhttp: Add an option for forcing basic authentication
The default is to autodetect the auth method. This does require one
extra request (and also closing and reopening the http connection).
For some cases such as HTTP POST, the autodetection is not handled
properly (yet).No option is added for digest, since this method requires getting
nonce parameters from the server first and can’t be used straight
away like Basic.Signed-off-by : Martin Storsjö <martin@martin.st>
-
ffmpeg/libav easy way to set options
13 mars 2023, par PatrickI recently messed around with ffplay code to see how it works and I noticed it uses a very straight forward way to parse and set all the command line options using the library internal cmdutils.h. I personally find the av_opt_set used in other examples of av wrappers quite confusing (Some args are explicitly stored in the struct, some in priv_data ? Im allowed/supposed to modify void*priv_data ? Which objects can I use av_opt_set on ? Which args go in which object and are they declared or in priv_data ? Where is this documented ?).
In ffplay all args are simply stored in an array and distributed to the right codec/muxer/format instance using cmdutil.
Id like to have exactly this functionality for my program (so that i can simply read a json config and don't need to care about it any further). Apparently the necessary OptionDef arrays are already defined in different implementation files.


However my actual question : I noticed the OptionDef array definition in ffplay does not contain all options (only some from cmdutil included via macro). But other options e.g. fflags are not included anywhere (only defined somewhere else) and yet they work. So how does cmdutil set/parse them ?


I hope someone can answer this, since simply adapting cmdutil would be a quite simple solution for me. Id also really appreciate some general guidance regarding my previous questions.


Many Thanks in advance !


I tried looking into the ffmpeg source and expected all OptionDef array definitions to be connected/collected inside a single array such that cmdutil can parse them easily. However this isn't the case and still some cmd options work. Therefore Im confused on how cmtutil is able to parse them