Recherche avancée

Médias (91)

Autres articles (39)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9662)

  • Need someone to write a batch shell script to watermark videos via ffmpeg [closed]

    21 janvier 2021, par Shiv Nandan

    I am using a batch shell script on windows server to watermark videos

    


    for %%a in ("X:\input older\*.mp4") do ffmpeg -i "%%a" -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" "X:\output folder\%%~na.mp4"
pause


    


    It converts all videos from input folder to output folder. I want to...

    


      

    1. Change watermark location after every 10 seconds in video for all videos.
    2. 


    3. Water mark size is perfect when video resolution is 19201080 but its different for low resolution video for example : 1280720 its large, and for 640*360 extra large. So I want to keep the water mark size fixed.
    4. 


    


  • How to write batch shell script to watermark videos via ffmpeg [closed]

    25 janvier 2021, par Shiv Nandan

    I am using a batch shell script on windows server to watermark videos

    


    for %%a in ("X:\input older\*.mp4") do ffmpeg -i "%%a" -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" "X:\output folder\%%~na.mp4"
pause


    


    It converts all videos from input folder to output folder. I want to...

    


      

    1. Change watermark location after every 10 seconds in video for all videos.
    2. 


    3. Water mark size is perfect when video resolution is 19201080 but its different for low resolution video for example : 1280720 its large, and for 640*360 extra large. So I want to keep the water mark size fixed.
    4. 


    


  • How to make shell exec run in background while php continues

    30 juin 2015, par Jizbo Jonez

    I have ffmpeg doing a video conversion in a PHP file and it works as it should. The problem is it takes up to a minute for this to finish. I thought it might be easy to do but I can only get it to work in the background when I use just one command (eg single pass conversion without mp4box) like this

    exec("nohup " . $ffmpegPath . " -i " . $srcFile . " -f mp4 -vcodec libx264 -crf 27 -s " . $srcWidth . "x" . $srcHeight . " -an -r 20 " . $destFile . ".mp4 > /dev/null 2>&1 &");

    The problem is I need to use three different commands to do a proper conversion though. So far my commands look like this in the PHP file and it works, but with a massive delay :

    exec($ffmpegPath . " -y -i " . $srcFile . " -f mp4 -pass 1 -passlogfile " . $video_pass_log . " -vcodec libx264 -vpre ipod640 -b:v 2M -bt 4M -an " . $destFile . ".mp4");
    exec($ffmpegPath . " -y -i " . $srcFile . " -f mp4 -pass 2 -passlogfile " . $video_pass_log . " -vcodec libx264 -vpre ipod640 -b:v 2M -bt 4M -acodec libfaac -ac 2 -ar 44100 -ab 96k " . $destFile . ".mp4");
    exec($mp4boxpath . " -tmp /tmp -hint " . $destFile . ".mp4");

    How can I make the shell exec run in background while PHP continues ?