Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (62)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette 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.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (7371)

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

  • Why ffmpeg can play h264 even when flag —disable-libx264 is set ? [closed]

    2 décembre 2020, par Jams

    To be complient with x264 licensing (for a commercial software I'm making) I plan to use a compiled version of ffmpeg without x264 support.&#xA;Here is the ouput of the command line ffmpeg -L :

    &#xA;

    &#xA;

    ffmpeg version n4.3.1-20-g8a2acdc6da Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 9.3-win32 (GCC) 20200320&#xA;configuration : —prefix=/ffbuild/prefix —pkg-config-flags=—static —pkg-config=pkg-config —cross-prefix=x86_64-w64-mingw32- —arch=x86_64 —target-os=mingw32 —enable-version3 —disable-debug —enable-shared —disable-static —disable-debug —enable-iconv —enable-zlib —enable-libxml2 —enable-libfreetype —enable-libfribidi —enable-gmp —enable-lzma —enable-fontconfig —enable-opencl —enable-libvmaf —disable-vulkan —enable-libvorbis —enable-amf —enable-libaom —disable-avisynth —enable-libdav1d —disable-libdavs2 —enable-ffnvcodec —enable-cuda-llvm —disable-libglslang —enable-libass —enable-libbluray —enable-libmp3lame —enable-libopus —enable-libtheora —enable-libvpx —enable-libwebp —enable-libmfx —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librav1e —enable-schannel —enable-sdl2 —enable-libsoxr —enable-libsrt —enable-libtwolame —disable-libvidstab —disable-libx264 —disable-libx265 —disable-libxavs2 —disable-libxvid —enable-libzimg —extra-cflags=-DLIBTWOLAME_STATIC —extra-cxxflags= —extra-ldflags=-pthread —extra-libs=-lgomp&#xA;libavutil 56. 51.100 / 56. 51.100&#xA;libavcodec 58. 91.100 / 58. 91.100&#xA;libavformat 58. 45.100 / 58. 45.100&#xA;libavdevice 58. 10.100 / 58. 10.100&#xA;libavfilter 7. 85.100 / 7. 85.100&#xA;libswscale 5. 7.100 / 5. 7.100&#xA;libswresample 3. 7.100 / 3. 7.100&#xA;ffmpeg is free software ; you can redistribute it and/or modify&#xA;it under the terms of the GNU Lesser General Public License as published by&#xA;the Free Software Foundation ; either version 3 of the License, or&#xA;(at your option) any later version.

    &#xA;

    &#xA;

    But when I play a video encoded with h264 it plays perfectly.&#xA;Is expected ? How to be sure I'm not infringing the license ?

    &#xA;

    Here is where I downloaded the binaries :&#xA;https://github.com/BtbN/FFmpeg-Builds/releases
    &#xA;And I picked a release with the following name : win64-gpl-shared-4.3.zip

    &#xA;

    Thanks.

    &#xA;

  • How can I send a virtual camera to Genymotion or Android Studio Emulator in Ubuntu ?

    4 décembre 2020, par ykasur

    I created a virtual camera using v4l2loopback and ffmpeg. The command I use for ffmpeg is :&#xA;ffmpeg -re -l oop 1 -i vin.png -vf format=yuv420p -f v4l2 /dev/video2

    &#xA;

    vin.png is the image I want to stream to the webcam and /dev/video2 is the virtual webcam I created with v4l2loopback.&#xA;The virtual webcam works and I can see it e.g. with onlinemicetest.com/webcam-test.&#xA;I'm using the Genymotion emulator with the newest Android API (I tried 7.0, 8.1 and 10.0) on Ubuntu 20.40.&#xA;Genymotion detects the virtual camera but only displays a dummy image :&#xA;Wrong dummy Image from Genymotion&#xA;I also tried (and would prefer to use) the android studio emulator. But I can only select Webcam0 in the configuration of the device camera and that points to the real integrated camera and not to my virtual webcam.

    &#xA;

    I don't need to use ffmpeg, but I do need to use a tool that lets me control which image to stream from the command line.

    &#xA;

    Is there a way to solve this ? Many thanks in advance !

    &#xA;

    Update 17.11.2020 :&#xA;The Genymotion support answered me, that they plan to support virtual cameras in the future. They might be ready to add this in mid 2021.

    &#xA;