Recherche avancée

Médias (91)

Autres articles (65)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (8431)

  • FFMPEG : Fixing frame rate with filter_complex movie filter

    4 mai 2018, par stevendesu

    With some help from @Gyan I came up with the following FFMPEG command which streams 4 videos simultaneously to 4 separate RTMP endpoints, looping the videos infinitely and keeping the audio and video synchronized :

    ffmpeg \
       -filter_complex \
           "movie=01.mp4:loop=0[v1];[v1]setpts=N/FRAME_RATE/TB[v1];
            amovie=01.mp4:loop=0[a1];[a1]asetpts=N/SR/TB[a1];
            movie=02.mp4:loop=0[v2];[v2]setpts=N/FRAME_RATE/TB[v2];
            amovie=02.mp4:loop=0[a2];[a2]asetpts=N/SR/TB[a2];
            movie=03.mp4:loop=0[v3];[v3]setpts=N/FRAME_RATE/TB[v3];
            amovie=03.mp4:loop=0[a3];[a3]asetpts=N/SR/TB[a3];
            movie=04.mp4:loop=0[v4];[v4]setpts=N/FRAME_RATE/TB[v4];
            amovie=04.mp4:loop=0[a4];[a4]asetpts=N/SR/TB[a4]" \
       -map "[v1]" -map "[a1]" \
           -c:a libfdk_aac \
           -c:v libx264 -preset ultrafast \
           -b:v 500k -b:a 32k \
           -f flv rtmp://output/01 \
       -map "[v2]" -map "[a2]" \
           -c:a libfdk_aac \
           -c:v libx264 -preset ultrafast \
           -b:v 500k -b:a 32k \
           -f flv rtmp://output/02 \
       -map "[v3]" -map "[a3]" \
           -c:a libfdk_aac \
           -c:v libx264 -preset ultrafast \
           -b:v 500k -b:a 32k \
           -f flv rtmp://output/03 \
       -map "[v4]" -map "[a4]" \
           -c:a libfdk_aac \
           -c:v libx264 -preset ultrafast \
           -b:v 500k -b:a 32k \
           -f flv rtmp://output/04

    This is almost perfect, except that it’s doubling my frame rate :

    frame=20822 fps= 46 q=32.0 q=34.0 q=29.0 q=32.0 size=   57617kB time=00:14:28.39 bitrate= 543.5kbits/s speed=1.92x

    Note the speed=1.92x bit. This is causing the live stream to play at double speed, as well.

    (the original video was approximately 24 fps)

  • does movie filter in ffmpeg 4.3.1 support png format picture

    1er janvier 2021, par TONY

    I use ffmpeg's moive filter to add wartermark on my video.
The str is "const char *filter_descr = "movie=test.png:seek_point=3.2, scale=180 :-1, setpts=PTS-STARTPTS [over] ;[in] setpts=PTS-STARTPTS [main] ;[main][over] overlay=16:16 [out]" ;"
it shows that can't find codec, but if the wartermark picture is bmp ,then it's ok.
I found that the png code exists in ffmpeg, it should support png decoder.

    


  • ffmpeg is overlying images when making movie from png files of an evolving chart

    15 octobre 2020, par James Carroll

    I am trying to make a movie of a series of charts as they change through time. I have 30 or so still versions of the chart in .png format.

    


    But when I combine them into a movie, the charts are progressively overlaid on top of each other, rather than progressing through time.

    


    I have tried several variations including :

    


    ffmpeg -r 1 -f image2 -start_number 0 -i name%2d.png -q:v 5 movie.wmv


    


    and

    


    ffmpeg -r 1/5 -start_number 1 -i name%2d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4


    


    All do the same thing.

    


    Any idea why this is happening ?

    


    Update 1 :

    


    git repo of sample images and failed movie here : https://github.com/jlc42/MovieTest.git

    


    Update 2 :

    


    Just in case, I tried removing the alpha channel with the following command which I found in another thread Remove alpha channel in an image :

    


    for i in `ls *.png`; do convert $i -background black -alpha remove -alpha off $i; done


    


    because my background is white, I also tried :

    


    for i in `ls *.png`; do convert $i -background white -alpha remove -alpha off $i; done


    


    I THINK I have now successfully removed the alpha channel in the images, but this did not seem to make a difference for what ffmpeg is doing.