Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (58)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

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

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

  • Moviepy replays audio at the end for half a second

    31 mai 2023, par Zac Jokface

    I used moviepy to add audio to a given video.
I started by checking the duration of the video. If it's shorter than the audio, I slow the video down using :

    


    video_clip = video_clip.fx( vfx.speedx, (video_clip.duration/audio_clip.duration))

    


    Then, I added the audio using :

    


    video_clip = video_clip.set_audio(audio_clip)

    


    I saved the result with

    


    video_clip.write_videofile(save_path, codec="libx264", audio_codec="aac", fps=24, audio_bitrate="64K", threads=32, ffmpeg_params=['-safe', '0'])

    


    Everything seems to be OK, except for the last half second of the resulting video, where the audio is replayed right before the end of the video.
I tried

    


    new_audio_clip = afx.audio_loop(audio_clip, duration=video_clip.duration)

    


    And added the new audio instead. But nothing changed.

    


  • Cut every .mp4 in folder by half with ffmpeg

    14 novembre 2022, par c00kieRaptor

    I have a folder with 200 mp4-files and I need to cut the last half of every one of them. So if a video is 140 seconds I need to cut out the last 70 seconds so that the resulting output is the preceding 70 seconds.

    


    I would assume the loop would look a bit like this :

    


    for i in *.mp4; do
    let A=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 $i)
    let A=${A%.*}
    let A=$A/2
    ffmpeg -sseof $A -i $i ${i%.mp4}
done


    


    But I get "syntax error : invalid arithmetic operator (error token is ".246848")" from the first 'let'. This corresponds to the float of the video duration.
For all I know there could be many other mistakes with my loop

    


    Also some files have spaces and special characters if that matters.

    


  • avutil : move half-precision float helper to avutil

    9 août 2022, par Timo Rothenpieler
    avutil : move half-precision float helper to avutil
    
    • [DH] libavcodec/exr.c
    • [DH] libavcodec/exrenc.c
    • [DH] libavcodec/float2half.h
    • [DH] libavcodec/half2float.h
    • [DH] libavcodec/pnmdec.c
    • [DH] libavcodec/pnmenc.c
    • [DH] libavutil/float2half.h
    • [DH] libavutil/half2float.h