Recherche avancée

Médias (91)

Autres articles (66)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5106)

  • Video with music taking long time

    1er octobre 2020, par Konduri Sai Aditya

    Hi I am rendering video with filters and adding audio at the end. But while running it is taking a long time and rendering continuously. Can anyone help me where I am wrong ? below is the command

    


     ffmpeg -i test.png -i test.mp4 -i test.mp3  -y -filter_complex "[1:v]scale=1422:800[scale1],[scale1]rotate=0:c=black@0:ow=rotw(0):oh=roth(0)[rotate0],[0:v][rotate0]overlay=258.04:107.71[mediaoverlayout0],color=black@0:451x137[c1],[c1]setsar=1,drawtext=fontfile='/Windows/fonts/Peddana-Regular.ttf':text='ADITYA':fontsize=121.199:fontcolor=#1e8bc3:line_spacing=16.91,rotate=0:ow=rotw(0):oh=roth(0):c=black@0[rottext1],[mediaoverlayout0][rottext1]overlay=x=544.63:y=263.076[out]" -vcodec libx264 -map "[out]" -map 2:a -preset veryfast -c:a copy -pix_fmt yuv420p op.mp4 


    


  • problem using ffmpeg drawtext for rtl languge

    9 janvier 2019, par Soroush Tayyebi

    i use this command to write on a video :

    ffmpeg -i source.mp4 -vf drawtext=\"text_shaping=1:fontfile=font.ttf:
       text='یه نوشته فارسی!': fontcolor=black: fontsize=$font_size: box=1: boxcolor=black@0:boxborderw=0: x=(w-text_w)/2: y=(h-text_h)/2 :enable='between(t,5,10)'\"  -c:a copy -force_key_frames 0:05:00,0:6:00 end.mp4

    it work fine when i don’t have numbers and symbols(!, ?,$ and ...) in first and end of my text.
    my lang is right to left and this commmand not support rtl.
    what i must do to solve this problem ?

  • ffmpeg output 0 second with wrong coordinates and hidden text

    18 juillet 2023, par Abdullah Mohamed

    I'm trying to add some Text and Images to the video

    


    Code

    


    -i 'input.MOV' -i 'image.jpg'         -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
          color=black[c];
          [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
          [c][v]scale2ref[t][v];
          [t]setsar=1,
          colorkey=black,
          split=2[t1][t2];
                  [t1]drawtext=
          text=Abdullah Muhammad T1
          :fontsize=40.0
          :box=1
          :boxborderw=20.0
          :boxcolor=#2196f3
          :fontcolor=#f44336,
          rotate=10.0*PI/180:
  
          c=black@0[rotate];
      [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
          
          
                  [t2]drawtext=
          text=Abdullah Muhammad T2
          :fontsize=40.0
          :box=1
          :boxborderw=20.0
          :boxcolor=#ffeb3b
          :fontcolor=#000000,
          rotate=10.0*PI/180:
  
          c=black@0[rotate];
      [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
          
          
                  [1:v]scale=w=360.0:h=360.0,
          rotate=-90.0*PI/180:
  ow=rotw(iw-50):oh=roth(ih-50):
          c=black@0[rotate];
      [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
          
          
                  [1:v]scale=w=360.0:h=360.0,
          rotate=30.0*PI/180:
  ow=rotw(iw-50):oh=roth(ih-50):
          c=black@0[rotate];
      [v][rotate]overlay=x=200.0:y=600.0:shortest=1
          
          
          " -c:a copy -preset ultrafast -y 'output.mp4'


    


    My Issues

    


      

    1. First image should be at 0,0 coordinates but it's not.
    2. 


    3. There should be 2 Texts but 1 of them is hidden and the other is not fully shown.
    4. 


    5. the video is 13 seconds and the output is only 0 second.
    6. 


    


    Expected

    


    


    Texts should be shown and images should be in the right position and video output should be 13 seconds.

    


    


    Actual
enter image description here

    


    Another issue

    


    


    If I trimmed the video the output will still be the same duration

    


    


    -i 'input_video.MOV' -ss 0:00:00.000000 -t 0:00:16.216000 -i 'input_image.jpg'         -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
          color=black[c];
          [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
          [c][v]scale2ref[t][v];
          [t]setsar=1,
          colorkey=black,
          split=2[t1][t2];
                  [t1]drawtext=
          text=Abdullah Muhammad T1
          :fontsize=40.0
          :box=1
          :boxborderw=20.0
          :boxcolor=#2196f3
          :fontcolor=#f44336,
          rotate=10.0*PI/180:
  
          c=black@0[rotate];
      [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
          
          
                  [t2]drawtext=
          text=Abdullah Muhammad T2
          :fontsize=40.0
          :box=1
          :boxborderw=20.0
          :boxcolor=#ffeb3b
          :fontcolor=#000000,
          rotate=10.0*PI/180:
  
          c=black@0[rotate];
      [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
          
          
                  [1:v]scale=w=360.0:h=360.0,
          rotate=-90.0*PI/180:
  ow=rotw(iw-50):oh=roth(ih-50):
          c=black@0[rotate];
      [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
          
          
                  [1:v]scale=w=360.0:h=360.0,
          rotate=30.0*PI/180:
  ow=rotw(iw-50):oh=roth(ih-50):
          c=black@0[rotate];
      [v][rotate]overlay=x=200.0:y=600.0:shortest=1
          
          
          " -c:a copy -preset ultrafast -y 'output.mp4'