
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (88)
-
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 (...) -
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 (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’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.

- 

- In the folder Your_files I put the files to convert.
- I click on the desired baht file, it converts.
- I take the finished files from the Result folder.








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.







 
 
 
 
 <code class="echappe-js"><script type="text/javascript">&#xA; function myFunction() {&#xA; var copyText = document.getElementById("myInput");&#xA; copyText.select();&#xA; document.execCommand("copy");&#xA; }&#xA; </script>




<script language=&#x27;javascript&#x27;>&#xA; window.resizeTo(800, 300);&#xA;&#xA; function entperPressed(e) {&#xA; if (e.keyCode == 13) {&#xA; pipePass();&#xA; }&#xA; }&#xA;&#xA; function pipePass() {&#xA; var pass = document.getElementById(&#x27;pass&#x27;).value;&#xA; var fso = new ActiveXObject(&#x27;Scripting.FileSystemObject&#x27;).GetStandardStream(1);&#xA; close(fso.Write(pass));&#xA;&#xA; }&#xA; </script>

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


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


(colons can be omitted as well as milliseconds)


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



 






 










- In the folder Your_files I put the files to convert.
-
Sorenson Video 3 For Posterity
12 août 2010, par Multimedia Mike — Software MuseumOn 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 bAprè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 unobjet = groupe_mots
, pas pareil forcément...Le bug vient du fait qu’on passe un type
groupemots
au pipelineafficher_complement_objet
ici :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
utilisergroupe_mots
, le vrai type, carmedias_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