Recherche avancée

Médias (91)

Autres articles (3)

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (2873)

  • HTML mp4 Streaming / How can I automatically move the "atom moov" to the beginning of the file ?

    29 octobre 2020, par Einkornwolf

    so I am currently building a Website for School and implemented an Upload-System. Now I want People to be able to watch uploaded Videos. Currently if you try to watch a Video, lets say test.mp4 it takes over a minute to load. I know that using : ffmpeg -i inputvideo.mp4 -movflags faststart -acodec copy -vcodec copy outputvideo.mp4 moves the atom moov to the beginning of the file. And when I manually convert the mp4 using the previous command the file starts playing instantly. But now my problem is, that I don't want to convert each file manually. Is there another way of playing user-uploaded Videos instantly ? Thanks for your help in advance.

    


    I am using this Code, but it has nothing to do with the streaming itself I guess :

    


      <source src="Clap.mp4" type="video/mp4">&#xA;Your browser does not support the video tag. &#xA;&#xA;</source>

    &#xA;

    I also tried to use a js library :

    &#xA;

      &#xA;&#xA;  &#xA;  <code class="echappe-js">&lt;script src=&quot;https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&#xA;&#xA;  &#xA;    &#xA;    &#xA;    

    &#xA; To view this video please enable JavaScript, and consider upgrading to a&#xA; web browser that&#xA; supports HTML5 video&#xA;

    &#xA; &#xA;&#xA; &lt;script src=&quot;https://vjs.zencdn.net/7.8.4/video.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;

    &#xA;

    In both cases I want to play Clap.mp4

    &#xA;

  • react cant find ffmpegwasm

    18 septembre 2024, par Martin

    I am trying to create a working example for ffmpeg wasm with react js in my browser.

    &#xA;

    I have been following this very simple example :&#xA;https://www.youtube.com/watch?v=-OTc0Ki7Sv0&ab_channel=Fireship

    &#xA;

    installed ffmpeg locally inside my react repo node_modules as seen here :&#xA;enter image description here

    &#xA;

    And followed to tutorial video to edit the App.jsx so it looks like this :

    &#xA;

    import React, { useState, useEffect } from &#x27;react&#x27;;&#xA;import &#x27;./App.css&#x27;;&#xA;&#xA;import { createFFmpeg, fetchFile } from &#x27;@ffmpeg/ffmpeg&#x27;;&#xA;const ffmpeg = createFFmpeg({&#xA;  log: true,&#xA;});&#xA;function App() {&#xA;  &#xA;  const [ready, setReady] = useState(false);&#xA;&#xA;  const load = async () => {&#xA;      console.log(&#x27;load()&#x27;)&#xA;      await ffmpeg.load();&#xA;      setReady(true);&#xA;  }&#xA;&#xA;  useEffect(()=>{&#xA;    load();&#xA;  }, [])&#xA;&#xA;  return (&#xA;    <div classname="App">&#xA;      content&#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;export default App;&#xA;&#xA;

    &#xA;

    But this leads to error messages in my win10 command prompt terminal saying it cant find the ffmpeg files :

    &#xA;

    [16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.js)&#xA;[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm)&#xA;[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js)&#xA;

    &#xA;

    I've even tried moving the ffmpeg files to my public folder and editing the code to find them like so :

    &#xA;

    const ffmpeg = createFFmpeg({&#xA;  log: true,&#xA;  corePath: &#x27;../public/@ffmpeg/core/dist/ffmpeg-core.js&#x27;,&#xA;});&#xA;

    &#xA;

    But the same error occured. Why doesn't my react App.jsx file correctly find the ffmpeg files in my node_modules folder ?

    &#xA;

  • ffmpeg Unrecognized option 'preset' [closed]

    16 mai 2024, par Lalaluye

    Hello I just recently upgraded ffmpeg from 4.3.1 to 7.0 and getting the following error :

    &#xA;

    my command is&#xA;ffmpeg -y -f image2pipe -framerate 24 -i pipe: -c:v libx264 -preset veryfast -crf 29 -pix_fmt yuv420

    &#xA;

    and getting the below error :

    &#xA;

    16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   built with gcc 7 (GCC)&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;configuration: --prefix=/local/p4clients/pkgbuild-JklBW/workspace/src/FFmpeg/build/private/install&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavutil      59.  8.100 / 59.  8.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavcodec     61.  3.100 / 61.  3.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavformat    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavdevice    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavfilter    10.  1.100 / 10.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswscale      8.  1.100 /  8.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswresample   5.  1.100 /  5.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg Unrecognized option &#x27;preset&#x27;.&#xA;&#xA;

    &#xA;

    Haven't found a resolution so far. Any help appreciated

    &#xA;