Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (60)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (8865)

  • Decoder error not supported error when render 360 video on web application

    19 avril 2024, par Mattia Pompita

    I'm developing a simple scene with A-Frame and React.JS where there is a videosphere that will create and render when video are fully loaded and ready to play.

    


    My goal is to render 4k (to device who can reproduce it) video on videosphere to show at the users the environment.
On desktop versions all works fine also with 4K videos while on mobile works only for 1920x1080.

    


    I already check if my phone can render a 4k texture video and it can render untill 4096, I checked also that video.videoWidth are 4096.

    


    The error I have is with decoder

    


    MediaError {code: 4, message: 'DECODER_ERROR_NOT_SUPPORTED: video decoder initialization failed'}


    


    This error will show only on mobile, I can see it through Chrome Developer tools, I already try to re-encode both with Handbrake and ffmpeg but always the same error will appear on mobile.

    


    My video is hosted on Firebase and have this resolution 4096x2048
I'm testing on Google Pixel 7 already checked if WEBGL can render 4k texture on it

    


    I can't understand why decoder works fine on Desktop and not on mobile only with 4k video and with 1920x1080 it works

    


    This is the only component rendered on page

    


    import React, { useEffect, useRef } from 'react';

const XIV_360_Abbazia_San_Silvestro_4K = () => {
  const assetsRef = useRef(null);
  const videoRef = useRef(null);
  const sceneRef = useRef(null);


  return (
    
      
        > {
            console.log('CAN PLAY THROUGH');
            let videoSphere = document.createElement('a-videosphere');
            videoSphere.setAttribute('src', '#video360');
            sceneRef.current.appendChild(videoSphere);
          }}
        />
      
      

      > {
          videoRef.current.play();
        }}
      >
        PLAY
      
    
  );
};

export default XIV_360_Abbazia_San_Silvestro_4K;


    


  • Ffmpeg Command in Android not working. Creating a Video of several Images

    23 décembre 2020, par Steve Jobs Kappa

    I Try to load png's from my Folder and put it together in a single Video.
I'm using Mobile-FFmpeg as Library and Android Studio

    



    But I keep getting the ErrorCode after executing the Command :

    



    I/mobile-ffmpeg : Command execution failed with rc=1 and the output below.

    



    My Images are saved like this earlier

    



    enter image description here

    



    The Command i Use :
 int rc = FFmpeg.execute(" ffmpeg -r 1/5 -i "+ src+"/img%03d.png -c:v libx264 -vf \"fps=25,format=yuv420p\" "+ src + "/ou1t.mp4") ;

    



    Here is the whole Code :

    



                   String dirPath = Environment.getExternalStorageDirectory().getAbsolutePath()+"/FlyerMaker/ffmpeg";
            File dir = new File(dirPath);
            String src = Environment.getExternalStorageDirectory().getAbsolutePath()+"/FlyerMaker/ffmpeg";

            int rc = FFmpeg.execute(" ffmpeg -r 1/5 -i "+ src+"/img%03d.png -c:v libx264 -vf \"fps=25,format=yuv420p\" "+ src + "/ou1t.mp4");

            if (rc == RETURN_CODE_SUCCESS) {
                Log.i(Config.TAG, "Command execution completed successfully.");
            } else if (rc == RETURN_CODE_CANCEL) {
                Log.i(Config.TAG, "Command execution cancelled by user.");
            } else {
                Log.i(Config.TAG, String.format("Command execution failed with rc=%d and the output below.", rc));
                Config.printLastCommandOutput(Log.INFO);
            }


    



    //clearing the Folder since I don't need the pics anymore right after the code above

    



                for(int i = 0; i < 20 ; i++){
                String filePrefix = "img"; //imagename prefix
                String fileExtn = ".png";//image extention
                String a = filePrefix + String.format("%03d", i)+fileExtn;
                File file = new File(dir, a);
                file.delete();
                System.out.println("del"+i);
            }


    


  • Android ffmpeg add overlay in specific time [closed]

    9 octobre 2020, par Mithun Sarker Shuvro

    I am using mobile-ffmpeg , it works well but the thing it doesn't work when I use enable . For example The following command works perfectly in Linux .

    


    ffmpeg -i /home/paranoid/Desktop/ccccc/test.mp4 -i /home/paranoid/Desktop/ccccc/test.gif -filter_complex "[0:0][1:0]overlay=enable='between(t\,2,4)'[out]" -shortest -map [out] -map 0:1 -pix_fmt yuv420p -c:a copy -c:v libx264 -crf 18 /home/paranoid/Desktop/ccccc/test_out.mp4


    


    But when I try to do the same with that library it doesn't work . That command I have used is following

    


    "-i "+videoPath+" -i "+overlayPath+" -filter_complex \"[0:0][1:0]overlay=enable='between(t\\,2,4)'[out]\" -shortest -map [out] -map 0:1 -pix_fmt yuv420p -c:a copy -c:v libx264 -crf 18 "+outputFile.getAbsolutePath();