Recherche avancée

Médias (91)

Autres articles (48)

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

  • "Warning" text

    2 janvier 2011, par Scott Schiller

    m demo/index.css "Warning" text

  • Burning text to video in Android

    17 juillet 2014, par SebastianG

    I want to "burn" some GPS coordinates on a video file in Android programatically on the device, without using other apps (similar to the picture below, but with coordinates instead)

    enter image description here

    I have done some research, and the only solution for Android seems to use FFmpeg. I have figured out two approaches :

    1. Adding the coordinates in the form of subtitles. Drawback : as far as I’ve figured out, you can not place the subtitles wherever you want in the video frame
    2. Drawing text using "drawtext". Drawback : it seems to me that this puts a static text on all frames of the video, although I need to put dynamic text on it (GPS coordinates)

    ffmpeg -i i.mp4 -vcodec libx264 -f mp4
    -vf drawtext="fontfile=/[...]/share/fonts/freefont-ttf/FreeSans.ttf
    :text=’....

    So my questions are : are there any other approaches to doing this ? They do not have to use FFmpeg, but the encoding must be done on the device. Am I mistaken in my approaches ?

  • ffmpeg : Shortest between audio or video with text scroll

    10 juillet 2014, par pinkgogh

    I am using ffmpeg to mux a video file, a text file and an audio file. I first add the text (one line) to the video file :

    ffmpeg -y -i $STEP3OUT -vf drawtext="fontfile=/usr/share/fonts/ttf/LiberationSans-Regular.ttf:textfile=$INCOMING_DIR/$ALERT_ID.txt:fontcolor=white:fontsize=36:y=h-h/3:x=w-120*t" -b:v 9000k -maxrate 9000k -minrate 9000k -bufsize 1890k -acodec copy $STEP4OUT

    And then I mux the audio file with the video file :

    ffmpeg -y -i $VIDEO_DIR/EAS_Blank.mpg -i $STEP2OUT -vcodec copy -acodec libmp3lame -ab 96000 -ar 48000 -ac 1 -shortest $STEP3OUT

    I am using -shortest as the video, EAS_Blank.mpg, is a long blank template.
    My problem arises when the audio file is shortest than the time the text I inserted in step 1 takes to scroll.

    Right now I am manually approxiatly calculating how long will the text take to scroll and I add a silence buffer to the audio, but the calculation is far from perfect and I end up either cutting text or adding too much silence.

    I was wondering if there is a way using ffmpeg to take the text file into account when choosing the shortest file, or to do an exact calculation of the time the text will take to scroll. Not sure how to use the 120*t to do it.