Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (34)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (3254)

  • 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 :
ffmpeg -re -l oop 1 -i vin.png -vf format=yuv420p -f v4l2 /dev/video2

    


    vin.png is the image I want to stream to the webcam and /dev/video2 is the virtual webcam I created with v4l2loopback.
The virtual webcam works and I can see it e.g. with onlinemicetest.com/webcam-test.
I'm using the Genymotion emulator with the newest Android API (I tried 7.0, 8.1 and 10.0) on Ubuntu 20.40.
Genymotion detects the virtual camera but only displays a dummy image :
Wrong dummy Image from Genymotion
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.

    


    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.

    


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

    


    Update 17.11.2020 :
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.

    


  • 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.
Here is the ouput of the command line ffmpeg -L :

    


    


    ffmpeg version n4.3.1-20-g8a2acdc6da Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3-win32 (GCC) 20200320
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
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
ffmpeg is free software ; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation ; either version 3 of the License, or
(at your option) any later version.

    


    


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

    


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

    


    Thanks.

    


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