Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (60)

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

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6043)

  • ffmpeg does not draw text

    4 septembre 2016, par Michael Heuberger

    hope one of you can tell me why this ffmpeg command of mine does not draw the desired text. the produced video doesn’t have it. here you go :

    ffmpeg -f image2 -thread_queue_size 64 -framerate 15.1 -i /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/frames/%d.webp -y -an -vcodec libvpx -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -crf 12 -deadline realtime -cpu-used 4 -pix_fmt yuv420p -loglevel warning -movflags +faststart /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-723f-d0aa0bd0-aa9b-f7da27da678f/videomail_preview.webm

    the crucial part is this video filter :

    -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=180:fontcolor=white:x=150:y=150:shadowcolor=black:shadowx=2:shadowy=2

    does it seem correct to you ? if so, then why am i not seeing any text in the videomail_preview.webm video file ?

    using ffmpeg v2.8.6 here with —enable-libfreetype, —enable-libfontconfig and —enable-libfribidi enabled.

    furthermore, the above command has been produced with fluent-ffmpeg.

    so, any ideas ?

  • Generate timestamped video ?

    22 octobre 2013, par user49411

    I just need to generate a 12 hour video (from scratch) with a counter in it, to test something. I can get a timestamp ok by douing this

    ffmpeg -loop 1 -i test_card.png -c:v libx264 -t 30 -pix_fmt yuv420p out.mp4

    ffmpeg -i out.mp4 -vf "drawtext=fontfile=/Library/Fonts/Andale Mono.ttf: timecode='00\:00\:00\:00': r=25: \
    x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=25: box=1: boxcolor=0x00000000@1" -an -y out.mp4

    This works, but i don't want a timestamp, I want a counter going down ?

    Secondly, the former seems inefficient. I need a 12 hour video to be made in about 15 mins ?

  • Converting bat to bash script [on hold]

    15 juillet 2019, par dezxela

    Please help me with coversion this script from here to bash :
    https://stackoverflow.com/a/38291960/11786146

    This part of the code seems to be reconciled in me, but I’m not sure that it’s correct :

    #  path to ffmpeg
    export  ffmpeg='/home/user/bin'
    #  source movies from
    export  movieSource='/mnt/dev1/radio/Masha'
    #  tmp dir
    export  tmpDir='/mnt/dev1/radio/Masha'


    #  setup positon, color, background, font for the text overlays
    #  filterComplex, quotes have to be escaped! -> \"
    #  BITC - Burned In Time Code
    export  filterComplexTimecode='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': timecode='10\:00\:00\:00': timecode_rate=24: x=(w-tw)/2: y=h-(1*lh)-3: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4'
    #  Date
    export  filterComplexDate='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': text='%{localtime\:%X}': x=(w-tw-3): y=h-(1*lh)-3: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4'
    #  Shotname
    export  filterComplexShotname='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': x=0: y=h-(1*lh)+1: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4:'

    #  create a list of all files
    find "$movieSource" -name "*.mp4" -type f | sort -R | while read j; do echo "file '$j'" >> $tmpDir/filelist.txt; done

    echo filename, durationInSeconds > $tmpDir/fileNameDuration.txt
    for file in $movieSource/*.mp4; do
     #  Reset current duration to 0 (zero) for each loop
     export  curDuration=0
     #  get the filename without file extenion
     export  fileName=${file##*/}
     #  get the duration of a single clip
     #  and write it to a tmp textfile
     $ffmpeg/ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$file" > $tmpDir/fileTempDuration.txt
     #  read the textfile again into a variable
    read -p  < $tmpDir/fileTempDuration.txt last curDuration

     #  write the filename and the duration to a new list of all files
    echo $fileName,$curDuration >> $tmpDir/fileNameDuration.txt ;done

    #  concate a filter complex string for ffmpeg with all clipnames as textlayer with a inpoint and outpoint
    export  filterComplexShotnameCombined=
    #  floating numbers are not supported by batch, so we need to work-around that
    source  :IntAsFP b=0.000000
    for i in $tmpDir/fileNameDuration.txt; do
     source  :IntAsFP a=$j
     source  :IntToFP inPoint=$b 6
     export  c=$(expr a + b)
     export   b=c
     source  :IntToFP outPoint=$c 6
     #  just to check whats going on...
     echo name: $i   duration: $j   inPoint: $inPoint   outPoint: $outPoint
     export  filterComplexShotnameCombined='$filterComplexShotnameCombined, $filterComplexShotname text=$i: enable=between(t\,$inPoint\,$outPoint^^^)';done