Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (61)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (4200)

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