Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (91)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8943)

  • FFMPEG Code Understanding

    13 avril 2016, par Edge

    I have the following code :

    }
       private function getIntroVideoFile() {
           global $upload_dir;
           foreach ($this->myusers as $user) {
               $sql = "SELECT  IntroVideoFile from IntroVideos
                   where IntroVideoID in (select IntroVideoID from EventInfo where EventInfo.PackageID = '{$user->packageid}' and EventInfo.SlotID = '{$this->curSlotId}') ";
               $row = db_fetch_item($sql);
               $user->introVideoFile = $row['IntroVideoFile'];

               exec('ffmpeg -re -i "'.$upload_dir.$user->introVideoFile.'" -sameq -vcodec copy -acodec copy -f flv rtmp://XX.XX.XX.XXX:1935/live/'.$user->username . ' >/dev/null 2>/dev/null < /dev/null &');
               echo "Starting play ".$user->introVideoFile."\n";
           }

    Please can someone explain to me what is happening here.

  • Build cpp code to run FFMPEG command in Anroid after generating .so file

    22 octobre 2020, par Nikhil Solanki

    I built FFMPEG so files(libavcode.so, libavfilter.so, libavformat.so,libavutil.so, libswscale.so) by following this tutorial. This tutorial is nice is helpful to build your own .so files as per your library requirement.

    


    Why I am building own one ?
I know that there is some already available libraries in github like bravobit's, tanersener's and also microshow's. These all have certain limitations like some of this will not work for target SDK 29 & 30 and tanersener's lib is good but there is problems with -filter_complex command's output and micrshow's lib is crashing in android 10 and 11 beta ! So, all have specific problems. So, I am considering to create own one.

    


    What I have and already done
After following tutorial(mention in above) I successfully generated .so files and put it into my App.

    


    Here is the screenshot of which I already done .so files :
Put all files in cpp dir

    


    So, you can see that I put all files into cpp folder. As per version I only need ARMV7 and AMR64.

    


    What is the problem ?

    


    Problem is that I have no idea how to create .cpp file to execute command and what is it actually and how to use it ? I also tried some other libraries .c code but it didn't work for me. So, what is the code of cpp which can execute command ? Is there any other way of this ?

    


    Note of this requirement
We can't run any executable file directly from directory in Android because its restricted in target Android 10 and 11. So, we compulsory need to build native code and call class or it's function.

    


  • FFMpeg Commands definition in library source code

    25 janvier 2013, par SKC

    I tried running the ffmpeg commands from Android activity using an emulator in Windows OS, but i get errors.
    I tried keeping both my resource files in /mnt/sdcard as well the application package within /data/data, but none of the options worked out for running the ffmpeg commands.

    These are the following approach i had taken while running the command through an android activity.
    (Command to convert a series if images into a video)
    Approach 1 :

       String[] cmd =new String[4];
       cmd[0]="/data/data/com.example.commandlineffmpeg/files/ffmpeg";
       cmd[1]="-i";
       cmd[2]="/data/data/com.example.commandlineffmpeg/images/bpc_%03d.png";
       cmd[3]="/data/data/com.example.commandlineffmpeg/out/out.avi";

       Process p = Runtime.getRuntime().exec(cmd, null, new File("/data/data/com.example.ffmpegnew/out"));

    I have solved this, basically there was system permission issues and hence we were not allowed to access the system properties required to run the FFMpeg commands.
    Thus we need to sign the apps with the system certificates and hence we can use FFMpeg commands directly from any android activity.