Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (76)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13673)

  • ffmpeg code not working aws lambda environment

    5 janvier 2021, par Akash Das

    I followed this article and deployed the Lambda functions and layers and set it up all fine.

    


    But I am facing a problem when I try converting the mp4 video into a 720p video, the ffmpeg commands that work in my Ubuntu 20.04 are not working in the Lambda and gives me error in the form of 0kb files in the destination folder.

    


    Can someone explain why this is happening ? The command that I used was :

    


    ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4


    


    I use this command in the Python file

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp4 -s 1280x720 -c:a copy -" ___ . 


    


    This is the error I get :

    


    Errror

    


    The problem is that I used a code like this to get only the audio

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp3 -ab 192000 -vn  -" ___ . 


    


    And it works as expected.

    


  • mp4 to .ts conversion using C code [on hold]

    8 décembre 2017, par latha sri

    I am trying to write a C code which can convert mp4 to ts. I tried this with ffmpeg. But I want to know how ffmpeg is internally converting mp4 to .ts and how it is arranging video and audio data in .ts. I also referred the container format for mp4 from ISO-14496-12.

  • fluent-ffmpeg How to make video rendering synchronous with code ?

    12 avril 2020, par wongz

    I want to make the code run only after ffmpeg has finished rendering the videos. Currently, the code runs faster than the videos can render.

    



    videos.forEach((vid, i) => {
  ffmpeg(`${process.cwd()}/video/tmp/${vid}`)
  .outputOptions(['-r 30', '-filter:v scale=w=720:h=1280', '-crf 20'])
  .save(`${process.cwd()}/video/tmp/${vid}`)
  .on('end', ()=> console.log(`Video ${i} rendered`));
});
console.log("Fully Completed");


    



    The console shows :

    



    Fully Completed
Video 0 rendered
Video 1 rendered


    



    The execution should be opposite. How can I make the code wait for video to finish rendering before continuing ?