Recherche avancée

Médias (91)

Autres articles (81)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (10604)

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