Recherche avancée

Médias (91)

Autres articles (111)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (6245)

  • ffmpeg image extraction code not working

    16 mai 2016, par sonam Sharma

    I am using ffmpeg to extract an image out of a video while uploading
    I am using this code for the purpose

    exec('ffmpeg  -i '.$uploadfile.' -ss 00:00:05 -vframes 1  '.$new_image_path);

    But the issue is that sometimes it extractes the image and sometimes it simply dosent

    I have a dedicated server which has already ffmpeg installed there and I just pushed the vendor folder from my local computer to the server by ftp.

    require 'vendor/autoload.php';

    What may be the issue here ?

  • can't load loadLibrary,Fatal signal 6 (SIGABRT), code -6

    8 septembre 2015, par Android Empire

    When I use System.loadLibrary("ffmpeg-neon"),there is a warning

    libffmpeg-neon.so has text relocations. This is wasting memory and prevents security hardening. Please fix

    and an erro

    libc Fatal signal 6 (SIGABRT), code -6 in tid 10203

    The source from https://github.com/appunite/AndroidFFmpeg.I build it on Unubtu-14.04.3-64bit,NDK-r10e

  • How I Can Run Some Part of the Code on another EC2 instance

    4 mai 2021, par Not A Bot —

    I have a NodeJS application running on an EC2 instance, which has some feature where users can record multiple videos.

    


    When the user logs out I am using (version 4.2.4) to combine all those videos into single a video.

    


    I am recording the video in WEBM format, and the final single video should be in MP4 format.

    


    Suppose the user has recorded 3 videos of 10 minutes each, then in last when the user logs out, all these 3 videos should be combined into the single video on length of 30 minutes.

    


    Now everything is working fine, but the CPU usage is high when all the conversation and concatenation are going around.

    


    CPU usage is sometimes as high as 60-70%

    


    The process I am following is

    


      

    1. Convert the webm file to the mp4 file.

      


      ffmpeg -i input_file.webm -c:v copy -c:a copy output_file.mp4


      


    2. 


    3. Convert MP4 to ts(Transport Stream) file.

      


       ffmpeg -i output_file.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts OUTPUT_MP4.ts


      


      I am following this process to concatenate all the mp4 files into one.

      


    4. 


    5. Concatenate files

      


      ffmpeg -i "concat:OUTPUT_MP4_1.ts|OUTPUT_MP4_2.ts|OUTPUT_MP4_3.ts" -c copy -bsf:a aac_adtstoasc FINAL_MP4_SINGLE_FILE.mp4


      


    6. 


    


    All this process is time-consuming(but not a priority), however, this process is taking CPU usage a lot.

    


    The server can crash or become slow if there are many users on my application and may video conversion is going on.

    


    Now, my question is how I can run this conversion process on the dedicated EC2 instance where only conversions can happen and not any other work, from the same code that is running on the first EC2 instance.