Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (52)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10447)

  • How to loop thorough my text file and call the name of picture

    17 août 2022, par Ionut Bejinariu

    I need to take all audio files from a directory, and export them along with one of multiple pictures listed in a text file.

    


    It's working to take all the audio files one by one, but I cannot make it have a different picture for each video. I have same picture all the time.

    


      

    1. I don't know how to make the loop working for the pictures files.
    2. 


    3. Will be nice if someone can tell me how I can group pictures in order to export as a slideshow.
    4. 


    


    Thank you.

    


    In .txt file my pictures are like this :

    


    1.jpg
2.jpg
3.jpg


    


    And my code looks like this :

    


    @echo off
set "sourcedir=E:\test slideshow imagini"  
set "outputdir=E:\test slideshow imagini\1" 
PUSHD "%sourcedir%"
for /F "tokens=*" %%A in (poze3.txt) do (
    echo %%A
    :: pictures names
     for %%F in (*.wav *.mp3) DO ffmpeg -loop 1 -i %%A -i "%%F" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest -vf scale=1920:1080 "%outputdir%\%%F.mp4" 
    POPD
)


    


  • How to convert images to a video by the time they have been taken/saved and not by name ?

    26 avril 2019, par Xester Menia

    I have a Livestream that takes pictures every one or two seconds. Then I have a folder in which the pictures are being saved.
    Usually I would just simply take ffmpeg -start_number -i IMG_%d.JPG video.webm (I need the end format in .webm). I want to use the saved pictures to form a time-lapse to put up next to the stream. So people can see the last 24h/ 7d and 90d. So I wondered if I could code that all the pics of that time period are used and only them.
    I later want it to happen automatic, so i dont have to write the code new every day.

    Thanks for your help

  • How To Concatenate Two MP4 Videos With Different Aspect Ratios and Resolutions

    11 novembre 2017, par PortableDiag

    I am using ffmpeg to concatenate multiple MP4 videos, two at a time. The problem I am having is that the videos are often different resolutions and aspect ratios. One might come from a 480p webcam with a 1:1 aspect ratio and the other a brand new iPhone with 4k video and rectangular aspect ratio. Currently I must choose and set the aspect ratio manually and this results in one of the two videos becoming distorted, depending on the selected aspect ratio.

    How can I merge two videos so that the overall viewing field has a square aspect ratio but videos with a rectangular aspect ratio will be scaled to fit inside.

    I am using this command to merge the videos :

    ffmpeg -threads 1 -i '/518.mp4' -i '/516.mp4' -y -filter_complex "[0:v]scale=1080x1920,setpts=PTS-STARTPTS,setdar=0/1[v0];[1:v]scale=1080x1920,setpts=PTS-STARTPTS,setdar=0/1[v1];[v0][0:a][v1][1:a]concat=n=2:v=1:a=1" '/partial1.mp4'

    This is the result : https://www.dropbox.com/s/x1un7z1ljwr6tty/merged_newsort.mp4?dl=0

    Is it possible to apply a border to the rectangular video to give them a square aspect ratio ?

    How can I keep prevent distortion from occurring during the merge process ?

    Thanks in advance.