Recherche avancée

Médias (91)

Autres articles (97)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (7311)

  • How to run a bat file when clicking a button in an electron + react application ?

    12 novembre 2020, par Артем

    I am using Windows 7
    
I want to write a windows app using electron + react.
    
The essence of the application is to run bat files.
    
Bat files will execute their script.
    
In this case, I have already written baht files, they work with the FFMPEG.
    
I like FFMPEG and I would like to make it easy to use on Windows with such an application.
    
At this stage, I have two folders Your_files and Result, next to these folders are ready-made baht files and ffmpeg.exe.

    


      

    1. In the folder Your_files I put the files to convert.
    2. 


    3. I click on the desired baht file, it converts.
    4. 


    5. I take the finished files from the Result folder.
    6. 


    


    I would like to write a nice application now.
    
There will be one window with buttons in the CMD style - minimalism. On the buttons, the labels are similar (mp4 - mkv) and others.
    
I also plan to place two folders Your_files and Result next to the application.
    
The principle is the same, only here is a beautiful visual interface with buttons for the place of many baht files.
    
It will be easier to visually choose what you need.
    
The crux of the question : How to launch a baht file when you click on a button in the application ?
    Perhaps you have some ideas on how to implement this even better .. I welcome your suggestions with a detailed description.
    
------------------------
    
P.S. I originally planned the following... But I decided to abandon this implementation. ))
    
I recorded a cycle in a baht file.
    
The cycle was launched in the bat file mshta.exe with HTML layout (visual interface). lol
    
Received the value of a variable, which he entered in the visual interface of the mshta.exe window.
    
The variable returned to the loop and the baht file was executed.
    
But I don't think this is the best approach. Use a similar hybrid.
    
Take a look at this for fun.

    


    &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;    &#xA;    &#xA;    &#xA;    &#xA;    <code class="echappe-js">&lt;script type=&quot;text/javascript&quot;&gt;&amp;#xA;        function myFunction() {&amp;#xA;            var copyText = document.getElementById(&quot;myInput&quot;);&amp;#xA;            copyText.select();&amp;#xA;            document.execCommand(&quot;copy&quot;);&amp;#xA;        }&amp;#xA;    &lt;/script&gt;&#xA;&#xA;&#xA;&#xA;    &lt;script language=&amp;#x27;javascript&amp;#x27;&gt;&amp;#xA;        window.resizeTo(800, 300);&amp;#xA;&amp;#xA;        function entperPressed(e) {&amp;#xA;            if (e.keyCode == 13) {&amp;#xA;                pipePass();&amp;#xA;            }&amp;#xA;        }&amp;#xA;&amp;#xA;        function pipePass() {&amp;#xA;            var pass = document.getElementById(&amp;#x27;pass&amp;#x27;).value;&amp;#xA;            var fso = new ActiveXObject(&amp;#x27;Scripting.FileSystemObject&amp;#x27;).GetStandardStream(1);&amp;#xA;            close(fso.Write(pass));&amp;#xA;&amp;#xA;        }&amp;#xA;    &lt;/script&gt;&#xA;    

    Enter time of frame. Введите время кадра

    &#xA;

    hh:mm:ss.mss – 00:00:00.000

    &#xA;

    (colons can be omitted as well as milliseconds)

    &#xA;

    (двоеточия при вводе можно опустить как и миллисекунды)

    &#xA;

    &#xA; &#xA;

    &#xA;

    &#xA;

    &#xA;

    &#xA; &#xA;

    &#xA;&#xA;&#xA;&#xA;

    &#xA;

    Photo

    &#xA;

  • dxva2_hevc : properly fill the scaling list structure

    3 février 2015, par Hendrik Leppkes
    dxva2_hevc : properly fill the scaling list structure
    

    The scaling list can be specified in either the SPS or PPS.
    Additionally, compensate for the diagonal scan permutation applied
    in the decoder.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavcodec/dxva2_hevc.c
  • libdc1394 : Fill in packet data directly

    13 juillet 2016, par Vittorio Giovara
    libdc1394 : Fill in packet data directly
    

    Drop the packet embedded in the context.

    • [DBH] libavdevice/libdc1394.c