Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (69)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (6119)

  • Use ffmpeg to pan right over an image and then pan left to the original location

    4 février 2024, par user1517922

    I'm using this command to pan to the right for 5 seconds on an image (like a 1080x1080 window moving across a larger image, 500px from the top) :

    


    ffmpeg -loop 1 -r 30 -i image.jpg -vf crop=w=1080:h=1080:x=n:y=500 -frames:v 150 -pix_fmt yuv420p -preset fast -crf 30 video.mp4

    


    I'd like to pan back to the left for 5 seconds to end up at the same spot.

    


    The desired affect is when the video is on loop the square window pans right for 5 seconds then back left for 5 seconds then repeats, smooth and without flicker.

    


    I suspect I need to use zoompan, but I haven't had success trying that.

    


  • PHP - How to get Shell errors echoed out to screen

    26 février 2013, par Ash

    I am in the process of using shell_exec() for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.

    When I the below code in the browser, it returns NULL :

    var_dump(shell_exec("ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4"));

    However when I run the equivalent code in my terminal :

    > ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4

    I get back a whole load of useful information which ends in an error "At least one output file must be specified"

    Why is this info not being passed back to my PHP script so I can echo it out ?

  • Any way to assign terminal output to variable with python ?

    12 août 2016, par Gordon Fontenot

    I need to grab the duration of a video file via python as part of a larger script. I know I can use ffmpeg to grab the duration, but I need to be able to save that output as a variable back in python. I thought this would work, but it’s giving me a value of 0 :

    cmd = 'ffmpeg -i %s 2>&1 | grep "Duration" | cut -d \' \' -f 4 | sed s/,//' % ("Video.mov")
    duration = os.system(cmd)
    print duration

    Am I doing the output redirect wrong ? Or is there simply no way to pipe the terminal output back into python ?