Recherche avancée

Médias (91)

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (10151)

  • How to play ffmpeg encoded video in firefox using html5 video tag ?

    18 mai 2015, par Bhushan Narkhede

    How to play ffmpeg encoded video in firefox using html5 video tag

  • AForge.Video.VideoFileWriter, Video Quality loss after a second

    29 décembre 2019, par Just another Dev

    I tried to use AForge to create mp4 video from images..but experience this quality loss after about 1 - 2 second into the video. Just wondering if anyone knows what went wrong with my code ?

    using AForge.Video.FFMPEG;
    VideoFileWriter writer = new VideoFileWriter();
    writer.Open(fileName, _width, _height, _frameRate, VideoCodec.MPEG4, 800000);
    var s = AForge.Imaging.Image.FromFile(@"[path]\image.jpg");
    int frameCount = _frameRate * scene.Time;
    for (int i = 0; i < frameCount; i++)
    {
       writer.WriteVideoFrame(s);
    }
    writer.Close();

    I use the above code to create a 3 second 1080p video with frame rate 60, bit rate 800k, and using this image as an example : https://www.bushandbeach.co.nz/wp-content/uploads/2019/05/A-Taste-of-Auckland-Full-Day-1-opt.jpg

    the output video is in here : https://youtu.be/j0z7711cyOM

    as you can see the image quality seems to be ok, for about 2 seconds and then it blurs out in the last second.

    Thanks so much

  • Random PIPELINE_ERROR_DECODE : video decoder reinitialization failed on Chromium HTML5 video tag

    9 janvier 2024, par Hello World

    System

    


    Running an Expo React Native app, with a <webview></webview> component that loads a NextJS app with an HTML5 <video></video> tag. The system with issues is running the app on Android 9.0 with WebView implementation set to Android System WebView 84.0. The system without issues is running the app on Android 10.0 with WebView implementation set to Android System WebView 120.0.

    &#xA;

    Details

    &#xA;

    Video files being played by the <video></video> element are previously transcoded by the following fluent-ffmpeg node package :

    &#xA;

    import ffmpeg from &#x27;fluent-ffmpeg&#x27;&#xA;&#xA;ffmpeg(rawVideoFileUrl)&#xA;  .videoCodec(&#x27;libx264&#x27;)&#xA;  .audioCodec(&#x27;aac&#x27;)&#xA;  .outputOption(&#x27;-strict experimental&#x27;)&#xA;  .outputOption(&#x27;-movflags frag_keyframe&#x2B;faststart&#x27;)&#xA;  .format(&#x27;mp4&#x27;)&#xA;

    &#xA;

    My knowledge on video transcoding is very limited, but I have to do the transcoding to guarantee that the files are compatible to be played by my NextJS web app. In my research, my findings pointed to these FFMPEG command line arguments for my purpose.

    &#xA;

    For the aforementioned WebView version, H.264 with AAC, should be compatible, yet playback is not stable. Many times it will play just fine, but other times I receive the error :

    &#xA;

    PIPELINE_ERROR_DECODE: video decoder reinitialization failed&#xA;

    &#xA;

    If I refresh the web app, it works again. That leads me to believe it is somehow memory related, maybe caused by incompatibility.

    &#xA;

    I'm not sure whether video decoder reinitialization failed produced by the HTML5 <video></video> tag is a problem of transcoding or not, as the videos play fine most of the time and only produces that error in the console some of the times, unexpectedly.

    &#xA;

    Question

    &#xA;

    Is there something that I can do to the fluent-ffmpeg command to make the video files more widely compatible, including the WebView 84.0 system too, or is the issue somewhere else ?

    &#xA;

    In this case, updating WebView is not an option.

    &#xA;