Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (100)

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

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

  • ffmpeg :How to make Text_1 ( bold ) and Text_2 ( Normal ) ?

    15 décembre 2016, par Bheem Swami
    ffmpeg -i raw_video.mp4 -i photo1.png -i photo2.png -filter_complex "[0:v]drawtext=fontfile=aller_Bd.ttf:text='Text_1':fontcolor=black@1.0:fontsize=18:x=20:y=259,drawtext=fontfile=aller_Rg.ttf:text='Text_2':fontcolor=black@1.0:fontsize=16:x=67:y=259[text];[text][1:v]overlay=215:0 [tmp]; [tmp] overlay=372:216" -codec:v libx264 -codec:a copy -y output_video.mp4

    Add 2 text : Text_1 and Text_2

    1. How to make Text_1 ( bold ) and Text_2 ( Normal )
    2. Text_1 is dynamic (not fix length) . How to start Text_2 after Text_1
  • lavf/apngenc : Do not print a warning in the normal use-case.

    8 avril 2015, par Carl Eugen Hoyos
    lavf/apngenc : Do not print a warning in the normal use-case.
    
    • [DH] libavformat/apngenc.c
  • Concatenate sped up videos and normal speed ones using ffmpeg

    5 juillet 2020, par FlucTuAte.

    I have a python script that uses ffmpeg to cut different sections of a video. There are ones that i want to keep as-is, and i use this ffmpeg command for that :

    


    os.system((
      "ffmpeg "
      "-loglevel error "
      "-nostats "
      "-hide_banner "
      f"-ss {start / fps} "
      f"-i \"{uncutVideo}\" "
      f"-t {(end - start) / fps} "
      "-c copy "
      "-avoid_negative_ts make_zero "
      f"tmp\\out{processedClips}.mp4"
))


    


    Start and end are frame numbers, that's why i divide by fps.
Then I have the parts where I want to speed up the video. I use this command for that :

    


    os.system((
    "ffmpeg "
    "-loglevel error "
    "-nostats "
    "-hide_banner "
    f"-ss {start / fps} "
    f"-i \"{uncutVideo}\" "
    f"-t {(end - start) / fps / cfg.speed} "
    f"-vf \"setpts=PTS/{cfg.speed}\" "
    "-avoid_negative_ts make_zero "
    "-an "
    f"tmp\\out{processedClips}.mp4"
))


    


    After these are done I want to concatenate them using the concat demuxer :

    


    os.system((
    "ffmpeg "
    "-loglevel error "
    "-nostats "
    "-f concat "
    "-safe 0 "
    "-i videoClips.txt "
    "-c copy "
    f"\"{cfg.saveDir}\\{srcFileName}-Cut.mp4\""
))


    


    This runs fine, but in the output file there is a long pause when the sped up part would start. The last frame of the normal speed part is shown but the timeline shows that the video is playing. After the sped up part would have ended it shows the next normal speed part properly. This is what I see in VLC at least. I've also tried MPC-BE and MPC-HC. They also mess up but instead the sped up part is displayed properly and they pause right after. These pauses seem to be as long as the sped up part would be.

    


    What could cause this ?

    


    Any help is appreciated.