Recherche avancée

Médias (91)

Autres articles (51)

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

  • 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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (6789)

  • How to add text to video using FFMPEG with Fast speed rotation ?

    8 avril 2015, par vijay shegokar

    I am using the FFMPEG library in my project to work on video encoding.

    I am using the below command to add text to video at bottom of video, which is working fine. The only problem is that text moves very slow here in video. I want to speed up the text rotation in video.

    Add Text to Video FFMPEG Command

    D:/video/res/ffmpeg -y -i "D:/video/input.mp4" -filter_complex "drawtext=text='Cricket, Football, Tennis, Hockey, Chess, Carrom, Polo, Table Tennis':fontfile=\'D:/video/res/arial.ttf\':y=h-line_h:x=h-(2*lh)-n:fontcolor=white:fontsize=24:box=0" -codec:v libx264 -codec:a copy "D:/video/text_added_video.mp4"

    Please help me on this topic.

    Above code is useful for those who just want to add text to video at bottom of video with rotation from right to left. And doesn’t bother about the speed of text rotation.

  • ffmpeg in PHP : Resizing image works, but getting a 404 when trying to load resized image ?

    13 décembre 2016, par Eric David Sartor

    PHP :

    if ($output = shell_exec("ffmpeg -i localhost/video/tools/poster.png -vf scale=32:32 localhost/video/tools/poster_small.png 2>&1") !== NULL)
       echo $output;

    echo "Original:<br /><img src="http://stackoverflow.com/feeds/tag/poster.png" style='max-width: 300px; max-height: 300px' /><br /><br />Resize:<br /><img src="http://stackoverflow.com/feeds/tag/poster_small.png" style='max-width: 300px; max-height: 300px' />";

    So I’m trying to have an image upload form that creates a smaller version of the uploaded image after the upload is verified. All that works fine, and when I run this command with ffmpeg, the $output is 1. That obviously means that it isn’t returning NULL, which means ffmpeg is functioning in theory...but here’s the weird part...

    I’m echoing the images out into the HTML to visually verify if they worked, and what I get (for the resized image) is a 32x32 image container, but the image doesn’t load (404 in the dev console), which to me makes no sense. If the image container is 32x32, that means that the resize must’ve worked because that’s the size I told it to be in the ffmpeg command, but if the page isn’t loading the image, how did it even get the information that the image needed to be 32x32 ? I didn’t set that in the HTML/CSS anywhere...what’s going on here ?

    I’m running this on Windows in a XAMPP server. I’ve installed ffmpeg and verified it is working in the Windows command prompt. All the files are in localhost/video/tools/, other than the ffmpeg files of course, which are in localhost/ffmpeg/.

    A screenshot of the HTML output : http://ericsartor.ca/Capture.PNG

  • ffmpeg produces video of 0 seconds on adding text

    7 mars 2018, par Anuj TBE

    I’m using ffmpeg to add text over video.

    ffmpeg -i /path_to_video_input/1520425717.mp4 -vf\
    "drawtext=text='This is text':x=10:y=H-th-10:fontsize=42:fontcolor=#FFFFFF"\
    /path_to_video_input/1520425717.mp4 -y

    Text is added to the video but video length is reduced to 0 seconds and shows only one frame.

    How to keep the length of video as original and add the text throughout the video ?