Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (67)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5734)

  • How to get FFMpeg code working on remote server ?

    4 février 2016, par OMi

    I am using the following code to add plain text to videos. It works fine on localhost with EasyPHP server but I am not able to get the output on server (ffmpeg hosting). In addition, video conversion, video to audio everything is working fine.

    @exec('ffmpeg -y -i '.$source_file.' -vf drawtext="fontfile=font_omiA.ttf: \ text='.$watermark_text.': fontcolor=white@0.5: fontsize=20: \ x=(w-text_w)-3: y=(h-text_h-line_h)+10" '.$output_filename.'');

    I tried with following code too but I didn’t get success :(

    @exec("ffmpeg -y -i ".$source_file." \"fontfile=font_omiA.ttf: \ text=".$watermark_text.": \ fontcolor=white@0.5: \ fontsize=20: \ x=((w-text_w)-3): y=((h-text_h-line_h)+10))\" ".$output_filename."");
  • 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.