Recherche avancée

Médias (91)

Autres articles (73)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (9919)

  • FFMPEG and AWS : What's the most efficient way to handle this ?

    28 mai 2022, par Red Vic

    I'm new to AWS and I originally built the FFmpeg functions on my Node.JS API. But I realized this is the wrong way to do it in a real-world app, and that you need to use separate Lambda functions in AWS that handle the video editing separately from the main server.

    


    I'm mainly a front-end developer but I'm open to learning new things.

    


    I basically have the following process in my app :

    


      

    • User uploads video.
    • 


    • I need to take that video and add a watermark to it.
    • 


    • I then need a copy of the watermarked video in a smaller resolution.
    • 


    • I then need a 6 seconds GIF of the smaller resolution video.
    • 


    • Finally, I need to upload the 3 edited files (2 .mp4's and 1 .gif) to S3, and remove the original, non-watermarked video.
    • 


    


    Here are my questions to be clear :

    


      

    • Should I upload the original file to S3 or to the server ? And why ?
    • 


    • Is the process above doable in a single Lambda function ? Or do I need more Lambda functions ?
    • 


    • How would you handle this problem, personally ?
    • 


    


    I originally built it by chaining one function to the next with promises, but AWS seems like a different world of doing things and the way I originally built it would not work.

    


    Thanks a lot.

    


    Update
Here are some tests I did with a couple videos :

    


    





    


    


    


    


    


    


    


    


    



    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    Test 1 Test 2 Test 3 Test 4 Test 5
    Original video resolution 1080p 1080p 1080p 1080p 480p
    Original video duration 23 minutes 15 minutes 11 minutes 3.5 minutes 5 minutes
    Step 1 duration (Watermarking original video) 30 minutes 18 minutes 14 minutes 4 minutes 2 minutes
    Step 2 duration (Watermarking lower resolution) 5 minutes 3 minutes 3 minutes 1 minute skip (already low res)
    Step 3 duration (6 seconds GIF creation) negligible (15 seconds) negligible (10 seconds) negligible (7 seconds) negligible negligible
    Total  35 minutes  21 minutes  17 minutes  5 minutes  2 minutes

    


  • Developing android app in window(O.S) with ffmpeg library

    19 avril 2014, par PKTomar

    I want to develop an application by the help of "ffmpeg" library. My developing environment is Windows(O.S.) based. I done lot of Google but find all the tutorial which are linux(O.S.) based.

    That's why i download "Cygwin". I try to follow all the steps as in linux based tutorial.

    http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/comment-page-3/

    But I stuck on running following command :

    "sudo chomd +x build_android.sh" when entering passphrase it gives error "Command Not Allowed". Actually this command used to check that build_android.sh file is executable or not. That's why I skip this step and run another command "./build_android.sh" which is used to create folder "android" in ffmpeg library. But this command give many errors. I try to remove one by one but after removing one error getting another list of errors.

    After all these step I feel that there is some problem in executing script file in windows base environment.

    Now I need help, any tutorial which is completely based on windows(O.S.) based.

    :Thanks :

  • Anomalie #4354 : Problème de recherche REGEX sur la recherche multiterme, c’est la merde

    10 février 2021, par cedric -

    cf #3930 qui signalait le problème deja

    En complèment donc, en mysql

    SELECT * FROM `spip_articles` WHERE `chapo` REGEXP ’règles’ 
    


    trouve bien les chapo contenant le mot "règles"
    mais

    SELECT * FROM `spip_articles` WHERE `chapo` REGEXP ’regles’ 
    

    ne trouve rien,
    pas plus que

    SELECT * FROM `spip_articles` WHERE `chapo` REGEXP ’r.gles’ 
    

    et finalement

    SELECT * FROM `spip_articles` WHERE `chapo` REGEXP ’r..?gles’ 
    


    trouve aussi