Recherche avancée

Médias (91)

Autres articles (67)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9249)

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