Recherche avancée

Médias (91)

Autres articles (99)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (11712)

  • ffmpeg underutilizes cpu on AWS EC2 instance [closed]

    20 décembre 2024, par Denis

    i'm running video encoding with ffmpeg on EC2 instance (c5.xlarge - 4 vcpus)

    


      ffmpeg \
    -i "$INPUT_URL" \
    -c:v libvpx-vp9 -b:v 1M -threads 4 \
    -tile-columns 1 -frame-parallel 1 \
    -row-mt 1 \
    -cpu-used 0 \
    -quality 1 \
    -speed 3 \
    -r 6 \
    -f segment -segment_time "$SEGMENT_DURATION" -reset_timestamps 1 \
    "$OUTPUT_DIR/$OUTPUT_FILE_PREFIX$(date +%s)%03d.webm" > ffmpeg.log 2>&1 &


    


    I expected the CPU utilization to be around 390%, but I observed it to be around 170% via top

    


    why and what i'm doing wrong ?

    


  • Scripting FFmpeg to move text in y co-ordinate by some delta at specific time-codes

    27 février 2019, par distro.obs

    I’m using the basic drawtext command like this

    ffmpeg -i output.mp4 -vf \
    'drawtext=textfile='textfile.txt':x=0:y=0 \
    :fontsize=30:fontcolor=white:borderw=3 \
    :bordercolor=black:box=0' output.mp4"

    which puts stationary text at location (x, y) = (0,0)

    What I want to do is move this text by 10 points in y plane at certain time codes.

    at 00:00:10, y would be 0
    at 00:00:11, y would be 10
    at 00:00:43, y would be 20
    ...
    ...
    at 00:10:44, y would be 30

    so the ’y’ co-ordinate has a fix increment of 10 at ’keytimes’

    Is there a way to do that ?

  • ffmpeg watermark without background [closed]

    22 décembre 2022, par Edwin Pitters

    I have a problem, I am trying to add a watermark to my videos with ffmpeg using a gtx 1060 graphics card, the process works well and very fast, the problem is that the watermark appears with a black background , the image has no background, it is transparent, the problem happens only when I use the nvidia graphics card, because if I do the process with my processor the watermark is placed correctly as expected, so I am sure it is a problem in my configuration when running ffmpeg

    


    Here I leave the command that I am using :

    


    .\ffmpeg.exe -y -hide_banner -init_hw_device cuda=cuda -filter_hw_device cuda -hwaccel cuda -hwaccel_output_format cuda -i test.mp4 -i watermark.png -filter_complex "[1:v]colorchannelmixer=aa=0.3,scale=iw*0.6:-1,format=nv12,hwupload[img];[0:v][img]overlay_cuda=x='if(lt(mod(t\,16)\,8)\,W-w-W*10/100\,W*10/100)':y='if(lt(mod(t+4\,16)\,8)\,H-h-H*5/100\,H*5/100)'[out]" -map [out] -c:v h264_nvenc -b:v 6M -an -preset fast out_overlay.mp4


    


    If I use my processor with the following command, the guide mark without background is added, that is, as expected

    


    for %%a in ("*.m*") do ffmpeg -y -hide_banner -threads 4 -i "%%a" -preset ultrafast -vcodec libx264 -b:v 4000k -minrate 4000k -maxrate 4000k -bufsize 4000k -c:a aac -b:a 64k -pass 1 -f mp4 NUL && ffmpeg -y -hide_banner -threads 8 -i "%%a" -i watermark.png -preset ultrafast -vcodec libx264 -b:v 4000k -minrate 4000k -maxrate 4000k -bufsize 4000k -filter_complex "[1]colorchannelmixer=aa=0.3,scale=iw*0.8:-1[a];[0][a]overlay=x='if(lt(mod(t\,8)\,4)\,W-w-W*10/100\,W*10/100)':y='if(lt(mod(t+2\,8)\,4)\,H-h-H*10/100\,H*10/100)'" -c:a copy -tune film -movflags +faststart -pass 2 "watermark/%%a"
pause


    


    I also tried changing colorchannelmixer=aa=0.3 for lut=a=val*0.3 but it seems that this command is not having any effect

    


    I find that the image is well reviewed to discard, in fact I tried with other images also with a transparent background and I have the same result, a watermark but with a black background