Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (65)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9108)

  • Android video stream to windows desktop - Latency Issue

    5 décembre 2019, par cagney

    I am using an android v21 device to stream data to a javafx application. Its working fine but I have about 2 seconds of latency.

    As of now the basic transportation goes like this

    1. android Cameratompegtest.class unkown latency
    2. android packetizer(udp) 10 millis
    3. windows depacketizer no buildup of data in buffers
    4. windows ffmpeg framgrabber unkown latency
    5. javafx imageview <1 millis

    My data stream to my desktop and my packetizer is much faster than my frame rate and is often just waiting. There is no buildup of data anywhere else and therefore I assume no delay in any of my code. My big question is in regards to android MediaEncoder and secondly ffmpeg frame grabber.

    How can I determine the cause of the slow down ?

    Do you have any suggestions ?

    My ffmpeg framgrabber

       public RapidDecoder(final InputStream inputStream, final ImageView view)
    {
       System.out.println(TAG + " starting");

        grabber = new FFmpegFrameGrabber(inputStream, 0);
        converter = new Java2DFrameConverter();
        mView = view;


       emptyBuffer = new Runnable() {
           @Override
           public void run() {
               System.out.println(TAG + " emptybuffer thread running");
               try {

                   grabber.setOption("preset", "ultrafast");


                   grabber.start();
               }catch (Exception e)
               {
                   System.out.println(TAG + e);
               }

               while (true)
               {

                   try{
                       grabFrame();
                       Thread.sleep(1);
                   }catch (Exception e)
                   {
                       System.out.println(TAG + " emptybuffer " + e);
                   }

               }



           }
       };

       display = new Runnable() {
           @Override
           public void run() {

               System.out.println(TAG + " display thread running ");

               while(true)
               {

                   try{
                       displayImage();
                       Thread.sleep(10);
                   }catch (Exception e)
                   {
                       System.out.println(TAG + " display " + e);
                   }

               }


           }
       };




    }


    public void generateVideo()
    {
       System.out.println(TAG + " genvid ");




       new Thread(emptyBuffer).start();
       new Thread(display).start();



    }



    public synchronized void grabFrame() throws FrameGrabber.Exception
    {
              //frame = grabber.grabFrame();
           frame = grabber.grab();
       //System.out.println("grab");


    }

    public synchronized void displayImage()
    {


       bufferedImage = converter.convert(frame);
       frame = null;
       if (bufferedImage == null) return;
       mView.setImage(SwingFXUtils.toFXImage(bufferedImage, null));
       //System.out.println("display");
    }

    }

    my android code taken from bigflake website can be found here

    https://bigflake.com/mediacodec/CameraToMpegTest.java.txt

  • Pydub - problem when changing the directory of ffmpeg

    1er mai 2020, par Andy_ye

    In the pydub library, it looks at C:\\ as a default for searching for the ffmpeg folder.

    &#xA;&#xA;

    Because of this, the library works fine when I put the ffmpeg folder at C:\\

    &#xA;&#xA;

    However, to package FFmpeg with the python code and use it in another computer without ffmpeg, I have to point the pydub library to look for ffmpeg somewhere else, in another path.

    &#xA;&#xA;

    I tried to do this with

    &#xA;&#xA;

    from pydub import AudioSegment&#xA;AudioSegment.converter = "/path/to/ffmpeg.exe"&#xA;

    &#xA;&#xA;

    and also tried

    &#xA;&#xA;

    AudioSegment.ffmpeg = "/path/to/ffmpeg.exe"&#xA;

    &#xA;&#xA;

    but both did not work at all when I moved the ffmpeg folder from C:\\

    &#xA;&#xA;

    Is there another way to do this ?

    &#xA;

  • Revision 124667 : Nouvelle option pour la description .yaml d’une saisie : hériter d’une ...

    13 mai 2020, par Maïeul Rouquette — Log

    Nouvelle option pour la description .yaml d’une saisie : hériter d’une
    autre saisie.
    Possibilité d’avoir des héritages en cascade.
    Possibilité de régler précisement les options héritées ou pas, via des
    entrées dans le .yaml.
    Pour la documentation, voir
    https://contrib.spip.net/ecrire/?exec=article&id_article=5272
    Pour des exemples :
    - dans ce dossier, les tests (tests/saisies + tests/saisies_heriter)
    - la saisie nombre :
    https://git.spip.net/spip-contrib-extensions/saisie_nombre
    - la saisie calcul : https://git.spip.net/spip-contrib-extensions/saisie_calcul
    En bonus :
    - Ajout d’une fonction saisies_supprimer_identifiants() qui supprime récursivement les identifiants d’une saisie. À utiliser sur les tests unitaires pour éviter d’avoir un identifiant qui change à chaque test.
    - saisies_modifier(), une option ’fusion’, suite à la demande de @Rastapopoulos. en https://git.spip.net/spip-contrib-extensions/formidable/issues/25#issuecomment-691