Recherche avancée

Médias (91)

Autres articles (88)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The 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 (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike 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 (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8907)

  • 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;

  • Sorenson Video 3 For Posterity

    12 août 2010, par Multimedia Mike — Software Museum

    On a recent dumpster dive, I procured a complete, never-been-opened copy of Sorenson Video 3 Professional Edition Compressor for Windows. And because I’m me, I thought it would be interesting to document it here :



    Not opened until now, anyway :



    I chuckled at the thought that I might open the user manual and find the complete data stream format listed therein. As expected, the guide offers a broad overview of video compression concepts (lossy vs. lossless, inter/intraframes, that kind of thing) and goes on to describe general guidelines for compressing different types of data. Then there is the feature reference. There are standard features and professional features (the latter includes things like bidirectional prediction, masking, and watermarking).

    I was hoping to figure out how to encode some video with this software. But I think I need full Quicktime Pro in order to do that. If you’re interested, here’s the user manual in PDF format : Sorenson Video 3 User Guide (626 Kbytes). Here’s an interesting claim from the chapter on audio compression :

    Most movies are made up of two parts, video and audio. Historically, the video portion of a digital movie was so large that the audio was only a minor piece of the puzzle. However, with Sorenson Video’s excellent compression capabilities it is possible to create a file where audio is the largest portion.

    I know it’s possible to do that, but is it really recommended ? I’m sure I have some samples in my vast repository where this is the case but it still doesn’t strike me as optimal for network delivery.

  • Anomalie #4172 (En cours) : Ajout de documents des les groupe de mots-clés

    15 septembre 2018, par b b

    Après étude : l’ajout se fait bien, le lien aussi, et on voit bien le doc dans la colonne de gauche quand on est sur l’édition du groupe. Mais pas dans le portfolio quand on est sur la vue du groupe. Le squelette des documents depuis la vue du groupe reçoit objet = groupemots, alors que la colonne_document reçoit un objet = groupe_mots, pas pareil forcément...

    Le bug vient du fait qu’on passe un type groupemots au pipeline afficher_complement_objet ici :

    https://zone.spip.org/trac/spip-zone/browser/spip-zone/_core_/plugins/mots/prive/squelettes/contenu/groupe_mots.html#L29

    Du coup, dans inc_documenter_objet_dist le type reste groupemots et ça foire.

    Il y deux problèmes :

    1) le fait qu’on utilise groupemots en tant que type, alors que cela n’est pas défini dans la liste des surnoms autorisés, cf https://zone.spip.org/trac/spip-zone/browser/spip-zone/_core_/plugins/mots/base/mots.php#L144 cela a été introduit par erreur dans le commit suivant https://zone.spip.org/trac/spip-zone/changeset/50033/spip-zone

    Une solution : dans afficher_complement_objet utiliser groupe_mots, le vrai type, car medias_afficher_complement_objet utilise le type qu’elle reçoit tel quel, sans gérer les surnoms.

    2) le fait que le pipeline medias_afficher_complement_objet utilise le type tel qu’il le reçoit peut poser problème sur d’autres objets, il faudrait ajouter un objet_type() sur $type = $flux[’args’][’type’] afin de bien matcher les types et leurs surnoms.

    PS : le problème est peut-être aussi présent pour le pipeline affiche_enfants suite à ce commit https://core.spip.net/projects/mots/repository/revisions/109112/diff