Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (25)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7577)

  • avfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8

    6 janvier 2020, par Limin Wang
    avfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8
    

    Have tested with be and le pixel format on be and le system for >8bit.
    System :
    lmwang@ubuntu : /ffmpeg.git.mips$ grep HAVE_BIGENDIAN config.h
    ffmpeg.git git :(showinfo) ✗ grep HAVE_BIGENDIAN config.h

    Test result :
    1, yuv420p
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo
    Master :
    mean :[16 128 128] stdev :[0.0 0.0 0.0]
    After applied the patch :
    mean :[16 128 128] stdev :[0.0 0.0 0.0]

    2, yuv420p10le
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10le,showinfo
    Master :
    mean :[32 1 1] stdev :[32.0 1.0 1.0]
    After applied the patch :
    mean :[64 512 512] stdev :[0.0 0.0 0.0]

    3, yuv420p10be
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10be,showinfo
    Master :
    mean :[32 1 1] stdev :[32.0 1.0 1.0]
    After applied the patch :
    mean :[64 512 512] stdev :[0.0 0.0 0.0]

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/vf_showinfo.c
  • ffmpeg filters order rotate scale with overlay

    13 décembre 2017, par Sebastián Márquez Lutfy

    I’m trying to render an image over a video. I use the following command after some research

    ffmpeg -y  -i "my_video.mp4" -i "my_image.jpg" -filter_complex "color=color=blue:size=711x400:rate=25[container];[0:v]scale=w=400:h=400,setpts=expr=PTS-STARTPTS[vidscaled];[container][vidscaled]overlay=eval=init:shortest=1:x=155:y=0[overlay0];[1:v]scale=w=123:h=123,rotate=a=323.7*PI/180:c=black@0:oh='roth(323.7*PI/180)':ow='rotw(323.7*PI/180)':bilinear=1[imgproc];[overlay0][imgproc]overlay=eval=init:x=18:y='237-abs(123*sin(323.7*PI/180))'[overlay1]" -map "[overlay1]" -map 0:a -strict -2 -preset ultrafast -g 120 output.mp4

    The problem with this approach is a low image’s quality since scaling is applied before rotate. So i tried to apply the rotation before scaling, (see next command)

    ffmpeg -y  -i "my_video.mp4" -i "my_image.jpg" -filter_complex "color=color=blue:size=711x400:rate=25[container];[0:v]scale=w=400:h=400,setpts=expr=PTS-STARTPTS[vidscaled];[container][vidscaled]overlay=eval=init:shortest=1:x=155:y=0[overlay0];[1:v]rotate=a=323.7*PI/180:c=black@0:oh='roth(323.7*PI/180)':ow='rotw(323.7*PI/180)':bilinear=1,scale=w=173:h=173[imgproc];[overlay0][imgproc]overlay=eval=init:x=18:y='237-abs(123*sin(323.7*PI/180))'[overlay1]" -map "[overlay1]" -map 0:a -strict -2 -preset ultrafast -g 120 output.mp4

    And the problem : c=black@0 is not working anymore, the bounding box around the rotated image is not transparent.

    Anyone please help this soul.

    pd : Using c=none doesn’t work too, got a green background

  • Add text to video using FFMPEG(c# application)

    3 février 2020, par uzura

    Trying to add text to video using FFMPEG via c# script using the following command

    ffmpeg -i input.mp4 -vf drawtext="\text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: x=w-tw-10:y=h-th-10" -codec:a copy output.mp4

    This works when run it from cmd but when I implement it here :

       public void AddNewLabel(string label)
       {
           //string video = "input.mp4";
           string filter = "input.mp4 -vf drawtext=\"\text='sampletext': fontcolor=white: fontsize=24: box=1: boxcolor=black: x=w-tw-10:y=h-th-10\"";//problemm is this line

           string args = $"/c ffmpeg -i {filter} -codec:a copy output.mp4";

           ProcessStartInfo startInfo = new ProcessStartInfo
           {
               CreateNoWindow = false,
               FileName = "cmd.exe",
               WorkingDirectory = outputpath,
               Arguments = args
           };

           using (Process exeProcess = Process.Start(startInfo))
           {
               exeProcess.WaitForExit();
           }
       }

    The output is a 0kb mp4 file that cant be opened. When i remove everything after input.mp4 in filter, the output is fine. What could I be doing wrong ?