Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (94)

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

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (15664)

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

  • 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."");
  • How to add a hard code of subs to this filter_complex

    15 juin 2021, par k-on fan
    ffmpeg -ss 00:11:47.970 -t 3.090 -i "file.mkv" -ss 00:11:46.470 -t 1.500 -i "file" -ss 00:11:51.060 -t 0.960 -i "file.mkv" -an -c:v libvpx -crf 31 -b:v 10000k -y -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa];[outv]scale='min(960,iw)':-1[outv];[outv]subtitles='file.srt'[outv]" -map [outv] file_out.webm -map [outa] file.mp3


    


    I have a filter where take three different points in a file concat them together and scale them down this part works

    


    Im looking to see how to add to the filter_complex a sub burn in step rendering the subs from the exact timings usings a file that I specify when I use the above code it doesn't work